using System; using HybirdFrameworkCore.Autofac.Attribute; namespace Service.Charger.Msg.Host.Req; /// /// 开始搬电命令 /// public class StartMovElectricityReq : ASDU { /// /// 取电池架号 /// [Property(0, 8)] public byte TakeBatteryShelfNumber { get; set; } /// /// 存电池架号 /// [Property(8, 8)] public byte SaveBatteryShelfNumber { get; set; } public StartMovElectricityReq(byte takeBatteryShelfNumber, byte saveBatteryShelfNumber) { FrameTypeNo = 115; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; TakeBatteryShelfNumber = takeBatteryShelfNumber; SaveBatteryShelfNumber = saveBatteryShelfNumber; } }