删除测试数据

This commit is contained in:
fish 2019-03-22 15:42:03 +08:00
parent bba19a1e4e
commit 7de07f6feb
1 changed files with 3 additions and 3 deletions

View File

@ -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 {