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.

38 lines
960 B

using HybirdFrameworkCore.Autofac.Attribute;
namespace Service.Charger.Msg.Host.Req
{
/// <summary>
/// 3.4.3 监控平台下发辅源控制指令
/// </summary>
public class AuxiliaryPower : ASDU
{
/// <summary>
7 months ago
/// 记录类型
/// </summary>
[Property(0, 8)]
7 months ago
public byte RecordType { get; set; }
/// <summary>
///打开辅助电源标志 1电池包辅助电源导通 0电池包辅助电源断开
/// </summary>
[Property(8, 8)]
public byte OpenFlag { get; set; }
7 months ago
public AuxiliaryPower(byte openFlag)
{
PackLen = 0;
CtlArea = 0;
SrcAddr = 0;
FrameTypeNo = 45;
MsgBodyCount = 1;
TransReason = 3;
PublicAddr = 0;
MsgBodyAddr = new byte[] { 0, 0, 0 };
RecordType = 9;
OpenFlag = openFlag;
}
}
}