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;
|
}
|
}
|