using System; using HybirdFrameworkCore.Autofac.Attribute; namespace Service.Charger.Msg.Host.Req; /// /// 出库命令 /// public class OutboundCommandReq : ASDU { /// /// 出库方式 /// [Property(0, 8 )] public byte OutboundMode {get;set;} /// /// 取仓位号 /// [Property(8, 8 )] public byte TakePositionNumber {get;set;} public OutboundCommandReq(byte outboundMode, byte takePositionNumber) { FrameTypeNo = 72; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; OutboundMode = outboundMode; TakePositionNumber = takePositionNumber; } }