mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
新增 0x17、0x23报文解析
This commit is contained in:
@@ -175,6 +175,11 @@ public class CacheConstants {
|
||||
*/
|
||||
public static final String TRANSACTION_RECORD_BY_TRANSACTION_CODE = "transaction_record_by_transaction_code:";
|
||||
|
||||
/**
|
||||
* 0x23缓存key
|
||||
*/
|
||||
public static final String BMS_CHARGE_INFO_BY_TRANSACTION_CODE = "bms_charge_info_by_transaction_code:";
|
||||
|
||||
/**
|
||||
* 充电桩状态前缀
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.jsowell.common.core.domain.ykc;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 0x23信息数据
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/12/9 14:33:35
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class BMSDemandAndChargerOutputData {
|
||||
|
||||
private String transactionCode; // 交易流水号
|
||||
private String pileSn; // 桩编号
|
||||
private String connectorCode; // 枪口号
|
||||
private String bmsVoltageDemand; // BMS 电压需求 0.1 V/位, 0 V 偏移量
|
||||
private String bmsCurrentDemand; // BMS 电流需求 0.1 A/位, -400 A 偏移量
|
||||
private String bmsChargingModel; // BMS 充电模式 0x01:恒压充电; 0x02:恒流充电
|
||||
private String bmsChargingVoltage; // BMS 充电电压测量值 0.1 V/位, 0 V 偏移量
|
||||
private String bmsChargingCurrent; // BMS 充电电流测量值 0.1 A/位, -400 A 偏移量
|
||||
private String bmsMaxVoltageAndGroup; // BMS 最高单体动力蓄电池电压及组号 1-12 位:最高单体动力蓄电池电压, 数据分辨率: 0.01 V/位, 0 V 偏移量;数据范围: 0~24 V; 13-16 位: 最高单体动力蓄电池电 压所在组号,数据分辨率: 1/位, 0 偏移量;数据范围: 0~15
|
||||
private String soc; // BMS 当前荷电状态 SOC( %) 1%/位, 0%偏移量; 数据范围: 0~100%
|
||||
private String bmsTheRestChargingTime; // BMS 估算剩余充电时间 1 min/位, 0 min 偏移量; 数据范围: 0~600 min
|
||||
private String pileVoltageOutput; // 电桩电压输出值 0.1 V/位, 0 V 偏移量
|
||||
private String pileCurrentOutput; // 电桩电流输出值 0.1 A/位, -400 A 偏移量
|
||||
private String chargingTime; // 累计充电时间 1 min/位, 0 min 偏移量; 数据范围: 0~600 min
|
||||
|
||||
private String dateTime;
|
||||
private String outputPower;
|
||||
}
|
||||
Reference in New Issue
Block a user