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.

64 lines
2.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
8 months ago
namespace HybirdFrameworkServices
{
public class CMD105
{
/// <summary>
/// 备用1
/// </summary>
public ushort Reserved1 { get; set; }
/// <summary>
/// 备用2
/// </summary>
public ushort Reserved2 { get; set; }
/// <summary>
/// 匹配码。106报文随机数应答
/// </summary>
public uint NumResponse { get; set; }
/// <summary>
/// 登入验证
/// <para>0-不启用 CMD1202 认证</para>
/// <para>1-启用 CMD1202 登入认证</para>
/// </summary>
public byte LoginVerify { get; set; }
/// <summary>
/// 加密标识
/// </summary>
public byte EncryptionFlag { get; set; }
/// <summary>
/// RSA 公共模数 长度128 字段加密标识5值为 1 时填充 128
/// </summary>
public string RSAComModule { get; set; }
/// <summary>
/// RSA 公密 4 字段 5 值为 1 时填充
/// </summary>
public uint RSAComSecret { get; set; }
/// <summary>
/// 启停用标志 1
/// <para>0x00-正常使用</para>
/// <para>0x55-暂停服务(只对在充电机空闲时有效)</para>
/// </summary>
public byte StSign { get; set; }
/// <summary>
/// 平台标准BCD时间 充电桩校时
/// </summary>
public ulong BCDTime { get; set; }
/// <summary>
/// 平台是否支持三位小数222 报文上传
/// <para>0xDE-平台支持 222 三位小数上传</para>
/// <para>其他-使用 202 报文上传订单</para>
/// </summary>
public byte MessageUpload { get; set; }
/// <summary>
/// AES 秘钥 32
/// <para>32位</para>
/// </summary>
public string AESSecretKey { get; set; }
}
}