update 预约充电

This commit is contained in:
Guoqs
2024-08-13 09:59:43 +08:00
parent f4b03719fd
commit 48d80872aa
3 changed files with 84 additions and 28 deletions

View File

@@ -0,0 +1,77 @@
package com.jsowell.pile.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 0x31 充电桩主动申请充电
*
* @author Lemon
* @Date 2023/10/12 10:05
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ConfirmStartChargingData {
/**
* 桩编号
*/
private String pileSn;
/**
* 枪口号
*/
private String connectorCode;
/**
* 启动方式
* 0x01 表示通过刷卡启动充电
* 0x02 表求通过帐号启动充电 (暂不支持)
* 0x03 表示vin码启动充电
*/
private String startMode;
/**
* 是否需要密码
* 0x00 不需要 0x01 需要
*/
private String needPasswordFlag;
/**
* 物理卡号 不足 8 位补 0
*/
private String physicsCard;
/**
* 输入密码 对用户输入的密码进行16 位MD5 加密,采用小写上传
*/
private String inputPasswordByteArr;
/**
* VIN码
*/
private String vinCode;
/**
* 鉴权成功标识
*/
private String authFlag;
/**
* 账户余额
*/
private String accountBalance;
/**
* 交易流水号
*/
private String transactionCode;
/**
* 失败原因
*/
private String failReason;
}

View File

@@ -477,4 +477,6 @@ public interface OrderBasicInfoService{
* @param chargingStartupResult
*/
void createReservationOrder(ReservationChargingStartupResult chargingStartupResult);
}