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.

100 lines
3.3 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 BatCharging.Model
{
public class CMD7
{
/// <summary>
/// 预留
/// </summary>
public UInt16 value01 { get; set; }
/// <summary>
/// 预留
/// </summary>
public UInt16 value02 { get; set; }
/// <summary>
/// 充电枪口
/// </summary>
public byte value03 { get; set; }
/// <summary>
/// 充电生效类型
/// <para>0:即时充电</para>
/// <para>1:定时启动充电</para>
/// <para>2:预约充电</para>
/// </summary>
public UInt32 value04 { get; set; }
/// <summary>
/// 界面充电停止密码
/// <para>此字段为整数形字段建议为用户卡号最后 4 位,
/// 若服务器没有下发此字段,
/// 桩默认取充电卡号的最后 4
/// 位 如 卡 号
/// “1122334455667788”
/// 最后 4 位是“7788”而不
/// 是 0若后台不下发此字段
/// 默认使用 0 填充,此数为 0
/// 时桩自动取字段10的未 4/6
/// 位当做停止充电密码。</para>
/// </summary>
public UInt32 value05 { get; set; }
/// <summary>
/// 充电策略
/// <para>0:充满为止</para>
/// <para>1:按时间充电</para>
/// <para>2:按金额充电</para>
/// <para>3:按电量充电</para>
/// </summary>
public UInt32 value06 { get; set; }
/// <summary>
/// 充电策略参数
/// <para>时间单位为 1 秒</para>
/// <para>金额单位为 0.01 元</para>
/// <para>电量时单位为 0.01kw</para>
/// </summary>
public UInt32 value07 { get; set; }
/// <summary>
/// 预约/定时启动时间(标准时间)
/// </summary>
public UInt64 value08 { get; set; }
/// <summary>
/// 预约超时时间(单位分钟)
/// </summary>
public byte value09 { get; set; }
/// <summary>
/// 用户卡号/用户识别号(内容只能”0~9、A~Z、a~z 字符 ASCII 码,不够长度填’\0)
/// </summary>
public UInt32 value10 { get; set; }
/// <summary>
/// 断网充电标志
/// <para>0-不允许</para>
/// <para>1-允许</para>
/// </summary>
public byte value11 { get; set; }
/// <summary>
/// 离线时本次最大可充电总电量
/// <para>分辨率 0.01kw若字段 11、12 都是 0表示不限制离线可充电量即允许客户在桩离线时充满电</para>
/// </summary>
public UInt32 value12 { get; set; }
/// <summary>
/// 充电流水号 32
/// </summary>
public string value13 { get; set; }
/// <summary>
/// BMS 辅源电压
/// </summary>
public byte value14 { get; set; }
/// <summary>
/// 用户账号余额
/// </summary>
public UInt32 value15 { get; set; }
/// <summary>
/// 充放电标志
/// </summary>
public byte value16 { get; set; }
}
}