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.
41 lines
824 B
41 lines
824 B
using Service.Cloud.Common;
|
|
|
|
namespace Service.Cloud.Msg.Host.Req;
|
|
|
|
/// <summary>
|
|
/// 5.2.5 电能表累计值信息
|
|
/// </summary>
|
|
public class PowerTotal : ICmd
|
|
{
|
|
/// <summary>
|
|
/// 换电站编码
|
|
/// </summary>
|
|
public string sn { get; set; }
|
|
|
|
public List<meter> meter { get; set; }
|
|
|
|
public string GetCmd()
|
|
{
|
|
return CloudConst.powerTotal;
|
|
}
|
|
}
|
|
|
|
public class meter
|
|
{
|
|
/// <summary>
|
|
/// 安装位置编号
|
|
/// </summary>
|
|
public int addr { get; set; }
|
|
/// <summary>
|
|
/// 位置描述
|
|
/// </summary>
|
|
public string desc { get; set; }
|
|
/// <summary>
|
|
/// 电表编码
|
|
/// </summary>
|
|
public string ms { get; set; }
|
|
/// <summary>
|
|
/// 累积值 单位:kWh,保留两位 小数
|
|
/// </summary>
|
|
public float mk { get; set; }
|
|
} |