using System.Collections.Generic; namespace BatCharging.Model { public class BatteryBoxStatus : ASDU { public byte ExistBattery { get; set; } public byte ElectricConnectorStatus { get; set; } public byte WaterConnectorStatus { get; set; } public BatteryBoxStatus(byte existBattery, byte electricConnectorStatus, byte waterConnectorStatus) { this.ExistBattery = existBattery; this.ElectricConnectorStatus = electricConnectorStatus; this.WaterConnectorStatus = waterConnectorStatus; this.FrameTypeNo = 45; //this.SetReason(2); this.MsgBodyCount = 1; //this.RecordType = 15; } } }