This commit is contained in:
Lemon
2024-01-26 16:39:46 +08:00
parent ca036b0646
commit 49e725983e
10 changed files with 454 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ import java.math.BigDecimal;
* @Date 2024/1/23 14:34:58
*/
@Data
public class QueryStartChargeDTO {
public class HWQueryStartChargeDTO {
/**
* 充电订单号 Y
* 格式运营商ID+唯一编号(<=27字符)
@@ -61,4 +61,7 @@ public class QueryStartChargeDTO {
*/
@JsonProperty(value = "SOCLimit")
private BigDecimal socLimit;
private String operatorId;
}

View File

@@ -0,0 +1,50 @@
package com.jsowell.pile.dto.huawei;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
* 接收启动充电结果DTO
*
* @author Lemon
* @Date 2024/1/26 14:23:23
*/
@Data
public class ReceiveStartChargeResultDTO {
/**
* 充电订单号
*/
@JsonProperty(value = "StartChargeSeq")
private String startChargeSeq;
/**
* 充电订单状态
*/
@JsonProperty(value = "StartChargeSeqStat")
private Integer startChargeSeqStat;
/**
* 充电设备接口编码
*/
@JsonProperty(value = "ConnectorID")
private String connectorID;
/**
* 充电启动时间
*/
@JsonProperty(value = "StartTime")
private String startTime;
/**
* 停止充电验证码
*/
@JsonProperty(value = "IdentCode")
private String identCode;
/**
* 启动失败原因
*/
@JsonProperty(value = "FailReason")
private Integer failReason;
}

View File

@@ -10,7 +10,7 @@ import lombok.Data;
* @Date 2024/1/23 15:32:25
*/
@Data
public class requestEquipBusinessPolicyDTO {
public class RequestEquipBusinessPolicyDTO {
/**
* 业务策略查询流水号
*/

View File

@@ -0,0 +1,173 @@
package com.jsowell.pile.vo.huawei;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;
/**
* TODO
*
* @author Lemon
* @Date 2024/1/26 16:29:29
*/
@Data
public class QueryChargeStatusVO {
/**
*
*/
@JsonProperty(value = "StartChargeSeq")
private String startChargeSeq;
/**
*
*/
@JsonProperty(value = "StartChargeSeqStat")
private String startChargeSeqStat;
/**
*
*/
@JsonProperty(value = "ConnectorID")
private String connectorID;
/**
*
*/
@JsonProperty(value = "ConnectorStatus")
private String connectorStatus;
/**
*
*/
@JsonProperty(value = "CurrentA")
private String currentA;
/**
*
*/
@JsonProperty(value = "CurrentB")
private String currentB;
/**
*
*/
@JsonProperty(value = "CurrentC")
private String currentC;
/**
*
*/
@JsonProperty(value = "VoltageA")
private String voltageA;
/**
*
*/
@JsonProperty(value = "VoltageB")
private String voltageB;
/**
*
*/
@JsonProperty(value = "VoltageC")
private String voltageC;
/**
*
*/
@JsonProperty(value = "Soc")
private String soc;
/**
*
*/
@JsonProperty(value = "StartTime")
private String startTime;
/**
*
*/
@JsonProperty(value = "EndTime")
private String endTime;
/**
*
*/
@JsonProperty(value = "TotalPower")
private String totalPower;
/**
*
*/
@JsonProperty(value = "ElecMoney")
private String elecMoney;
/**
*
*/
@JsonProperty(value = "SeviceMoney")
private String seviceMoney;
/**
*
*/
@JsonProperty(value = "TotalMoney")
private String totalMoney;
/**
*
*/
@JsonProperty(value = "SumPeriod")
private String sumPeriod;
/**
*
*/
@JsonProperty(value = "ChargeDetails")
private List<ChargeDetail> chargeDetails;
@Data
public static class ChargeDetail{
/**
*
*/
@JsonProperty(value = "DetailStartTime")
private String detailStartTime;
/**
*
*/
@JsonProperty(value = "DetailEndTime")
private String detailEndTime;
/**
*
*/
@JsonProperty(value = "ElecPrice")
private String elecPrice;
/**
*
*/
@JsonProperty(value = "SevicePrice")
private String sevicePrice;
/**
*
*/
@JsonProperty(value = "DetailPower")
private String detailPower;
/**
*
*/
@JsonProperty(value = "DetailElecMoney")
private String detailElecMoney;
@JsonProperty(value = "DetailSeviceMoney")
private String detailSeviceMoney;
}
}