using HybirdFrameworkCore.Autofac.Attribute; namespace Service.Charger.Msg.Host.Req { /// /// 3.4.10 站控设置尖峰平谷时间段标识 /// public class SetPeakValleyTime : ASDU { /// /// 记录类型 /// [Property(0, 8)] public byte RecordType { get; set; } /// /// 时段个数 /// [Property(8, 8)] public byte NumberTime { get; set; } /// /// 时段1开始时间 时 /// [Property(16, 8)] public byte StartHH1 { get; set; } /// /// 时段1开始时间 分 /// [Property(24, 8)] public byte StartMM1 { get; set; } /// /// 时段1尖峰标识 1尖 2峰 3平 4谷 /// [Property(32, 8)] public byte TimePeak1 { get; set; } /// /// 时段2开始时间 时 /// [Property(40, 8)] public byte StartHH2 { get; set; } /// /// 时段2开始时间 /// [Property(48, 8)] public byte StartMM2 { get; set; } /// /// 时段2尖峰标识 1尖 2峰 3平 4谷 /// [Property(56, 8)] public byte TimePeak2 { get; set; } /// /// 时段3开始时间 /// [Property(64, 8)] public byte StartHH3 { get; set; } /// /// 时段3开始时间 /// [Property(72, 8)] public byte StartMM3 { get; set; } /// /// 时段3尖峰标识 1尖 2峰 3平 4谷 /// [Property(80, 8)] public byte TimePeak3 { get; set; } /// /// 时段4开始时间 /// [Property(88, 8)] public byte StartHH4 { get; set; } /// /// 时段4开始时间 /// [Property(96, 8)] public byte StartMM4 { get; set; } /// /// 时段4尖峰标识 1尖 2峰 3平 4谷 /// [Property(104, 8)] public byte TimePeak4 { get; set; } /// /// 时段5开始时间 /// [Property(112, 8)] public byte StartHH5 { get; set; } /// /// 时段5开始时间 /// [Property(120, 8)] public byte StartMM5 { get; set; } /// /// 时段5尖峰标识 1尖 2峰 3平 4谷 /// [Property(128, 8)] public byte TimePeak5 { get; set; } /// /// 时段6开始时间 /// [Property(136, 8)] public byte StartHH6 { get; set; } /// /// 时段6开始时间 /// [Property(144, 8)] public byte StartMM6 { get; set; } /// /// 时段6尖峰标识 1尖 2峰 3平 4谷 /// [Property(152, 8)] public byte TimePeak6 { get; set; } /// /// 时段7开始时间 /// [Property(160, 8)] public byte StartHH7 { get; set; } /// /// 时段7开始时间 /// [Property(168, 8)] public byte StartMM7 { get; set; } /// /// 时段7尖峰标识 1尖 2峰 3平 4谷 /// [Property(176, 8)] public byte TimePeak7 { get; set; } /// /// 时段8开始时间 /// [Property(184, 8)] public byte StartHH8 { get; set; } /// /// 时段8开始时间 /// [Property(192, 8)] public byte StartMM8 { get; set; } /// /// 时段8尖峰标识 1尖 2峰 3平 4谷 /// [Property(200, 8)] public byte TimePeak8 { get; set; } /// /// 时段9开始时间 /// [Property(208, 8)] public byte StartHH9 { get; set; } /// /// 时段9开始时间 /// [Property(216, 8)] public byte StartMM9 { get; set; } /// /// 时段9尖峰标识 1尖 2峰 3平 4谷 /// [Property(224, 8)] public byte TimePeak9 { get; set; } /// /// 时段10开始时间 /// [Property(232, 8)] public byte StartHH10 { get; set; } /// /// 时段10开始时间 /// [Property(240, 8)] public byte StartMM10 { get; set; } /// /// 时段10尖峰标识 1尖 2峰 3平 4谷 /// [Property(248, 8)] public byte TimePeak10 { get; set; } /// /// 时段11开始时间 /// [Property(256, 8)] public byte StartHH11 { get; set; } /// /// 时段11开始时间 /// [Property(264, 8)] public byte StartMM11 { get; set; } /// /// 时段11尖峰标识 1尖 2峰 3平 4谷 /// [Property(272, 8)] public byte TimePeak11 { get; set; } /// /// 时段12开始时间 /// [Property(280, 8)] public byte StartHH12 { get; set; } /// /// 时段12开始时间 /// [Property(288, 8)] public byte StartMM12 { get; set; } /// /// 时段12尖峰标识 1尖 2峰 3平 4谷 /// [Property(296, 8)] public byte TimePeak12 { get; set; } /// /// 时段13开始时间 /// [Property(314, 8)] public byte StartHH13 { get; set; } /// /// 时段13开始时间 /// [Property(322, 8)] public byte StartMM13 { get; set; } /// /// 时段13尖峰标识 1尖 2峰 3平 4谷 /// [Property(330, 8)] public byte TimePeak13 { get; set; } /// /// 时段14开始时间 /// [Property(338, 8)] public byte StartHH14 { get; set; } /// /// 时段14开始时间 /// [Property(346, 8)] public byte StartMM14 { get; set; } /// /// 时段14尖峰标识 1尖 2峰 3平 4谷 /// [Property(354, 8)] public byte TimePeak14 { get; set; } public SetPeakValleyTime() { FrameTypeNo = 45; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; RecordType = 47; } } }