mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 对接内蒙古平台
This commit is contained in:
@@ -81,7 +81,7 @@ public class SupConnectorStatusInfo {
|
||||
* 描述: 0:未知10:已解锁50:已上锁
|
||||
*/
|
||||
@JSONField(name = "LockStatus")
|
||||
private String lockStatus;
|
||||
private String lockStatus = "0";
|
||||
|
||||
/**
|
||||
* 名称: 电池状态
|
||||
@@ -101,6 +101,6 @@ public class SupConnectorStatusInfo {
|
||||
* 名称: 设备状态最后一次更新时间
|
||||
* 描述: 最近一次状态变化的时间,格式“yyyy-MM-ddHH:mm:ss”
|
||||
*/
|
||||
@JSONField(name = "BatteryPackID")
|
||||
@JSONField(name = "LastChangeTime")
|
||||
private String lastChangeTime;
|
||||
}
|
||||
|
||||
@@ -404,6 +404,10 @@ public class NeiMengGuPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
String urlAddress = secretInfoVO.getTheirUrlPrefix();
|
||||
|
||||
String url = urlAddress + "supervise_notification_station_status";
|
||||
|
||||
// 查询充电枪口状态
|
||||
|
||||
|
||||
SupConnectorStatusInfo info = SupConnectorStatusInfo.builder()
|
||||
.connectorID(pileConnectorCode)
|
||||
.status(Integer.parseInt(status))
|
||||
|
||||
Reference in New Issue
Block a user