mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 华为 请求启动充电接口
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
package com.jsowell.pile.dto.huawei;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 华为请求启动充电DTO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/1/23 14:34:58
|
||||
*/
|
||||
@Data
|
||||
public class QueryStartChargeDTO {
|
||||
/**
|
||||
* 充电订单号 Y
|
||||
* 格式“运营商ID+唯一编号”(<=27字符)。
|
||||
*/
|
||||
@JsonProperty(value = "StartChargeSeq")
|
||||
private String startChargeSeq;
|
||||
|
||||
/**
|
||||
* 充电设备接口编码 Y
|
||||
*/
|
||||
@JsonProperty(value = "ConnectorID")
|
||||
private String connectorID;
|
||||
|
||||
/**
|
||||
* 二维码其他信息
|
||||
*/
|
||||
@JsonProperty(value = "QRCode")
|
||||
private String qrCode;
|
||||
|
||||
/**
|
||||
* 启动方式
|
||||
*
|
||||
* 0:扫码启动
|
||||
* 1:即插即充
|
||||
*/
|
||||
@JsonProperty(value = "Startmode")
|
||||
private Integer startMode;
|
||||
|
||||
/**
|
||||
* 预充电量限制
|
||||
* 单次可充电最大电量,达到充电电量后,自动停止充电,单位:度,小数点后2位;不填则不限制。
|
||||
*/
|
||||
@JsonProperty(value = "PowerLimit")
|
||||
private BigDecimal powerLimit;
|
||||
|
||||
/**
|
||||
* 预充电费限制
|
||||
* 单次可充电最大电费,达到充电费用后,自动停止充电,单位:元,小数点后2位;不填则不限制
|
||||
*/
|
||||
@JsonProperty(value = "MoneyLimit")
|
||||
private BigDecimal moneyLimit;
|
||||
|
||||
/**
|
||||
* 预充SOC限制
|
||||
* 单次可充电最大SOC,达到限制SOC后,自动停止充电;小数点后1位,不填则不限制。
|
||||
*/
|
||||
@JsonProperty(value = "SOCLimit")
|
||||
private BigDecimal socLimit;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.jsowell.pile.dto.huawei;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/1/23 15:32:25
|
||||
*/
|
||||
@Data
|
||||
public class requestEquipBusinessPolicyDTO {
|
||||
/**
|
||||
* 业务策略查询流水号
|
||||
*/
|
||||
@JsonProperty(value = "EquipBizSeq")
|
||||
private String equipBizSeq;
|
||||
|
||||
/**
|
||||
* 充电设备接口编码
|
||||
*/
|
||||
@JsonProperty(value = "ConnectorID")
|
||||
private String connectorID;
|
||||
|
||||
@JsonProperty(value = "OperatorID")
|
||||
private String operatorId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package com.jsowell.pile.vo.huawei;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 请求启动充电VO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/1/24 9:21:03
|
||||
*/
|
||||
@Data
|
||||
public class QueryStartChargeVO {
|
||||
|
||||
/**
|
||||
* 充电订单号
|
||||
*/
|
||||
@JsonProperty(value = "StartChargeSeq")
|
||||
private String startChargeSeq;
|
||||
|
||||
/**
|
||||
* 充电订单状态
|
||||
*/
|
||||
@JsonProperty(value = "StartChargeSeqStat")
|
||||
private Integer startChargeSeqStat;
|
||||
|
||||
/**
|
||||
* 充电设备接口编码
|
||||
*/
|
||||
@JsonProperty(value = "ConnectorID")
|
||||
private String connectorID;
|
||||
|
||||
/**
|
||||
* 操作结果
|
||||
*/
|
||||
@JsonProperty(value = "SuccStat")
|
||||
private Integer succStat;
|
||||
|
||||
/**
|
||||
* 失败原因
|
||||
*/
|
||||
@JsonProperty(value = "FailReason")
|
||||
private Integer failReason;
|
||||
}
|
||||
Reference in New Issue
Block a user