添加女厕随机数据

This commit is contained in:
fish 2019-03-20 11:03:25 +08:00
parent d4a24b9112
commit b06a2aa937
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -41,6 +41,11 @@ func yunhorn_ys_l_v1(data_buf []byte){
device.ID=demoDevice.ID
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(7)]=data_int[0]
demoDevice.DATA["data"+strconv.Itoa(8)]=rand.Intn(2)
device.DATA=demoDevice.DATA