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.

116 lines
3.4 KiB

This file contains ambiguous Unicode characters!

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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HybirdFrameworkServices
{
public class CMD106
{
/// <summary>
/// 预留
/// </summary>
public ushort Reserved1 { get; set; }
/// <summary>
/// 预留
/// </summary>
public ushort Reserved2 { get; set; }
/// <summary>
/// 充电桩编码 32
/// </summary>
public string ASCIINum { get; set; }
/// <summary>
/// 标志
/// <para>0-不支持加密</para>
/// <para>1-支持 ASE 加密</para>
/// </summary>
public byte Sign { get; set; }
/// <summary>
/// 充电桩软件版本
///
/// 类型为小端整形INT
/// 0x09 0x52 00 00 表示0x5209, 则版本号为210.01
/// </summary>
public uint ChargVersion { get; set; }
/// <summary>
/// 充电桩项目类型
/// </summary>
public ushort ChargProType { get; set; }
/// <summary>
/// 启动次数
/// </summary>
public uint StartNum { get; set; }
/// <summary>
/// 数据上传模式
/// <para>1应答模式</para>
/// <para>2主动上报模式</para>
/// </summary>
public byte DataUploadMode { get; set; }
/// <summary>
/// 签到间隔时间 分钟
/// </summary>
public ushort SignInterval { get; set; }
/// <summary>
/// 运行内部变量
/// <para>0:正常工作模式</para>
/// <para>1:IAP 模式</para>
/// </summary>
public byte RunVariable { get; set; }
/// <summary>
/// 充电枪个数
/// </summary>
public byte ChargGunNum { get; set; }
/// <summary>
/// 心跳上报周期
/// </summary>
public byte HeartReportCycle { get; set; }
/// <summary>
/// 心跳包检测超时次数
/// </summary>
public byte TimeoutNum { get; set; }
/// <summary>
/// 充电记录数量
/// </summary>
public uint RecordNum { get; set; }
/// <summary>
/// 当前充电桩系统时间
/// </summary>
public string SystemTime { get; set; }
/// <summary>
/// 预留
/// </summary>
public string Reserved3 { get; set; }
/// <summary>
/// 预留
/// </summary>
public string Reserved4 { get; set; }
/// <summary>
/// 预留
/// </summary>
public string Reserved5 { get; set; }
/// <summary>
/// 桩生成随机数
/// </summary>
public uint RandomNum { get; set; }
/// <summary>
/// 桩后台通信协议版本 (十进制 30 表示 V3.0)
/// </summary>
public ushort ProtocolVersion { get; set; }
/// <summary>
/// 白名单版本号
/// </summary>
public uint WhiteVersionNum { get; set; }
/// <summary>
/// 设备类型
/// <para>0 充电桩</para>
/// <para>1 集中器</para>
/// </summary>
public byte DeviceType { get; set; }
/// <summary>
/// 充电桩资产编码 32
/// </summary>
public string AssetCoding { get; set; }
}
}