1、修改mqtt的bug
This commit is contained in:
parent
6961ad49ea
commit
4d03fc11c7
@ -73,6 +73,8 @@ public class GZYMQTTForwarder extends Forwarder {
|
||||
tranData.setX(n);
|
||||
tranData.setY(e);
|
||||
tranData.setZ(d);
|
||||
tranData.setDeviceType(2);
|
||||
tranData.setDeviceSn(locationRecord.getDeviceid());
|
||||
String json = GsonUtil.toJson(tranData);
|
||||
String msg = "JGKJ" + json + "#!";
|
||||
logger.info("forward to GZY mqtt");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user