联联平台 枪口信息添加 车位号字段

This commit is contained in:
Lemon
2023-08-09 11:49:18 +08:00
parent b8312c6f27
commit a1b6797de1
2 changed files with 6 additions and 1 deletions

View File

@@ -1591,6 +1591,10 @@ public class LianLianServiceImpl implements LianLianService {
int connectorType = StringUtils.equals("1", modelInfo.getSpeedType()) ? 4 : 3;
connectorInfo.setConnectorType(connectorType);
// 车位号
if (StringUtils.isNotBlank(pileConnectorInfo.getParkNo())) {
connectorInfo.setParkNo(pileConnectorInfo.getParkNo());
}
connectorInfo.setVoltageUpperLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
connectorInfo.setVoltageLowerLimits(Integer.valueOf(modelInfo.getRatedVoltage()));
connectorInfo.setCurrent(Integer.valueOf(modelInfo.getRatedCurrent()));