1、倾角的设备ID加_qj

This commit is contained in:
weidong 2025-08-15 11:23:22 +08:00
parent e14d2882fc
commit 209c992734

View File

@ -68,12 +68,12 @@ public class GXXfzForwarder extends Forwarder{
// 经纬度 // 经纬度
data.setDevLng(locationRecord.getR9250e()); data.setDevLng(locationRecord.getR9250e());
data.setDevLat(locationRecord.getR9250n()); data.setDevLat(locationRecord.getR9250n());
/*
//倾角 //倾角
XFZData.Data data2 = new XFZData.Data(); XFZData.Data data2 = new XFZData.Data();
dataList.add(data2); dataList.add(data2);
data2.setDataTime(locationRecord.getCreatetime().format(formatter)); data2.setDataTime(locationRecord.getCreatetime().format(formatter));
data2.setDevNum(locationRecord.getDeviceid()); data2.setDevNum(locationRecord.getDeviceid()+"_qj");
data2.setDevtype("InclinoMeter"); data2.setDevtype("InclinoMeter");
// 角度 // 角度
data2.setX(NumberUtils.scale(locationRecord.getAuxe(), 3)); data2.setX(NumberUtils.scale(locationRecord.getAuxe(), 3));
@ -82,7 +82,7 @@ public class GXXfzForwarder extends Forwarder{
// 经纬度 // 经纬度
data2.setDevLng(locationRecord.getR9250e()); data2.setDevLng(locationRecord.getR9250e());
data2.setDevLat(locationRecord.getR9250n()); data2.setDevLat(locationRecord.getR9250n());
*/
// 发送 // 发送
batchNum++; batchNum++;