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