diff --git a/Service/Charger/Msg/Charger/Resp/UpBms.cs b/Service/Charger/Msg/Charger/Resp/UpBms.cs index b42593d..a48e0a5 100644 --- a/Service/Charger/Msg/Charger/Resp/UpBms.cs +++ b/Service/Charger/Msg/Charger/Resp/UpBms.cs @@ -7,16 +7,72 @@ namespace Service.Charger.Msg.Charger.Resp /// public class UpBms : ASDU { + /// + /// 记录类型 + /// + [Property(0, 8)] + public byte RecordType { get; set; } + /// ///PGN码 /// - [Property(0, 3, PropertyReadConstant.Byte)] + [Property(8, 24)] public string Pgn { get; set; } /// - /// CAN 帧数据 + /// 报警级别 + /// 0:正常 + /// 1:1 级报警 3:3 级报警 5:5 级报警 其余保留 + /// + [Property(32, 8)] + public short AlarmLevel { get; set; } + + /// + /// 电池箱所在位置编号 分辨率:1/位,偏移量:0,数值范围:1~250 + /// + [Property(40, 8)] + public short BatteryBoxLocationNumber { get; set; } + + /// + /// 电池箱能输出的最大电流值 分辨率:0.05A/位,偏移量:-1600A,数值范围:-1600A ~ 1612.75A + /// + [Property(48, 16, scale: 0.05, offset: -1600)] + public short BatteryBoxMaximumCurrentOutput { get; set; } + + /// + /// 电池箱能承受最大反馈电流值 分辨率:0.05A/位,偏移量:-1600A,数值范围:-1600A~1612.75A + /// + [Property(64, 16, scale: 0.05, offset: -1600)] + public short BatteryMaximumFeedback { get; set; } + + /// + /// 电池箱风扇状态 0:关闭1:开启 2:不可用 3:不可用 + /// + [Property(80, 2)] + public byte BatteryBoxFanStatus { get; set; } + + /// + /// 加热装置状态 0:关闭1:开启 2:不可用 3:不可用 + /// + [Property(82, 2)] + public byte HeaterCondition { get; set; } + + /// + /// 均衡状态 0:关闭1:开启 2:不可用 3:不可用 + /// + [Property(84, 2)] + public byte EquilibriumState { get; set; } + + /// + /// 高压互锁状态 0 断开 1 连接 + /// + [Property(86, 2)] + public byte HighVoltageInterlockState { get; set; } + + /// + /// 保留 /// - [Property(0, 8, PropertyReadConstant.Byte)] - public string CanData { get; set; } + [Property(88, 8)] + public short Reserve { get; set; } } } \ No newline at end of file