|
@@ -257,10 +257,13 @@ public class KprJiangjinWaterBizfun {
|
|
|
.findFirst(); // 找到第一个匹配的 key
|
|
|
if(foundKey.isPresent()) {
|
|
|
String deviceType = foundKey.get().split("_")[1];
|
|
|
+ //TODO 数据特殊处理
|
|
|
if(map.get("DEVICE_NAME").toString().contains("电量表")){
|
|
|
deviceType = "VoltageSwitchgear";
|
|
|
}else if(map.get("DEVICE_NAME").toString().contains("压力变送器")){
|
|
|
deviceType = "WaterMeter";
|
|
|
+ }else if(map.get("TAG_DESC").toString().contains("轴承温度")){
|
|
|
+ deviceType = "ElectricMotor";
|
|
|
}
|
|
|
//第三方对应的字段集
|
|
|
List<String> params = KprBaseInitFun.getInstance().jiangjinParams.get(deviceType);
|