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 { /// /// 遥信数据上报 /// public class MRemoteData { public UInt16 workDev { get; set; }// 工作状态 public byte totalFault { get; set; }// 总故障 public byte commonAlarm { get; set; }// 总告警 public byte emergencyStop { get; set; }// 急停按钮动作 public byte malfunction { get; set; }// 故障 public byte SmokeFault { get; set; }// 烟感故障 public byte CirBreFailureIn { get; set; }// 充电桩交流输入断路器故障 public byte SysSupplyCirBre { get; set; }// (系统供电断路器) public byte PositiveFault { get; set; }// 直流母线正极输出 接触器拒动/误 动故障 public byte NegativeEleFault { get; set; }// 直流母线负极输出 接触器拒动/误 动故障 public byte pFuseFaulty { get; set; }// 直流母线正级输出 熔断器故障 public byte nPositiveFuseFaulty { get; set; }// 直流母线负级输出 熔断器故障 public byte magneticLockFaulty { get; set; }// 充电接口电磁锁故障 public byte FanFailure { get; set; }// 充电桩风扇故障 public byte arresterFaulty { get; set; }// 避雷器故障 public byte InsMonAlarm { get; set; }// 绝缘监测告警 public byte InsMonFault { get; set; }// 绝缘监测故障 public byte BatPReverseConFault { get; set; }// 电池极性反接 故障 public byte VeConGuidanceFailure { get; set; }// 充电中车辆控 制导引故障 public byte OveCausesBarrier { get; set; }// 充电桩过温故 障 public byte interfaceOverFaulty { get; set; }// 充电接口过温 故障 public byte ChaGunNotRetAlarm { get; set; }// 充电枪未归位 告警 public byte BMSComFaulty { get; set; }// BMS通信故障 public byte ChaPilePnputVolOveFault { get; set; }// 充电桩输入电压过压故障 public byte InputVoltageUndFault { get; set; }// 充电桩输入电压欠压故障 public byte OvervoltageFault { get; set; }// 直流母线输出过压故障 public byte UndervoltageFault { get; set; }// 直流母线输出欠压故障 public byte OvercurrentFault { get; set; }// 直流母线输出过流故障 public byte connectionStatus { get; set; }// 车辆连接状态 public byte ChargingGunHolderStatus { get; set; } // 充电桩充电枪 座状态 public byte IntEleLockStatus { get; set; } // 充电接口电子 锁状态 public byte pCntactorCon { get; set; } // 正极直流输出接触器状态 public byte nContactorCon { get; set; } // 负极直流输出接触器状态 public byte AccessConFailure { get; set; } // 门禁故障 public byte pConA3dhesionFailure { get; set; } // 正极直流输出接触器粘连故障 public byte nConadhesionFailure { get; set; } // 负极直流输出接触器粘连故故障 public byte dischargeLoopFaulty { get; set; } // 泄放回路故障 public byte conActivated { get; set; } // 充电桩交流输入接触器据动/误动故(预留位置供其他适用) public byte ConAdhesionFailure { get; set; }// 充电桩交流输入接触器粘连故障(预留位置供其他适用) public byte outputReverseCon { get; set; } // 辅助电源故障 public byte ModuleOutputRev { get; set; } // 模块输出反接 public byte AcConStatus { get; set; } // 充电桩交流接触器状态 public byte chaGunOvertAlarmGen { get; set; }// 充电枪过温告警 public byte ChargingPileOvertAlarm { get; set; } // 充电桩过温告警 public byte meterComAbnormal { get; set; } // 电表通信异常 public byte meterAbnormal { get; set; } // 电表电度异常 public byte FloodingAlarm { get; set; } // 水浸告警 public byte BatPackAuxPowerStatus { get; set; }// 电池包辅助电源状态 public byte ReversePowerAlarm { get; set; }// 逆功率报警 public byte Module1s1tatus01 { get; set; }// 模块1状态 1:模块关机 0:模块运行 public byte Module1s1tatus02 { get; set; }// 模块1状态 1: 模块故障 0:模块正常 public byte Module1s1tatus03 { get; set; }// 模块1状态 1:模块恒流 0:模块恒压 public byte Module1s1tatus04 { get; set; }// 模块1状态 1:风扇故障 0:风扇正常 public byte Module1s1tatus05 { get; set; }// 模块1状态 1:输入过压 0:输入正常 public byte Module1s1tatus06 { get; set; }// 模块1状态 1:输入欠压 0:输入正常 public byte Module1s1tatus07 { get; set; }// 模块1状态 1:输出过压 0:输出正常 public byte Module1s1tatus08 { get; set; }// 模块1状态 1:输出欠压 0:输出正常 public byte Module1s01tatus01 { get; set; }// 模块1状态 1过流保护 0正常 public byte Module1s01tatus02 { get; set; }// 模块1状态 1过温保护 0正常 public byte Module1s01tatus03 { get; set; }// 模块1状态 1设置关机 0设置开机 public UInt32 Module1s01tatus04 { get; set; }// 模块1状态 预留0 public byte Module2status01 { get; set; }// 模块2状态 1:模块关机 1:模块运行 public byte Module2status02 { get; set; }// 模块2状态 1:模块故障 1:模块正常 public byte Module2status03 { get; set; }// 模块2状态 1:模块恒压 0:模块恒流 public byte Module2status04 { get; set; }// 模块2状态 1:风扇故障 0:风扇正常 public byte Module2status05 { get; set; }// 模块2状态 1:输入过压 0:输入正常 public byte Module2status06 { get; set; }// 模块2状态 1:输入欠压 0:输入正常 public byte Module2status07 { get; set; }// 模块2状态 1:输出过压 0:输出正常 public byte Module2status08 { get; set; }// 模块2状态 1:输出欠压 0:输出正常 public byte Module02status01 { get; set; }// 模块2状态 1:过流保护 0正常 public byte Module02status02 { get; set; }// 模块2状态 1:过温保护 0正常 public byte Module02status03 { get; set; }// 模块2状态 1:设置关机 0设置开机 public UInt32 Module02status04 { get; set; }// 模块2状态 预留0 public byte Module3status01 { get; set; }// 模块3状态 1:模块关机 1:模块运行 public byte Module3status02 { get; set; }// 模块3状态 1:模块故障 1模块正常 public byte Module3status03 { get; set; }// 模块3状态 1:模块恒压 0:模块恒流 public byte Module3status04 { get; set; }// 模块3状态 1:风扇故障 0:风扇正常 public byte Module3status05 { get; set; }// 模块3状态 1:输入过压 0:输入正常 public byte Module3status06 { get; set; }// 模块3状态 1:输入欠压 0:输入正常 public byte Module3status07 { get; set; }// 模块3状态 1:输出过压 0:输出正常 public byte Module3status08{ get; set; }// 模块3状态 1:输出欠压 0:输出正常 public byte Module03status01 { get; set; }// 模块3状态 1:过流保护 0正常 public byte Module03status02 { get; set; }// 模块3状态 1过温保护 0正常 public byte Module03status03 { get; set; }// 模块3状态 1设置关机 0设置开机 public UInt32 Module03status04 { get; set; }// 模块3状态 预留0 public byte Module4status01 { get; set; }// 模块4状态 1:模块关机 1:模块运行 public byte Module4status02 { get; set; }// 模块4状态 1:模块故障 1:模块正常 public byte Module4status03 { get; set; }// 模块4状态 1:模块恒压 0:模块恒流 public byte Module4status04 { get; set; }// 模块4状态 1:风扇故障 0:风扇正常 public byte Module4status05 { get; set; }// 模块4状态 1:输入过压 0:输入正常 public byte Module4status06 { get; set; }// 模块4状态 1:输入欠压 0:输入正常 public byte Module4status07 { get; set; }// 模块4状态 1:输出过压 0:输出正常 public byte Module4status08 { get; set; }// 模块4状态 1:输出欠压 0:输出正常 public byte Module04status01 { get; set; }// 模块4状态 1过流保护 0正常 public byte Module04status02 { get; set; }// 模块4状态 1过温保护 0正常 public byte Module04status03 { get; set; }// 模块4状态 1设置关机 0设置开机 public UInt32 Module04status04 { get; set; }// 模块4状态 预留0 } }