添加女厕随机数据
This commit is contained in:
parent
d4a24b9112
commit
b06a2aa937
BIN
db/gateway.db
BIN
db/gateway.db
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue