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.

666 lines
22 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
using System.Linq;
using System.Net.Sockets;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using static System.Formats.Asn1.AsnWriter;
namespace BatCharging.Model
{
/// <summary>
/// 遥信数据上报
/// </summary>
public class RemoteData
{
/// <summary>
/// 工作状态
/// </summary>
public byte WorkDev { get; set; }
/// <summary>
/// 总故障.0:正常1:故障
/// </summary>
public byte TotalFault { get; set; }
/// <summary>
/// 总告警.0:正常1:告警
/// </summary>
public byte CommonAlarm { get; set; }
/// <summary>
/// 急停按钮动作
/// </summary>
public byte EmergencyStop { get; set; }
/// <summary>
/// 烟感故障
/// </summary>
public byte SmokeFault { get; set; }
/// <summary>
/// 充电桩交流输入断路器故障
/// </summary>
public byte CirBreFailureIn { get; set; }
/// <summary>
/// A枪直流母线正极输出 接触器拒动/误 动故障
/// </summary>
public byte AGunPositiveFault { get; set; }
/// <summary>
/// A枪直流母线负极输出 接触器拒动/误 动故障
/// </summary>
public byte AGunNegativeEleFault { get; set; }
/// <summary>
/// A枪直流母线正级输出 熔断器故障
/// </summary>
public byte AGunPFuseFaulty { get; set; }
/// <summary>
/// A枪直流母线负级输出 熔断器故障
/// </summary>
public byte AGunNPositiveFuseFaulty { get; set; }
/// <summary>
/// 充电接口电磁锁故障
/// </summary>
public byte MagneticLockFaulty { get; set; }
/// <summary>
/// 充电桩风扇故障
/// </summary>
public byte FanFailure { get; set; }
/// <summary>
/// 避雷器故障
/// </summary>
public byte ArresterFaulty { get; set; }
/// <summary>
/// 绝缘监测告警
/// </summary>
public byte InsMonAlarm { get; set; }
/// <summary>
/// 绝缘监测故障
/// </summary>
public byte InsMonFault { get; set; }
/// <summary>
/// 电池极性反接故障
/// </summary>
public byte BatPReverseConFault { get; set; }
/// <summary>
/// 充电中车辆控制导引故障
/// </summary>
public byte VeConGuidanceFailure { get; set; }
/// <summary>
/// 充电桩过温故障
/// </summary>
public byte OveCausesBarrier { get; set; }
/// <summary>
/// 充电接口过温故障
/// </summary>
public byte InterfaceOverFaulty { get; set; }
/// <summary>
/// 充电枪未归位告警
/// </summary>
public byte ChaGunNotRetAlarm { get; set; }
/// <summary>
/// BMS通信故障
/// </summary>
public byte BMSComFaulty { get; set; }
/// <summary>
/// 充电桩输入电压过压故障
/// </summary>
public byte ChaPilePnpVolOveFault { get; set; }
/// <summary>
/// 充电桩输入电压欠压故障
/// </summary>
public byte InputVoltageUndFault { get; set; }
/// <summary>
/// 直流母线输出过压故障
/// </summary>
public byte OvervoltageFault { get; set; }
/// <summary>
/// 直流母线输出欠压故障
/// </summary>
public byte UndervoltageFault { get; set; }
/// <summary>
/// 直流母线输出过流故障
/// </summary>
public byte OvercurrentFault { get; set; }
/// <summary>
/// 车辆连接状态
/// </summary>
public byte ConnectionStatus { get; set; }
/// <summary>
/// 充电桩充电枪座状态
/// </summary>
public byte ChaGunHolderStatus { get; set; }
/// <summary>
/// 充电接口电子锁状态
/// </summary>
public byte IntEleLockStatus { get; set; }
/// <summary>
/// A枪正极直流输出接触器状态
/// </summary>
public byte AGunPCntactorCon { get; set; }
/// <summary>
/// A枪负极直流输出接触器状态
/// </summary>
public byte AGunNContactorCon { get; set; }
/// <summary>
/// 门禁故障
/// </summary>
public byte AccessConFailure { get; set; }
/// <summary>
/// A枪正极直流输出接触器粘连故障
/// </summary>
public byte AGunPConA3dhesionFailure { get; set; }
/// <summary>
/// A枪负极直流输出接触器粘连故故障
/// </summary>
public byte AGunNConadhesionFailure { get; set; }
/// <summary>
/// 泄放回路故障
/// </summary>
public byte DischargeLoopFaulty { get; set; }
/// <summary>
/// 充电桩交流输入接触器据动/误动故(预留位置供其他适用)
/// </summary>
public byte ConActivated { get; set; }
/// <summary>
/// 充电桩交流输入接触器粘连故障(预留位置供其他适用)
/// </summary>
public byte ConAdhesionFailure { get; set; }
/// <summary>
/// 辅助电源故障
/// </summary>
public byte OutputReverseCon { get; set; }
/// <summary>
/// 模块输出反接
/// </summary>
public byte ModuleOutputRev { get; set; }
/// <summary>
/// 充电桩交流接触器状态
/// </summary>
public byte AcConStatus { get; set; }
/// <summary>
/// 充电枪过温告警
/// </summary>
public byte ChaGunOvertAlarmGen { get; set; }
/// <summary>
/// 充电桩过温告警
/// </summary>
public byte ChaPileOvertAlarm { get; set; }
/// <summary>
/// A枪电表通信异常
/// </summary>
public byte AGunMeterComAbnormal { get; set; }
/// <summary>
/// A枪电表电度异常
/// </summary>
public byte AGunMeterAbnormal { get; set; }
/// <summary>
/// 水浸告警
/// </summary>
public byte FloodingAlarm { get; set; }
/// <summary>
/// 电池包辅助电源状态
/// </summary>
public byte BatPackAuxPowerStatus { get; set; }
/// <summary>
/// 逆功率报警
/// </summary>
public byte ReversePowerAlarm { get; set; }
#region 模块1状态
/// <summary>
/// 模块1状态 1模块关机 0模块运行
/// </summary>
public byte Mod01sts01 { get; set; }
/// <summary>
/// 模块1状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod01sts02 { get; set; }
/// <summary>
/// 模块1状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod01sts03 { get; set; }
/// <summary>
/// 模块1状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod01sts04 { get; set; }
/// <summary>
/// 模块1状态 1输入过压 0输入正常
/// </summary>
public byte Mod01sts05 { get; set; }
/// <summary>
/// 模块1状态 1输入欠压 0输入正常
/// </summary>
public byte Mod01sts06 { get; set; }
/// <summary>
/// 模块1状态 1输出过压 0输出正常
/// </summary>
public byte Mod01sts07 { get; set; }
/// <summary>
/// 模块1状态 1输出欠压 0输出正常
/// </summary>
public byte Mod01sts08 { get; set; }
/// <summary>
/// 模块1状态 1过流保护 0正常
/// </summary>
public byte Mod01sts09 { get; set; }
/// <summary>
/// 模块1状态 1过温保护 0正常
/// </summary>
public byte Mod01sts10 { get; set; }
/// <summary>
/// 模块1状态 1设置关机 0设置开机
/// </summary>
public byte Mod01sts11 { get; set; }
/// <summary>
/// 模块1状态 预留0
/// </summary>
public byte Mod01sts12 { get; set; }
#endregion 模块1状态
#region 模块2状态
/// <summary>
/// 模块2状态 1模块关机 0模块运行
/// </summary>
public byte Mod02sts01 { get; set; }
/// <summary>
/// 模块2状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod02sts02 { get; set; }
/// <summary>
/// 模块2状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod02sts03 { get; set; }
/// <summary>
/// 模块2状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod02sts04 { get; set; }
/// <summary>
/// 模块2状态 1输入过压 0输入正常
/// </summary>
public byte Mod02sts05 { get; set; }
/// <summary>
/// 模块2状态 1输入欠压 0输入正常
/// </summary>
public byte Mod02sts06 { get; set; }
/// <summary>
/// 模块2状态 1输出过压 0输出正常
/// </summary>
public byte Mod02sts07 { get; set; }
/// <summary>
/// 模块2状态 1输出欠压 0输出正常
/// </summary>
public byte Mod02sts08 { get; set; }
/// <summary>
/// 模块2状态 1过流保护 0正常
/// </summary>
public byte Mod02sts09 { get; set; }
/// <summary>
/// 模块2状态 1过温保护 0正常
/// </summary>
public byte Mod02sts10 { get; set; }
/// <summary>
/// 模块2状态 1设置关机 0设置开机
/// </summary>
public byte Mod02sts11 { get; set; }
/// <summary>
/// 模块2状态 预留0
/// </summary>
public byte Mod02sts12 { get; set; }
#endregion 模块2状态
#region 模块3状态
/// <summary>
/// 模块3状态 1模块关机 0模块运行
/// </summary>
public byte Mod03sts01 { get; set; }
/// <summary>
/// 模块3状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod03sts02 { get; set; }
/// <summary>
/// 模块3状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod03sts03 { get; set; }
/// <summary>
/// 模块3状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod03sts04 { get; set; }
/// <summary>
/// 模块3状态 1输入过压 0输入正常
/// </summary>
public byte Mod03sts05 { get; set; }
/// <summary>
/// 模块3状态 1输入欠压 0输入正常
/// </summary>
public byte Mod03sts06 { get; set; }
/// <summary>
/// 模块3状态 1输出过压 0输出正常
/// </summary>
public byte Mod03sts07 { get; set; }
/// <summary>
/// 模块3状态 1输出欠压 0输出正常
/// </summary>
public byte Mod03sts08 { get; set; }
/// <summary>
/// 模块3状态 1过流保护 0正常
/// </summary>
public byte Mod03sts09 { get; set; }
/// <summary>
/// 模块3状态 1过温保护 0正常
/// </summary>
public byte Mod03sts10 { get; set; }
/// <summary>
/// 模块3状态 1设置关机 0设置开机
/// </summary>
public byte Mod03sts11 { get; set; }
/// <summary>
/// 模块3状态 预留0
/// </summary>
public byte Mod03sts12 { get; set; }
#endregion 模块3状态
#region 模块4状态
/// <summary>
/// 模块4状态 1模块关机 0模块运行
/// </summary>
public byte Mod04sts01 { get; set; }
/// <summary>
/// 模块4状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod04sts02 { get; set; }
/// <summary>
/// 模块4状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod04sts03 { get; set; }
/// <summary>
/// 模块4状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod04sts04 { get; set; }
/// <summary>
/// 模块4状态 1输入过压 0输入正常
/// </summary>
public byte Mod04sts05 { get; set; }
/// <summary>
/// 模块4状态 1输入欠压 0输入正常
/// </summary>
public byte Mod04sts06 { get; set; }
/// <summary>
/// 模块4状态 1输出过压 0输出正常
/// </summary>
public byte Mod04sts07 { get; set; }
/// <summary>
/// 模块4状态 1输出欠压 0输出正常
/// </summary>
public byte Mod04sts08 { get; set; }
/// <summary>
/// 模块4状态 1过流保护 0正常
/// </summary>
public byte Mod04sts09 { get; set; }
/// <summary>
/// 模块4状态 1过温保护 0正常
/// </summary>
public byte Mod04sts10 { get; set; }
/// <summary>
/// 模块4状态 1设置关机 0设置开机
/// </summary>
public byte Mod04sts11 { get; set; }
/// <summary>
/// 模块4状态 预留0
/// </summary>
public byte Mod04sts12 { get; set; }
#endregion 模块4状态
#region 模块5状态
/// <summary>
/// 模块5状态 1模块关机 0模块运行
/// </summary>
public byte Mod05sts01 { get; set; }
/// <summary>
/// 模块5状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod05sts02 { get; set; }
/// <summary>
/// 模块5状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod05sts03 { get; set; }
/// <summary>
/// 模块5状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod05sts04 { get; set; }
/// <summary>
/// 模块5状态 1输入过压 0输入正常
/// </summary>
public byte Mod05sts05 { get; set; }
/// <summary>
/// 模块5状态 1输入欠压 0输入正常
/// </summary>
public byte Mod05sts06 { get; set; }
/// <summary>
/// 模块5状态 1输出过压 0输出正常
/// </summary>
public byte Mod05sts07 { get; set; }
/// <summary>
/// 模块5状态 1输出欠压 0输出正常
/// </summary>
public byte Mod05sts08 { get; set; }
/// <summary>
/// 模块5状态 1过流保护 0正常
/// </summary>
public byte Mod05sts09 { get; set; }
/// <summary>
/// 模块5状态 1过温保护 0正常
/// </summary>
public byte Mod05sts10 { get; set; }
/// <summary>
/// 模块5状态 1设置关机 0设置开机
/// </summary>
public byte Mod05sts11 { get; set; }
/// <summary>
/// 模块5状态 预留0
/// </summary>
public byte Mod05sts12 { get; set; }
#endregion 模块5状态
#region 模块6状态
/// <summary>
/// 模块6状态 1模块关机 0模块运行
/// </summary>
public byte Mod06sts01 { get; set; }
/// <summary>
/// 模块6状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod06sts02 { get; set; }
/// <summary>
/// 模块6状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod06sts03 { get; set; }
/// <summary>
/// 模块6状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod06sts04 { get; set; }
/// <summary>
/// 模块6状态 1输入过压 0输入正常
/// </summary>
public byte Mod06sts05 { get; set; }
/// <summary>
/// 模块6状态 1输入欠压 0输入正常
/// </summary>
public byte Mod06sts06 { get; set; }
/// <summary>
/// 模块6状态 1输出过压 0输出正常
/// </summary>
public byte Mod06sts07 { get; set; }
/// <summary>
/// 模块6状态 1输出欠压 0输出正常
/// </summary>
public byte Mod06sts08 { get; set; }
/// <summary>
/// 模块6状态 1过流保护 0正常
/// </summary>
public byte Mod06sts09 { get; set; }
/// <summary>
/// 模块6状态 1过温保护 0正常
/// </summary>
public byte Mod06sts10 { get; set; }
/// <summary>
/// 模块6状态 1设置关机 0设置开机
/// </summary>
public byte Mod06sts11 { get; set; }
/// <summary>
/// 模块6状态 预留0
/// </summary>
public byte Mod06sts12 { get; set; }
#endregion 模块6状态
#region 模块7状态
/// <summary>
/// 模块7状态 1模块关机 0模块运行
/// </summary>
public byte Mod07sts01 { get; set; }
/// <summary>
/// 模块7状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod07sts02 { get; set; }
/// <summary>
/// 模块7状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod07sts03 { get; set; }
/// <summary>
/// 模块7状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod07sts04 { get; set; }
/// <summary>
/// 模块7状态 1输入过压 0输入正常
/// </summary>
public byte Mod07sts05 { get; set; }
/// <summary>
/// 模块7状态 1输入欠压 0输入正常
/// </summary>
public byte Mod07sts06 { get; set; }
/// <summary>
/// 模块7状态 1输出过压 0输出正常
/// </summary>
public byte Mod07sts07 { get; set; }
/// <summary>
/// 模块7状态 1输出欠压 0输出正常
/// </summary>
public byte Mod07sts08 { get; set; }
/// <summary>
/// 模块7状态 1过流保护 0正常
/// </summary>
public byte Mod07sts09 { get; set; }
/// <summary>
/// 模块7状态 1过温保护 0正常
/// </summary>
public byte Mod07sts10 { get; set; }
/// <summary>
/// 模块7状态 1设置关机 0设置开机
/// </summary>
public byte Mod07sts11 { get; set; }
/// <summary>
/// 模块7状态 预留0
/// </summary>
public byte Mod07sts12 { get; set; }
#endregion 模块7状态
#region 模块8状态
/// <summary>
/// 模块8状态 1模块关机 0模块运行
/// </summary>
public byte Mod08sts01 { get; set; }
/// <summary>
/// 模块8状态 1: 模块故障 0模块正常
/// </summary>
public byte Mod08sts02 { get; set; }
/// <summary>
/// 模块8状态 1模块恒流 0模块恒压
/// </summary>
public byte Mod08sts03 { get; set; }
/// <summary>
/// 模块8状态 1风扇故障 0风扇正常
/// </summary>
public byte Mod08sts04 { get; set; }
/// <summary>
/// 模块8状态 1输入过压 0输入正常
/// </summary>
public byte Mod08sts05 { get; set; }
/// <summary>
/// 模块8状态 1输入欠压 0输入正常
/// </summary>
public byte Mod08sts06 { get; set; }
/// <summary>
/// 模块8状态 1输出过压 0输出正常
/// </summary>
public byte Mod08sts07 { get; set; }
/// <summary>
/// 模块8状态 1输出欠压 0输出正常
/// </summary>
public byte Mod08sts08 { get; set; }
/// <summary>
/// 模块8状态 1过流保护 0正常
/// </summary>
public byte Mod08sts09 { get; set; }
/// <summary>
/// 模块8状态 1过温保护 0正常
/// </summary>
public byte Mod08sts10 { get; set; }
/// <summary>
/// 模块8状态 1设置关机 0设置开机
/// </summary>
public byte Mod08sts11 { get; set; }
/// <summary>
/// 模块8状态 预留0
/// </summary>
public byte Mod08sts12 { get; set; }
#endregion 模块8状态
/// <summary>
/// B枪直流母线正极输出 接触器拒动/误 动故障
/// </summary>
public byte BGunPositiveFault { get; set; }
/// <summary>
/// B枪直流母线负极输出 接触器拒动/误 动故障
/// </summary>
public byte BGunNegativeEleFault { get; set; }
/// <summary>
/// B枪直流母线正级输出 熔断器故障
/// </summary>
public byte BGunPFuseFaulty { get; set; }
/// <summary>
/// B枪直流母线负级输出 熔断器故障
/// </summary>
public byte BGunNPositiveFuseFaulty { get; set; }
/// <summary>
/// B枪正极直流输出接触器状态
/// </summary>
public byte BGunPCntactorCon { get; set; }
/// <summary>
/// B枪负极直流输出接触器状态
/// </summary>
public byte BGunNContactorCon { get; set; }
/// <summary>
/// B枪正极直流输出接触器粘连故障
/// </summary>
public byte BGunPConA3dhesionFailure { get; set; }
/// <summary>
/// B枪负极直流输出接触器粘连故故障
/// </summary>
public byte BGunNConadhesionFailure { get; set; }
/// <summary>
/// B枪电表通信异常
/// </summary>
public byte BGunMeterComAbnormal { get; set; }
/// <summary>
/// B枪电表电度异常
/// </summary>
public byte BGunMeterAbnormal { get; set; }
}
}