using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BatCharging.Model { /// /// 4.4.1.1 充放电机上传基本状态 /// public class BatteryCycleUpBasic { /// /// PGN码 /// public byte PNG1 { get; set; } /// /// PGN码 /// public byte PNG2 { get; set; } /// /// PGN码 /// public byte PNG3 { get; set; } /// /// 报警级别 0:正常 /// 1:1级报警 /// 3:3级报警 /// 5:5级报警 /// 其余保留 /// public byte AlarmLevel { get; set; } /// /// 电池箱所在位置编号 分辨率:1/位,偏移量:0,数值范围:1~250 /// public byte batteryBoxNo { get; set; } /// /// 电池箱能输出的最大电流值 分辨率:0.05A/位,偏移量:-1600A,数值范围:-1600A ~ 1612.75A /// public UInt16 maxCurOutBatBox { get; set; } /// /// 电池箱能承受最大反馈电流值 分辨率:0.05A/位,偏移量:-1600A,数值范围:-1600A~1612.75A /// public UInt16 maxCanCurOutBatBox { get; set; } /// /// 电池箱风扇状态 0:关闭 /// 1:开启 /// 2:不可用 /// 3:不可用 /// public UInt16 BatBoxFanStatus { get; set; } /// /// 加热装置状态 0:关闭 /// 1:开启 /// 2:不可用 /// 3:不可用 /// public UInt16 HeaterCondition { get; set; } /// /// 均衡状态 0:关闭 /// 1:开启 /// 2:不可用 /// 3:不可用 /// public UInt16 stateEqu { get; set; } /// /// 高压互锁状态 0断开 1连接 /// public UInt16 HighVolIntlockState { get; set; } /// /// 保留 /// public byte retain { get; set; } } /// /// 4.4.1.2 充放电机上传报警状态(PGN:0x00F811) /// public class BatteryCycleUpalarm { /// /// /// public byte PNG1 { get; set; } /// /// /// public byte PNG2 { get; set; } /// /// /// public byte PNG3 { get; set; } /// /// 单体蓄电池或蓄电池模块电压越限 /// public UInt16 batModVolExcThr { get; set; } /// /// 电压偏差越限 /// public UInt16 VolDevExcLimit { get; set; } /// /// 温度越限 /// public UInt16 TemOvershoot { get; set; } /// /// 温度偏差越限 /// public UInt16 TemDevExcLimit { get; set; } /// /// SOC低 /// public UInt16 LowSOC { get; set; } /// /// 放电电流越限 /// public UInt16 disCurExcLimit { get; set; } /// /// 充电电流限 /// public UInt16 ChaCurLimit { get; set; } /// /// 总正负极柱温度越限 /// public UInt16 TotTemExcLimit { get; set; } /// /// 电池系统故障码 /// public UInt16 BatSysFaultCode { get; set; } /// /// 高压绝缘低 /// public UInt16 HighVolLowIns { get; set; } /// /// 单体蓄电池或蓄电池模块电压越极限 /// public UInt16 VolBatModExcLimit { get; set; } /// /// 电压偏差越极限 /// public UInt16 VolDevExcOveLimit { get; set; } /// /// 温度越极限 /// public UInt16 TemOveLimit { get; set; } /// /// 温度偏差越极限 /// public UInt16 TemDevExcOveLimit { get; set; } /// /// SOC极低 /// public UInt16 VeryLowSOC { get; set; } /// /// 放电电流越极限 /// public UInt16 DisCurExcLimit { get; set; } /// /// 充电电流越极限 /// public UInt16 ChaCurExcLimit { get; set; } /// /// 总正负极柱温度越极限 /// public UInt16 TotPosNegColTemOveLimit { get; set; } /// /// 高压绝缘极低 /// public UInt16 HighVolInsExtLow { get; set; } /// /// 硬件故障 /// public UInt16 hardwareFailure { get; set; } /// /// 保留1 /// public byte retain1 { get; set; } /// /// 保留1 /// public byte retain2 { get; set; } /// /// 保留1 /// public byte retain3 { get; set; } /// /// 保留1 /// public byte retain4 { get; set; } /// /// 保留1 /// public byte retain5 { get; set; } /// /// 保留1 /// public byte retain6 { get; set; } /// /// 保留1 /// public byte retain7 { get; set; } /// /// 保留1 /// public byte retain8 { get; set; } /// /// 保留1 /// public byte retain9 { get; set; } /// /// 保留1 /// public byte retain10 { get; set; } } /// /// 充放电机上传电压电流SOC数据(PGN:0x00F812) /// public class BatteryCycleUpSoc { /// /// /// public byte PNG1 { get; set; } /// /// /// public byte PNG2 { get; set; } /// /// /// public byte PNG3 { get; set; } /// /// 电压测量值 /// public UInt16 VolMea { get; set; } /// /// 电流测量值 /// public UInt16 CurrentMea { get; set; } /// /// 当前SOC /// public UInt16 nowSOC { get; set; } /// /// 当前SOH /// public byte nowSOH { get; set; } /// /// 保留 /// public byte retain { get; set; } } /// /// 充放电机上传单体动力蓄电池电压极值统计(PGN:0x00F822)(记录类型65) /// public class BatCycUpVolExtSta { /// /// /// public byte PNG1 { get; set; } /// /// /// public byte PNG2 { get; set; } /// /// /// public byte PNG3 { get; set; } /// /// 单体蓄电池或蓄电池模块最高电压 /// public UInt16 maxVol { get; set; } /// /// 最高电压单体蓄电池或蓄电池模块的编号 /// public byte maxValNo { get; set; } /// /// 单体蓄电池或蓄电池模块最低电压 /// public UInt16 minVol { get; set; } /// /// 最低电压单体蓄电池或蓄电池模块的编号 /// public byte minValNo { get; set; } /// /// 单体平均电压 /// public UInt16 averageVol { get; set; } } /// /// 4.4.1.5 充放电机上传温度检测点极值数据(PGN:0x00F823) /// public class BatteryCycleUpTest { /// /// /// public byte PNG1 { get; set; } /// /// /// public byte PNG2 { get; set; } /// /// /// public byte PNG3 { get; set; } /// /// 最高温度 /// public byte maxTem { get; set; } /// /// 最高温度检测点编号 /// public byte maxTemTestNo { get; set; } /// /// 最低温度 /// public byte minTem { get; set; } /// /// 最低温度检测点编号 /// public byte minTemTestNo { get; set; } /// /// 连接器总正极柱温度 /// public byte PosColTem { get; set; } /// /// 连接器总负极柱温度 /// public byte NegColTem { get; set; } /// /// 单体平均温度 /// public byte aveTem { get; set; } /// /// 保留 /// public byte retain { get; set; } } /// /// 4.4.1.6 充放电机上传BMS设备状态(PGN:0x00F82B) /// public class BatterCycleUpBMS { /// /// /// public byte PNG1 { get; set; } /// /// /// public byte PNG2 { get; set; } /// /// /// public byte PNG3 { get; set; } /// /// 充电故障状态 /// public UInt32 dischargeState { get; set; } /// /// 放电故障状态 /// public UInt32 DischargeState { get; set; } /// /// 主正继电器状态 /// public UInt32 posRelayStatu { get; set; } /// /// 主负继电器状态 /// public UInt32 NegRelayState { get; set; } /// /// 预充状态 /// public UInt32 PreCondition { get; set; } /// /// 均衡状态 /// public UInt32 stateEqu { get; set; } /// /// 电池允许断12V辅源 /// public UInt32 BatteryPermit { get; set; } /// /// 绝缘状态 /// public UInt32 stateInsulation { get; set; } /// /// 电池运行状态 /// public UInt32 runState { get; set; } /// /// 电池健康体检 /// public UInt32 BatHealthExa { get; set; } /// /// 电池热管理需求 /// public UInt32 BatTheMan { get; set; } /// /// 电池允许充电状态 /// public UInt32 batAllCha { get; set; } /// /// 热失控报警状态 /// public UInt32 TheRunAlaSta { get; set; } /// /// 冷却液进水口温度 /// public UInt32 CooInlTem { get; set; } /// /// 冷却液出水口温度 /// public UInt32 CooOutTem { get; set; } /// /// 直流内阻 /// public UInt32 DCIntRes { get; set; } /// /// 电池包后部温度 /// public UInt32 TemRearBatPack { get; set; } /// /// 电池包前部温度 /// public UInt32 TemFrontBatPack { get; set; } /// /// 中左部温度 /// public UInt32 MiddleLefTem { get; set; } /// /// 中右部温度 /// public UInt32 MiddleRigTem { get; set; } } }