删除测试数据
This commit is contained in:
parent
bba19a1e4e
commit
7de07f6feb
|
@ -81,9 +81,9 @@ func yunhorn_ys_l_v1(data_buf []byte) {
|
|||
device.VERSION = demoDevice.VERSION
|
||||
device.ONLINE = demoDevice.ONLINE
|
||||
|
||||
demoDevice.DATA["data"+strconv.Itoa(1)] = rand.Intn(2)
|
||||
demoDevice.DATA["data"+strconv.Itoa(2)] = rand.Intn(2)
|
||||
demoDevice.DATA["data"+strconv.Itoa(3)] = rand.Intn(2)
|
||||
demoDevice.DATA["data"+strconv.Itoa(1)] = 0
|
||||
demoDevice.DATA["data"+strconv.Itoa(2)] = 0
|
||||
demoDevice.DATA["data"+strconv.Itoa(3)] = 0
|
||||
|
||||
//485
|
||||
if data_type[0] == 2 {
|
||||
|
|
Loading…
Reference in New Issue