mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-11 09:38:05 +08:00
update
This commit is contained in:
@@ -441,14 +441,19 @@ public class CommonService {
|
|||||||
dto.setPileConnectorCode(pileConnectorCode);
|
dto.setPileConnectorCode(pileConnectorCode);
|
||||||
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
|
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
|
||||||
|
|
||||||
if(thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode())
|
if(thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode())){
|
||||||
){
|
//专门处理常畅充平台转换枪口状态
|
||||||
//无须转换枪口状态
|
if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.FREE.getValue())) {
|
||||||
dto.setStatus(connectorStatus);
|
if(StringUtils.equals(realTimeMonitorData.getPutGunType(), "01")){
|
||||||
// log.info("枪口状态"+connectorStatus);
|
//空闲
|
||||||
|
dto.setStatus(Constants.TWO);
|
||||||
|
}else{
|
||||||
|
//占用(未充电)
|
||||||
|
dto.setStatus(Constants.ONE);
|
||||||
|
}
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
dto.setStatus(changedStatus);
|
dto.setStatus(changedStatus);
|
||||||
// log.info("转换的枪口状态"+changedStatus);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 先推送站点状态
|
// 先推送站点状态
|
||||||
|
|||||||
Reference in New Issue
Block a user