mqtt数据解析说cid为空无法正常解析值,请问cid应该填什么
-
{"time":"2024-11-06T12:18:48.9603372+08:00","level":"DEBUG","msg":"接收payload","logType":"syslog","service":"default-67297d5b59d46a87fe911647-driver-mqtt-client","module":"报文接收","projectId":"default","table":"Table_恒温恒湿箱","group":"67297d5b59d46a87fe911647","data":"{"id":"26","values":{"运行状态显示":16,"控制湿度显示":27,"实测湿度显示":4,"PLC复位命令":31,"设定温度":26,"设定湿度":15,"设定气压":29,"实测温度":2,"实测湿度":26,"实测气压":21,"运行开关状态":27,"运行程序号":1,"故障代码":13},"time":1730860537971}"}
2024/11/06 12:18:48 {"id":"26","values":{"运行状态显示":16,"控制湿度显示":27,"实测湿度显示":4,"PLC复位命令":31,"设定温度":26,"设定湿度":15,"设定气压":29,"实测温度":2,"实测湿度":26,"实测气压":21,"运行开关状态":27,"运行程序号":1,"故障代码":13},"time":1730860537971}
{"time":"2024-11-06T12:18:48.9613358+08:00","level":"DEBUG","msg":"报文解析: 解析脚本处理结果, cid 字段为空, result: &{26 1730860537971 map[PLC复位命令:31 实测气压:21 实测温度:2 实测湿度:26 实测湿度显示:4 控制湿度显示:27 故障代码:13 设定气压:29 设定温度:26 设定湿度:15 运行开关状态:27 运行状态显示:16 运行程序号:1]}","logType":"syslog","service":"default-67297d5b59d46a87fe911647-driver-mqtt-client","module":"驱动调试","projectId":"default","table":"Table_恒温恒湿箱","group":"67297d5b59d46a87fe911647"}
{"time":"2024-11-06T12:18:48.9613358+08:00","level":"DEBUG","msg":"存数据点: 表=Table_恒温恒湿箱,设备=26,数据={"id":"26","cid":"","source":"device","fields":{"PLC复位命令":0,"实测气压":0,"实测温度":2,"实测湿度":0,"实测湿度显示":0,"控制湿度显示":0,"故障代码":0,"设定气压":0,"设定温度":0,"设定湿度":0,"运行开关状态":0,"运行状态显示":0,"运行程序号":0},"time":1730860537971,"fieldTypes":{}}. 保存数据成功","logType":"syslog","service":"default-67297d5b59d46a87fe911647-driver-mqtt-client","module":"驱动调试","projectId":"default","table":"Table_恒温恒湿箱","group":"67297d5b59d46a87fe911647"}