This commit is contained in:
Lemon
2023-10-25 15:15:45 +08:00
parent 26b3b6d9e5
commit a652456839
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -329,6 +329,7 @@ public class ZDLServiceImpl implements ZDLService {
connectorInfo.setVoltageUpperLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
connectorInfo.setVoltageLowerLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
connectorInfo.setCurrent(Integer.valueOf(modelInfo.getRatedCurrent()));
connectorInfo.setNationalStandard(2);
if (!StringUtils.equals(modelInfo.getConnectorNum(), "1")) {
// 如果不是单枪,则枪口功率需要除以枪口数量
String ratedPowerStr = modelInfo.getRatedPower();