完善门磁以及aq设备数据转发解析
This commit is contained in:
parent
b0d515ef17
commit
1c46db8faa
|
@ -344,8 +344,9 @@ func dealDatav3(data []byte) string{
|
||||||
|
|
||||||
}else if datatype==3{
|
}else if datatype==3{
|
||||||
var R_data P1004_6
|
var R_data P1004_6
|
||||||
R_data.CODE = 1010
|
R_data.CODE = 1005
|
||||||
R_data.ID = "853c0000"
|
R_data.ID = adr
|
||||||
|
// "853c0000"
|
||||||
//尿布台
|
//尿布台
|
||||||
R_data.VERSION = "yunhorn_door_c_v1"
|
R_data.VERSION = "yunhorn_door_c_v1"
|
||||||
R_data.ONLINE = true
|
R_data.ONLINE = true
|
||||||
|
@ -441,7 +442,8 @@ func dealDatav3(data []byte) string{
|
||||||
|
|
||||||
var R_data P1004_6
|
var R_data P1004_6
|
||||||
R_data.CODE = 1005
|
R_data.CODE = 1005
|
||||||
R_data.ID = "dc390000"
|
R_data.ID = adr
|
||||||
|
// "dc390000"
|
||||||
//尿布台
|
//尿布台
|
||||||
R_data.VERSION = "yunhorn_kq_c_v1"
|
R_data.VERSION = "yunhorn_kq_c_v1"
|
||||||
R_data.ONLINE = true
|
R_data.ONLINE = true
|
||||||
|
|
Loading…
Reference in New Issue