mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 19:29:52 +08:00
update
This commit is contained in:
@@ -184,7 +184,7 @@ public class BaseStationInfo {
|
|||||||
* <=100字符
|
* <=100字符
|
||||||
*/
|
*/
|
||||||
@JSONField(name = "MatchCars")
|
@JSONField(name = "MatchCars")
|
||||||
private String matchCars;
|
private List<String> matchCars;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 服务车型描述
|
* 服务车型描述
|
||||||
|
|||||||
@@ -841,8 +841,11 @@ public class CommonService {
|
|||||||
} else if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.FAULT.getValue())) {
|
} else if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.FAULT.getValue())) {
|
||||||
// 故障
|
// 故障
|
||||||
return "255";
|
return "255";
|
||||||
|
}else if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.OCCUPIED_CHARGING.getValue())) {
|
||||||
|
// 充电中需要把 03 改为 3 返回
|
||||||
|
return Constants.THREE;
|
||||||
}else {
|
}else {
|
||||||
// 0-离网和 3-充电中不需要转换,直接返回
|
// 0-离网不需要转换,直接返回
|
||||||
return connectorStatus;
|
return connectorStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -546,7 +546,7 @@ public class NeiMengGuPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
.connectorID(pileConnectorCode)
|
.connectorID(pileConnectorCode)
|
||||||
.equipmentClassification(Constants.ONE)
|
.equipmentClassification(Constants.ONE)
|
||||||
.status(Integer.parseInt(status))
|
.status(Integer.parseInt(status))
|
||||||
.statusDesc(PileConnectorDataBaseStatusEnum.getStatusDescription(status))
|
// .statusDesc(PileConnectorDataBaseStatusEnum.getStatusDescription(status))
|
||||||
.parkStatus(Constants.zero)
|
.parkStatus(Constants.zero)
|
||||||
.lockStatus(Constants.zero)
|
.lockStatus(Constants.zero)
|
||||||
.batteryStatus(Constants.ZERO)
|
.batteryStatus(Constants.ZERO)
|
||||||
|
|||||||
Reference in New Issue
Block a user