This commit is contained in:
Lemon
2025-04-25 14:31:55 +08:00
parent f8743bb430
commit e63aa7115f
3 changed files with 6 additions and 3 deletions

View File

@@ -841,8 +841,11 @@ public class CommonService {
} else if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.FAULT.getValue())) {
// 故障
return "255";
}else if (StringUtils.equals(connectorStatus, PileConnectorStatusEnum.OCCUPIED_CHARGING.getValue())) {
// 充电中需要把 03 改为 3 返回
return Constants.THREE;
}else {
// 0-离网和 3-充电中不需要转换,直接返回
// 0-离网不需要转换,直接返回
return connectorStatus;
}
}