|
|
|
@ -142,8 +142,8 @@ type DeviceStatus struct {
|
|
|
|
// 实时监控数据
|
|
|
|
// 实时监控数据
|
|
|
|
func getDeviceStatus2(rpc towgo.JsonRpcConnection) {
|
|
|
|
func getDeviceStatus2(rpc towgo.JsonRpcConnection) {
|
|
|
|
// 临时演示模式:原串口读取实现已保留在 getDeviceStatus2Real。
|
|
|
|
// 临时演示模式:原串口读取实现已保留在 getDeviceStatus2Real。
|
|
|
|
getDeviceStatus2Real(rpc)
|
|
|
|
//getDeviceStatus2Real(rpc)
|
|
|
|
//rpc.WriteResult(buildDemoDeviceStatus2())
|
|
|
|
rpc.WriteResult(buildDemoDeviceStatus2())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func getDeviceStatus2Real(rpc towgo.JsonRpcConnection) {
|
|
|
|
func getDeviceStatus2Real(rpc towgo.JsonRpcConnection) {
|
|
|
|
|