|
|
|
@ -12,46 +12,29 @@ namespace Service.Charger.Msg.Charger.Req
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ModuleState : ASDU
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块总数量
|
|
|
|
|
/// 记录类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(0, 8)]
|
|
|
|
|
public byte ModelCount { get; set; }
|
|
|
|
|
public byte RecordType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// 模块总数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(8, 8)]
|
|
|
|
|
public byte ModelState1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(16, 8)]
|
|
|
|
|
public byte ModelState2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(24, 8)]
|
|
|
|
|
public byte ModelState3 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(32, 8)]
|
|
|
|
|
public byte ModelState4 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(40, 8)]
|
|
|
|
|
public byte ModelState5 { get; set; }
|
|
|
|
|
public byte ModelCount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(48, 8)]
|
|
|
|
|
public byte ModelState6 { get; set; }
|
|
|
|
|
[RelativeProperty(16, 8, "ModelCount")]
|
|
|
|
|
public List<ModelCount> LstModelCount { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ModelCount
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块状态
|
|
|
|
|
/// 当前 CSC 下的第 N 个模块状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Property(56, 8)]
|
|
|
|
|
public byte ModelState7 { get; set; }
|
|
|
|
|
[Property(0, 8)]
|
|
|
|
|
public byte ModelState { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|