using System; using HybirdFrameworkCore.Autofac.Attribute; using Microsoft.OpenApi.Models; namespace Service.Charger.Msg.Host.Req; /// /// 准备电池开启 /// public class PrepareBatteryOnReq : ASDU { /// /// 准备电池标志 /// [Property(0, 8 )] public byte ReadyBatterySign {get;set;} /// /// 取仓位号 /// [Property(8, 8 )] public byte TakePositionNumber {get;set;} public PrepareBatteryOnReq(byte readyBatterySign, byte takePositionNumber) { FrameTypeNo = 75; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; ReadyBatterySign = readyBatterySign; TakePositionNumber = takePositionNumber; } }