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:
40
jsowell-pile/src/main/java/com/jsowell/pile/thirdparty/ZDLConnectorInfo.java
vendored
Normal file
40
jsowell-pile/src/main/java/com/jsowell/pile/thirdparty/ZDLConnectorInfo.java
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
package com.jsowell.pile.thirdparty;
|
||||
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2023/9/7 14:03
|
||||
*/
|
||||
@Data
|
||||
public class ZDLConnectorInfo {
|
||||
@JSONField(name = "ConnectorID")
|
||||
private String connectorId;
|
||||
|
||||
@JSONField(name = "ConnectorType")
|
||||
private Integer connectorType;
|
||||
|
||||
@JSONField(name = "VoltageUpperLimits")
|
||||
private Integer voltageUpperLimits;
|
||||
|
||||
@JSONField(name = "VoltageLowerLimits")
|
||||
private Integer voltageLowerLimits;
|
||||
|
||||
@JSONField(name = "Current")
|
||||
private Integer current;
|
||||
|
||||
@JSONField(name = "ParkNo")
|
||||
private String parkNo;
|
||||
|
||||
@JSONField(name = "Power")
|
||||
private BigDecimal power;
|
||||
|
||||
@JSONField(name = "NationalStandard")
|
||||
private Integer nationalStandard;
|
||||
|
||||
}
|
||||
28
jsowell-pile/src/main/java/com/jsowell/pile/thirdparty/ZDLEquipmentInfo.java
vendored
Normal file
28
jsowell-pile/src/main/java/com/jsowell/pile/thirdparty/ZDLEquipmentInfo.java
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.jsowell.pile.thirdparty;
|
||||
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 设备基本信息
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2023/9/5 15:16
|
||||
*/
|
||||
@Data
|
||||
public class ZDLEquipmentInfo {
|
||||
@JSONField(name = "EquipmentID")
|
||||
private String equipmentId;
|
||||
|
||||
@JSONField(name = "EquipmentType")
|
||||
private Integer equipmentType;
|
||||
|
||||
@JSONField(name = "Power")
|
||||
private BigDecimal power;
|
||||
|
||||
@JSONField(name = "ConnectorInfos")
|
||||
private List<ZDLConnectorInfo> connectorInfos;
|
||||
}
|
||||
73
jsowell-pile/src/main/java/com/jsowell/pile/thirdparty/ZDLStationInfo.java
vendored
Normal file
73
jsowell-pile/src/main/java/com/jsowell/pile/thirdparty/ZDLStationInfo.java
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
package com.jsowell.pile.thirdparty;
|
||||
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 站点基本信息
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2023/9/5 14:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class ZDLStationInfo {
|
||||
@JSONField(name = "StationID")
|
||||
private String stationId;
|
||||
|
||||
@JSONField(name = "OperatorID")
|
||||
private String operatorId;
|
||||
|
||||
@JSONField(name = "EquipmentOwnerID")
|
||||
private String equipmentOwnerId;
|
||||
|
||||
@JSONField(name = "StationName")
|
||||
private String stationName;
|
||||
|
||||
@JSONField(name = "CountryCode")
|
||||
private String countryCode;
|
||||
|
||||
@JSONField(name = "AreaCode")
|
||||
private String areaCode;
|
||||
|
||||
@JSONField(name = "Address")
|
||||
private String address;
|
||||
|
||||
@JSONField(name = "ServiceTel")
|
||||
private String serviceTel;
|
||||
|
||||
@JSONField(name = "StationType")
|
||||
private Integer stationType;
|
||||
|
||||
@JSONField(name = "StationStatus")
|
||||
private Integer stationStatus;
|
||||
|
||||
@JSONField(name = "ParkNums")
|
||||
private Integer parkNums;
|
||||
|
||||
@JSONField(name = "StationLng")
|
||||
private BigDecimal stationLng;
|
||||
|
||||
@JSONField(name = "StationLat")
|
||||
private BigDecimal stationLat;
|
||||
|
||||
@JSONField(name = "Construction")
|
||||
private Integer construction;
|
||||
|
||||
@JSONField(name = "ParkFee")
|
||||
private String parkFee;
|
||||
|
||||
@JSONField(name = "Pictures")
|
||||
private List<String> pictures;
|
||||
|
||||
@JSONField(name = "EquipmentInfos")
|
||||
private List<ZDLEquipmentInfo> equipmentInfos;
|
||||
}
|
||||
Reference in New Issue
Block a user