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.
25 lines
729 B
25 lines
729 B
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;
|
|
}
|
|
|
|
|
|
}
|
|
} |