1、修改金马推送
This commit is contained in:
parent
b55d396294
commit
34b4cfb1e9
@ -9,7 +9,7 @@ import lombok.Data;
|
||||
@Data
|
||||
public class KingMaData {
|
||||
String dataTime;
|
||||
String deviceId;
|
||||
String pointId;
|
||||
Integer flag;
|
||||
String projectId;
|
||||
|
||||
|
||||
@ -104,7 +104,7 @@ public class KingMaForwarder extends Forwarder{
|
||||
KingMaData data = new KingMaData();
|
||||
data.setDataTime(locationRecord.getCreatetime().toString());
|
||||
data.setProjectId(projectId);
|
||||
data.setDeviceId(locationRecord.getDeviceid());
|
||||
data.setPointId(locationRecord.getDeviceid());
|
||||
data.setFlag(1);
|
||||
data.setPhys(new KingMaData.Phys(locationRecord.getRb562e(),locationRecord.getRb562n(),locationRecord.getRb562d()));
|
||||
dataList.add(data);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user