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.

58 lines
1.5 KiB

5 months ago
using Service.Cloud.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service.Cloud.Msg.Host.Req
{
/// <summary>
/// 4.2.9.1 换电站设备状态结束日志信息
/// </summary>
public class EndLogMessage : ICmd
{
/// <summary>
/// 设备编号
/// 无辅助设备(场站码+00000)
5 months ago
/// </summary>
public string en { get; set; }
/// <summary>
/// 状态值
/// 变化前状态值
5 months ago
/// </summary>
public byte sv { get; set; }
/// <summary>
/// 状态名称
/// 变化前状态名称
5 months ago
/// </summary>
public string sm { get; set; }
/// <summary>
/// 开始时刻
/// 格式”yyyy-MM-dd HH:mm:ss”
5 months ago
/// </summary>
public DateTime st { get; set; }
/// <summary>
/// 结束时刻
/// 格式”yyyy-MM-dd HH:mm:ss”
5 months ago
/// </summary>
public DateTime et { get; set; }
/// <summary>
/// 持续时间
/// 单位:秒
5 months ago
/// </summary>
public int ke { get; set; }
/// <summary>
/// 采集模式
/// 1自动2人工录入
/// <see cref="Entity.Constant.CloudEnum.EscalationMethod"/>
5 months ago
/// </summary>
public int cm { get; set; }
public string GetCmd()
{
return CloudConst.eqmStateEndLogInfo;
}
}
}