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; } public SetPeakValleyTime() { FrameTypeNo = 45; MsgBodyCount = 1; TransReason = 3; PublicAddr = 0; MsgBodyAddr = new byte[] { 0, 0, 0 }; RecordType = 47; } } }