using System; using HybirdFrameworkCore.Autofac.Attribute; namespace Service.Charger.Msg.Host.Req; /// /// 入库命令改为红绿灯使用 /// public class InboundCommandsReq : ASDU { /// /// 存仓位号 /// [Property(0, 8 )] public byte PositionNumber {get;set;} public InboundCommandsReq(byte positionNumber) { FrameTypeNo = 71; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; PositionNumber =positionNumber; } }