mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
深圳平台新增 查询令牌、推送站点信息接口
This commit is contained in:
@@ -1049,7 +1049,10 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService {
|
||||
equipmentInfo.setEquipmentPower(new BigDecimal(modelInfo.getRatedPower()).setScale(1, BigDecimal.ROUND_HALF_UP));
|
||||
equipmentInfo.setNewNationalStandard(1);
|
||||
equipmentInfo.setVinFlag(1);
|
||||
equipmentInfo.setEquipmentName(pileSn);
|
||||
equipmentInfo.setPower(new BigDecimal(modelInfo.getRatedPower()).setScale(1, BigDecimal.ROUND_HALF_UP));
|
||||
|
||||
// 枪口列表
|
||||
List<ConnectorInfo> connectorList = getConnectorListForLianLian(pileSn);
|
||||
equipmentInfo.setConnectorInfos(connectorList);
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@ public class ConnectorInfo {
|
||||
/**
|
||||
* 充电设备接口名称 N
|
||||
*/
|
||||
// private String ConnectorName;
|
||||
@JSONField(name = "ConnectorName")
|
||||
private String connectorName;
|
||||
|
||||
/**
|
||||
* 充电设备接口类型 Y
|
||||
|
||||
@@ -34,12 +34,14 @@ public class EquipmentInfo {
|
||||
* 设备型号 N
|
||||
* 由设备生厂商定义的设备型号
|
||||
*/
|
||||
// private String EquipmentModel;
|
||||
@JSONField(name = "EquipmentModel")
|
||||
private String equipmentModel;
|
||||
|
||||
/**
|
||||
* 设备名称 N
|
||||
*/
|
||||
// private String EquipmentName;
|
||||
@JSONField(name = "EquipmentName")
|
||||
private String equipmentName;
|
||||
|
||||
/**
|
||||
* 设备生产日期 N
|
||||
@@ -109,4 +111,10 @@ public class EquipmentInfo {
|
||||
@JSONField(name = "VinFlag")
|
||||
private Integer vinFlag;
|
||||
|
||||
/**
|
||||
* 设备总功率
|
||||
*/
|
||||
@JSONField(name = "Power")
|
||||
private BigDecimal power;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user