mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 充电状态转换
This commit is contained in:
@@ -442,7 +442,8 @@ public class CommonService {
|
||||
dto.setPlatformType(thirdPartySecretInfoVO.getPlatformType());
|
||||
|
||||
if(thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode())||
|
||||
thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.JI_LIN_PLATFORM.getTypeCode())
|
||||
thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.JI_LIN_PLATFORM.getTypeCode())||
|
||||
thirdPartySecretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.XIN_DIAN_TU.getTypeCode())
|
||||
){
|
||||
//专门处理常畅充平台转换枪口状态
|
||||
if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.FREE.getValue())) {
|
||||
|
||||
@@ -298,9 +298,6 @@ public class XinDiantuPlatfromServiceImpl implements ThirdPartyPlatformService {
|
||||
String dataSecretIv = thirdPartySecretInfoVO.getTheirDataSecretIv();
|
||||
String urlAddress = thirdPartySecretInfoVO.getTheirUrlPrefix();
|
||||
|
||||
if(Objects.equals(status , PileConnectorDataBaseStatusEnum.OFF_NETWORK.getValue())){
|
||||
status =PileConnectorDataBaseStatusEnum.FAULT.getValue() ; // 离网改成255故障
|
||||
}
|
||||
|
||||
String url = urlAddress + BusinessInformationExchangeEnum.NOTIFICATION_STATION_STATUS.getValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user