You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
5.3 KiB

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