using HybirdFrameworkCore.Autofac.Attribute; using Service.Charger.Msg; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Service.Plc.Msg.Host.Req { public class WhetherChargedReq : ASDU { /// /// 仓01 /// [Property(0, 1)] public byte granary01 { get; set; } /// /// 仓02 /// [Property(1, 1)] public byte granary02 { get; set; } /// /// 仓03 /// [Property(2, 1)] public byte granary03 { get; set; } /// /// 仓04 /// [Property(3, 1)] public byte granary04 { get; set; } /// /// 仓05 /// [Property(4, 1)] public byte granary05 { get; set; } /// /// 仓06 /// [Property(5, 1)] public byte granary06 { get; set; } /// /// 仓07 /// [Property(6, 1)] public byte granary07 { get; set; } /// /// 仓08 /// [Property(7, 1)] public byte granary08 { get; set; } public WhetherChargedReq(byte granary01, byte granary02, byte granary03, byte granary04, byte granary05, byte granary06, byte granary07, byte granary08) { FrameTypeNo = 122; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; this.granary01 = granary01; this.granary02 = granary02; this.granary03 = granary03; this.granary04 = granary04; this.granary05 = granary05; this.granary06 = granary06; this.granary07 = granary07; this.granary08 = granary08; } } }