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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using HybirdFrameworkCore.Autofac.Attribute ;
namespace Service.Charger.Msg.Host.Req
{
/// <summary>
/// 3.4.3 监控平台下发辅源控制指令
/// </summary>
public class AuxiliaryPower : ASDU
{
/// <summary>
/// 记录类型
/// </summary>
[Property(0, 8)]
public byte RecordType { get ; set ; }
/// <summary>
///打开辅助电源标志 1: 电池包辅助电源导通 0: 电池包辅助电源断开
/// </summary>
[Property(8, 8)]
public byte OpenFlag { get ; set ; }
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 ;
}
}
}