This commit is contained in:
fish 2019-03-22 17:55:16 +08:00
parent c4334ef893
commit b5683de46b
1 changed files with 4 additions and 4 deletions

View File

@ -116,13 +116,13 @@ func yunhorn_ys_l_v1(data_buf []byte) {
}
send_data(1005, device)
var device2 Device
var device2 Device
device2.ID = "BDA9D650-5E4C-41A0-A78F-DA8A8D488E45"
device2.VERSION = "yunhorn_kgl_l_v1"
device2.ONLINE = demoDevice.ONLINE
device2.DATA["data"]=data_int[0]
send_data(1005, device2)
device2.DATA = make(map[string]interface{})
device2.DATA["data"] = data_int[0]
send_data(1005, device2)
}