using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace BatCharging.Model
{
///
/// 4.1.8 充放电机上送充电停止帧
///
public class ChargeStopFrame
{
///
/// 成功标识
///
public byte SuccessMark { get; set; }
///
/// 失败原因
///
public byte causeFailure { get; set; }
///
/// BMS中止充电原因
///
public byte BMSStopChaRea { get; set; }
///
/// BMS充电故障原因
///
public UInt16 BMSChaFauCau { get; set; }
///
/// BMS中止错误原因
///
public byte BMSAboErrCau { get; set; }
///
/// 中止荷电状态SOC(%)
///
public byte SusSOCChargeState { get; set; }
///
/// 动力蓄电池单体最低电压(V)
///
public UInt16 MinVolPowBat { get; set; }
///
/// 动力蓄电池单体最高电压(V)
///
public UInt16 MaxCellVoltage { get; set; }
///
/// 动力蓄电池最低温度(ºC)
///
public byte MinTemPowerBat { get; set; }
///
/// 动力蓄电池最高温度(ºC)
///
public byte MaxTemPowerBat { get; set; }
///
/// 接收SPN2560=0x00的充电机辨识报文超时
///
public UInt16 IdeMesTimeout00 { get; set; }
///
/// 接收SPN2560=0xAA的充电机辨识报文超时
///
public UInt16 IdeMesTimeoutAA { get; set; }
///
/// 接收充电机的时间同步和充电机最大输出能力报文超时
///
public UInt16 MaxOutCapPacTim { get; set; }
///
/// 接收充电机完成充电准备报文超时
///
public byte TimPreMes { get; set; }
///
/// 接收充电机充电状态报文超时
///
public UInt16 chaStaMesTimeOut { get; set; }
///
/// 接收充电机中止充电报文超时
///
public UInt16 stopChaMesTimeOut { get; set; }
///
/// 接收充电机充电统计报文超时
///
public UInt16 chaStaPacketTimeOut { get; set; }
///
/// BMS检测到的其他错误
///
public byte OtherErrorsBMS1 { get; set; }
///
/// BMS检测到的其他错误
///
public byte OtherErrorsBMS2 { get; set; }
///
/// BMS检测到的其他错误
///
public byte OtherErrorsBMS3 { get; set; }
///
/// BMS检测到的其他错误
///
public byte OtherErrorsBMS4 { get; set; }
///
/// BMS检测到的其他错误
///
public byte OtherErrorsBMS5 { get; set; }
///
/// BMS检测到的其他错误
///
public byte OtherErrorsBMS6 { get; set; }
///
/// 接收BMS和车辆的辨识报文超时
///
public UInt16 IdeMesTimeout { get; set; }
///
/// 接收电池充电参数报文超时
///
public UInt16 ChaParMesTimeOut { get; set; }
///
/// 接收BMS完成充电准备报文超时
///
public UInt16 stopChaMesTimeOutBMS { get; set; }
///
/// 接收电池充电要求报文超时
///
public UInt16 ReqMesTimeout { get; set; }
///
/// 接收电池充电总状态报文超时
///
public UInt16 totalStatusMesTimeOut { get; set; }
///
/// 接收BMS中止充电报文超时
///
public UInt16 BMSstopChaMesTimeOut { get; set; }
///
/// 接收BMS充电统计报文超时
///
public UInt16 stopchaMesTimeOut { get; set; }
///
/// 充电机检测到的其他错误
///
public byte OthErrDetCha1 { get; set; }
///
/// 充电机检测到的其他错误
///
public byte OthErrDetCha2 { get; set; }
///
/// 充电机检测到的其他错误
///
public byte OthErrDetCha3 { get; set; }
///
/// 充电机检测到的其他错误
///
public byte OthErrDetCha4 { get; set; }
///
/// 充电机检测到的其他错误
///
public byte OthErrDetCha5 { get; set; }
///
/// 充电机检测到的其他错误
///
public byte OthErrDetCha6 { get; set; }
}
}