变长数据帧修改测试后提交

master
CZ 4 months ago
parent 966b4a3acf
commit 83fcbdc630

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

@ -1,37 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service.Charger.Msg.Charger.Req
{
/// <summary>
/// 3.5.9 电池包实时数据上报(站内充电模式有电池包时周期性上传)
/// </summary>
public class RealDataReporting:ASDU
{
//TODO
/*
SOC
SOH
)
()
线()
SOC
SOH
Total
Charging
Discharge
Positive
Negative
Battery
voltage
*/
}
}
Loading…
Cancel
Save