2021与蓝度共同重构项目,服务端
liuhaonan
2022-02-11 83326b4b2a8a10d11ae18dcedd2e6904dd69d2b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.sandu.ximon.admin.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * @program: machine-fast
 * @description: led服務器地址
 * @author: YSS
 * @create: 2019-04-24 13:24
 **/
@Component
@ConfigurationProperties(prefix = "realtime-server")
public class RealtimeServerBean {
 
    private String command;
 
    private String url;
 
    public void setCommand(String command) {
        this.command = command;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public String getCommand() {
        return command;
    }
 
    public String getUrl() {
        return url;
    }
}