You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
4.4 KiB

using HybirdFrameworkCore.Autofac.Attribute;
namespace Service.Charger.Msg.Host.Req
{
/// <summary>
6 months ago
/// 3.4.10 站控设置尖峰平谷时间段标识
/// </summary>
public class SetPeakValleyTime : ASDU
{
/// <summary>
6 months ago
/// 记录类型
/// </summary>
[Property(0, 8)]
6 months ago
public byte RecordType { get; set; }
/// <summary>
/// 时段个数
/// </summary>
[Property(8, 8)]
public byte NumberTime { get; set; }
/// <summary>
/// 时段1开始时间 时
/// </summary>
6 months ago
[Property(16, 8)]
public byte StartHH1 { get; set; }
/// <summary>
/// 时段1开始时间 分
/// </summary>
6 months ago
[Property(24, 8)]
public byte StartMM1 { get; set; }
/// <summary>
/// 时段1尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(32, 8)]
public byte TimePeak1 { get; set; }
/// <summary>
/// 时段2开始时间 时
/// </summary>
6 months ago
[Property(40, 8)]
public byte StartHH2 { get; set; }
/// <summary>
/// 时段2开始时间
/// </summary>
6 months ago
[Property(48, 8)]
public byte StartMM2 { get; set; }
/// <summary>
/// 时段2尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(56, 8)]
public byte TimePeak2 { get; set; }
/// <summary>
/// 时段3开始时间
/// </summary>
6 months ago
[Property(64, 8)]
public byte StartHH3 { get; set; }
/// <summary>
/// 时段3开始时间
/// </summary>
6 months ago
[Property(72, 8)]
public byte StartMM3 { get; set; }
/// <summary>
/// 时段3尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(80, 8)]
public byte TimePeak3 { get; set; }
/// <summary>
/// 时段4开始时间
/// </summary>
6 months ago
[Property(88, 8)]
public byte StartHH4 { get; set; }
/// <summary>
/// 时段4开始时间
/// </summary>
6 months ago
[Property(96, 8)]
public byte StartMM4 { get; set; }
/// <summary>
/// 时段4尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(104, 8)]
public byte TimePeak4 { get; set; }
/// <summary>
/// 时段5开始时间
/// </summary>
6 months ago
[Property(112, 8)]
public byte StartHH5 { get; set; }
/// <summary>
/// 时段5开始时间
/// </summary>
6 months ago
[Property(120, 8)]
public byte StartMM5 { get; set; }
/// <summary>
/// 时段5尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(128, 8)]
public byte TimePeak5 { get; set; }
/// <summary>
/// 时段6开始时间
/// </summary>
6 months ago
[Property(136, 8)]
public byte StartHH6 { get; set; }
/// <summary>
/// 时段6开始时间
/// </summary>
6 months ago
[Property(144, 8)]
public byte StartMM6 { get; set; }
/// <summary>
/// 时段6尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(152, 8)]
public byte TimePeak6 { get; set; }
/// <summary>
/// 时段7开始时间
/// </summary>
6 months ago
[Property(160, 8)]
public byte StartHH7 { get; set; }
/// <summary>
/// 时段7开始时间
/// </summary>
6 months ago
[Property(168, 8)]
public byte StartMM7 { get; set; }
/// <summary>
/// 时段7尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(176, 8)]
public byte TimePeak7 { get; set; }
/// <summary>
/// 时段8开始时间
/// </summary>
6 months ago
[Property(184, 8)]
public byte StartHH8 { get; set; }
/// <summary>
/// 时段8开始时间
/// </summary>
6 months ago
[Property(192, 8)]
public byte StartMM8 { get; set; }
/// <summary>
/// 时段8尖峰标识 1尖 2峰 3平 4谷
/// </summary>
6 months ago
[Property(200, 8)]
public byte TimePeak8 { get; set; }
6 months ago
public SetPeakValleyTime()
{
FrameTypeNo = 45;
MsgBodyCount = 1;
TransReason = 3;
PublicAddr = 0;
MsgBodyAddr = new byte[] { 0, 0, 0 };
6 months ago
RecordType = 47;
}
}
}