fix: 控制开关,去掉三相电计算逻辑。
This commit is contained in:
@@ -367,10 +367,10 @@ public class DeviceSwitchServiceImpl implements IDeviceSwitchService {
|
||||
data.setPondInfo(pondInfo);
|
||||
}
|
||||
|
||||
// 如果接线方式为4,需要将电压值乘以1.732
|
||||
if (data.getConnectVoltageType() != null && data.getConnectVoltageType() == 4 && data.getDetectVoltageValue() != null) {
|
||||
data.setDetectVoltageValue(data.getDetectVoltageValue() * 1.732);
|
||||
}
|
||||
// // 如果接线方式为4,需要将电压值乘以1.732
|
||||
// if (data.getConnectVoltageType() != null && data.getConnectVoltageType() == 4 && data.getDetectVoltageValue() != null) {
|
||||
// data.setDetectVoltageValue(data.getDetectVoltageValue() * 1.732);
|
||||
// }
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user