|
|
|
|
@ -348,6 +348,7 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
case "循环泵": |
|
|
|
|
return createCircuitPumpControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
case "供水泵": |
|
|
|
|
case "供回水设置": |
|
|
|
|
return createSupplyPumpControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
case "回水泵": |
|
|
|
|
return createBackPumpControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
@ -355,9 +356,12 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
case "多箱电动阀": |
|
|
|
|
return createElectricValveControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
case "单箱电磁阀": |
|
|
|
|
case "单箱设置": |
|
|
|
|
case "多箱设置": |
|
|
|
|
case "多箱电磁阀": |
|
|
|
|
return createSolenoidValveControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
case "补水电磁阀": |
|
|
|
|
case "补水设置": |
|
|
|
|
return createHydrateSolenoidValveControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
case "设备校准": |
|
|
|
|
return createDeviceCalibrationControlVO(dlEntry, dlItems, parentDto); |
|
|
|
|
@ -429,7 +433,7 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
case "26": |
|
|
|
|
// 液位上限
|
|
|
|
|
// 判断是否是单箱或者多箱
|
|
|
|
|
if (parentDto.getName().contains("单箱")) { |
|
|
|
|
if (item.getOtherName().contains("单箱")) { |
|
|
|
|
circuitPumpVo.setSetSingleUpperLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetSingleUpperLimitId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
@ -439,7 +443,7 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
break; |
|
|
|
|
case "27": |
|
|
|
|
// 液位下限
|
|
|
|
|
if (parentDto.getName().contains("单箱")) { |
|
|
|
|
if (item.getOtherName().contains("单箱")) { |
|
|
|
|
circuitPumpVo.setSetSingleLowerLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetSingleLowerLimitId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
@ -449,7 +453,7 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
break; |
|
|
|
|
case "39": |
|
|
|
|
// 液位设置
|
|
|
|
|
if (parentDto.getName().contains("单箱")) { |
|
|
|
|
if (item.getOtherName().contains("单箱")) { |
|
|
|
|
circuitPumpVo.setSetSingleLevel(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetSingleLevelId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
@ -551,14 +555,43 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
circuitPumpVo.setManualAutoSwitchId(item.getCpmId()); |
|
|
|
|
break; |
|
|
|
|
case "26": |
|
|
|
|
// 温度上限
|
|
|
|
|
circuitPumpVo.setSetUpperLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetUpperLimitId(item.getCpmId()); |
|
|
|
|
// 液位上限
|
|
|
|
|
// 判断是否是单箱或者多箱
|
|
|
|
|
if (item.getOtherName().contains("单箱")) { |
|
|
|
|
circuitPumpVo.setSetSingleUpperLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetSingleUpperLimitId(item.getCpmId()); |
|
|
|
|
} else if (item.getOtherName().contains("温度")) { |
|
|
|
|
// 温度上限
|
|
|
|
|
circuitPumpVo.setSetUpperLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetUpperLimitId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
circuitPumpVo.setSetMultiUpperLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetMultiUpperLimitId(item.getCpmId()); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "27": |
|
|
|
|
// 温度下限
|
|
|
|
|
circuitPumpVo.setSetLowerLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetLowerLimitId(item.getCpmId()); |
|
|
|
|
// 液位下限
|
|
|
|
|
if (item.getOtherName().contains("单箱")) { |
|
|
|
|
circuitPumpVo.setSetSingleLowerLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetSingleLowerLimitId(item.getCpmId()); |
|
|
|
|
} else if (item.getOtherName().contains("温度")) { |
|
|
|
|
// 温度下限
|
|
|
|
|
circuitPumpVo.setSetLowerLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetLowerLimitId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
circuitPumpVo.setSetMultiLowerLimit(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetMultiLowerLimitId(item.getCpmId()); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "39": |
|
|
|
|
// 液位设置
|
|
|
|
|
if (item.getOtherName().contains("单箱")) { |
|
|
|
|
circuitPumpVo.setSetSingleLevel(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetSingleLevelId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
circuitPumpVo.setSetMultiLevel(item.getCurValue()); |
|
|
|
|
circuitPumpVo.setSetMultiLevelId(item.getCpmId()); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "41": |
|
|
|
|
// 控制模式
|
|
|
|
|
@ -810,6 +843,11 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
supplyPumpVo.setReducePumpErrorSetId(item.getCpmId()); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "41": |
|
|
|
|
// 控制模式
|
|
|
|
|
supplyPumpVo.setControlMode(item.getCurValue().intValue()); |
|
|
|
|
supplyPumpVo.setControlModeId(item.getCpmId()); |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
@ -905,9 +943,14 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
vo.setTimeSetId(item.getCpmId()); |
|
|
|
|
break; |
|
|
|
|
case "22": |
|
|
|
|
// 校时手自动切换
|
|
|
|
|
vo.setTimeSetAuto(item.getCurValue().intValue()); |
|
|
|
|
vo.setTimeSetAutoId(item.getCpmId()); |
|
|
|
|
if (item.getOtherName().contains("温控")) { |
|
|
|
|
vo.setControlMode(item.getCurValue().intValue()); |
|
|
|
|
vo.setControlModeId(item.getCpmId()); |
|
|
|
|
} else { |
|
|
|
|
// 校时手自动切换
|
|
|
|
|
vo.setTimeSetAuto(item.getCurValue().intValue()); |
|
|
|
|
vo.setTimeSetAutoId(item.getCpmId()); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "5": |
|
|
|
|
// 压力
|
|
|
|
|
@ -916,7 +959,7 @@ public class CollectionParamsManageServiceImpl implements CollectionParamsManage
|
|
|
|
|
break; |
|
|
|
|
case "32": |
|
|
|
|
// 压力设置
|
|
|
|
|
vo.setPressureSet(item.getCurValue().intValue()); |
|
|
|
|
vo.setPressureSet(item.getCurValue()); |
|
|
|
|
vo.setPressureSetId(item.getCpmId()); |
|
|
|
|
break; |
|
|
|
|
case "6": |
|
|
|
|
|