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.

290 lines
8.9 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 CMD104
{
/// <summary>
/// 预留
/// </summary>
public UInt16 value01 { get; set; }
/// <summary>
/// 预留
/// </summary>
public UInt16 value02 { get; set; }
/// <summary>
/// 充电桩编码 32
/// </summary>
public string value03 {get; set; }
/// <summary>
/// 充电枪数量
/// </summary>
public byte value04 { get; set; }
/// <summary>
/// 充电口(枪)号
/// 编码从 1 开始,如有 2 枪,那这
/// 个字段的值为 1、2 两个值
/// </summary>
public byte value05 { get; set; }
/// <summary>
/// 充电枪类型 BIT0~BIT1:
/// <para>1=直流;</para>
/// <para>2=交流;</para>
/// </summary>
public byte value06 { get; set; }
/// <summary>
/// 工作状态
/// <para>0-空闲中</para>
/// <para>1-正准备开始充电</para>
/// <para>2-充电进行中</para>
/// <para>3-充电结束</para>
/// <para>4-启动失败</para>
/// <para>5-预约状态</para>
/// <para>6-系统故障(不能给汽车充电)</para>
/// <para>7-暂停服务</para>
/// </summary>
public byte value07 { get; set; }
/// <summary>
/// 当前 SOC %
/// </summary>
public byte value08 { get; set; }
/// <summary>
/// 当前最高告警编码
/// </summary>
public string value09 { get; set; }
/// <summary>
/// 车连接状态
/// 0- 断开 1-半连接 2-连接
/// 直流目前只有 0 和 2 状态
/// 交流目前有 0、1、2 三种状态
/// 只有状态不为 0 时,手机才能下
/// 发开机指令
/// </summary>
public byte value10 { get; set; }
/// <summary>
/// 本次充电累计充电费用
/// 从本次充电开始到目前的累计
/// 充电费用(包括电费与服务费),
/// 这里是整型,要乘以 0.01 才能
/// 得到真实的金额
/// </summary>
public float value11 { get; set; }
/// <summary>
/// 内部变量 2
/// </summary>
public UInt32 value12 { get; set; }
/// <summary>
/// 内部变量 3
/// </summary>
public UInt32 value13 { get; set; }
/// <summary>
/// 直流充电电压
/// </summary>
public UInt16 value14 { get; set; }
/// <summary>
/// 直流充电电流
/// </summary>
public UInt16 value15 { get; set; }
/// <summary>
/// BMS 需求电压
/// </summary>
public UInt16 value16 { get; set; }
/// <summary>
/// BMS 需求电流
/// </summary>
public UInt16 value17 { get; set; }
/// <summary>
/// BMS 充电模式
/// </summary>
public byte value18 { get; set; }
/// <summary>
/// 交流 A 相充电电压
/// </summary>
public UInt16 value19 { get; set; }
/// <summary>
/// 交流 B 相充电电压
/// </summary>
public UInt16 value20 { get; set; }
/// <summary>
/// 交流 C 相充电电压
/// </summary>
public UInt16 value21 { get; set; }
/// <summary>
/// 交流 A 相充电电流
/// </summary>
public UInt16 value22 { get; set; }
/// <summary>
/// 交流 B 相充电电流
/// </summary>
public UInt16 value23 { get; set; }
/// <summary>
/// 交流 C 相充电电流
/// </summary>
public UInt16 value24 { get; set; }
/// <summary>
/// 剩余充电时间(min
/// </summary>
public UInt16 value25 { get; set; }
/// <summary>
/// 充电时长(秒)
/// </summary>
public UInt32 value26 { get; set; }
/// <summary>
/// 本次充电累计充电电量0.01kwh
/// </summary>
public UInt32 value27 { get; set; }
/// <summary>
/// 充电前电表读数
/// </summary>
public float value28 { get; set; }
/// <summary>
/// 当前电表读数
/// </summary>
public float value29 { get; set; }
/// <summary>
/// 充电启动方式
/// <para>0本地刷卡启动</para>
/// <para>1后台启动</para>
/// <para>2本地管理员启动</para>
/// <para>3远程 VIN 验证启动</para>
/// <para>4远程密码验证启动</para>
/// <para>5本地 VIN 验证启动</para>
/// <para>6迪文界面流程启动</para>
/// </summary>
public byte value30 { get; set; }
/// <summary>
/// 充电策略
/// <para>0 自动充满</para>
/// <para>1 按时间充满</para>
/// <para>2 定金额</para>
/// <para>3 按电量充满</para>
/// </summary>
public byte value31 { get; set; }
/// <summary>
/// 充电策略参数
/// 时间单位为 1 秒
/// 金额单位为 0.01 元
/// 电量时单位为 0.01kw
/// </summary>
public UInt32 value32 { get; set; }
/// <summary>
/// 预约标志
/// <para>0-无预约(无效)</para>
/// <para>1-预约有效</para>
/// </summary>
public byte value33 { get; set; }
/// <summary>
/// 充电/预约卡号
/// </summary>
public string value34 { get;set; }
/// <summary>
/// 预约超时时间 单位分钟
/// </summary>
public byte value35 { get; set; }
/// <summary>
/// 预约/开始充电开始时间
/// </summary>
public string value36 { get; set; }
/// <summary>
/// 充电前卡余额
/// </summary>
public UInt32 value37 { get; set; }
/// <summary>
/// 预留
/// </summary>
public UInt32 value38 { get; set; }
/// <summary>
/// 充电功率 0.1Kw/BIT
/// </summary>
public float value39 { get; set; }
/// <summary>
/// 系统变量 3
/// </summary>
public UInt32 value40 { get; set; }
/// <summary>
/// 系统变量 4
/// </summary>
public UInt32 value41 { get; set; }
/// <summary>
/// 系统变量 5
/// </summary>
public UInt32 value42 { get; set; }
/// <summary>
/// 出风口温度
/// </summary>
public byte value43 { get; set; }
/// <summary>
/// 环境温度
/// </summary>
public byte value44 { get; set; }
/// <summary>
/// 充电枪温度
/// </summary>
public byte value45 { get; set; }
/// <summary>
/// 车辆 VIN 码
/// </summary>
public string value46 { get; set; }
/// <summary>
/// 舱门状态
/// BIT0:
/// 0不在舱-开门;
/// 1在舱-关门
/// BIT1:
/// 0充电用户不允许限充电功率
/// 1充电用户允许限充电功率
/// </summary>
public byte value47 { get; set; }
/// <summary>
/// 充电流水号 32
/// </summary>
public string value48 { get;set; }
/// <summary>
/// 本次充电累计充电电费
/// </summary>
public UInt32 value49 { get; set; }
/// <summary>
/// 本次充电累计充电服务费
/// </summary>
public UInt32 value50 { get; set; }
/// <summary>
/// 枪归位状态
/// <para>0归位</para>
/// <para>1离位</para>
/// </summary>
public byte value51 { get; set; }
/// <summary>
/// 地锁状态 1
/// <para>0开锁</para>
/// <para>1闭锁</para>
/// </summary>
public byte value52 { get; set; }
/// <summary>
/// 千分位电量
/// </summary>
public byte value53 { get; set; }
/// <summary>
/// 直流桩交流电表电量
/// </summary>
public string value54 { get; set; }
/// <summary>
/// 当前充电模式
/// <para>0/1-单枪充电</para>
/// <para>2-单机柜双枪并充充电</para>
/// <para>3-双机柜双枪并充充电</para>
/// </summary>
public byte value55 { get; set; }
/// <summary>
/// 充放电标志
/// 1-充电
/// 0xf1-放电
/// 非协议定义值,都表示充电
/// </summary>
public byte value56 { get; set; }
}
}