|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HybirdFrameworkServices
|
|
|
|
|
{
|
|
|
|
|
public class CMD1401
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预留1 长度2byte
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Reserved1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预留2 长度2byte
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Reserved2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 升级软件文件版本号
|
|
|
|
|
/// HEX 整形,例如:209.02 表示为:A6 51
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UpFileVersioNum { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// FTP 服务器 IP 地址 32
|
|
|
|
|
/// 例:IP:16.80.1.20 指令为:0x10 0x50 0x01 0x14
|
|
|
|
|
///该字段为空时,使用本地默认FTP 地址。建议默认使用 IP 方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ServerIP { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ftp用户名 16byte 不足补)0x00 16
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ftp密码 16byte 不足补)0x00 16
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ftp下载路径 64byte 64
|
|
|
|
|
///字符串,不足补 0x00,示例:
|
|
|
|
|
/// ftp://172.16.4.254/SINEXCEL
|
|
|
|
|
///dcharg.bin 情况下:
|
|
|
|
|
///此字段填充
|
|
|
|
|
///”/SINEXCEL /dcharg.bin”
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DownloadPath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行方式 1:空闲执行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte ExecutiveMode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本次升级设备类型
|
|
|
|
|
/// <para>0/1: 交 直 流 主 监 控 板(TCU/S7/S1/交流桩)</para>
|
|
|
|
|
/// <para>2:CCU -充电控制器</para>
|
|
|
|
|
/// <para>3:DCDC 模块</para>
|
|
|
|
|
/// <para>4:ACDC 模块</para>
|
|
|
|
|
/// <para>5: 群充控制器</para>
|
|
|
|
|
/// <para>6:分体机主机控制器</para>
|
|
|
|
|
/// <para>7.V6-STM32-AC V6 交流桩</para>
|
|
|
|
|
/// <para>8.V6-GD-AC V6 交流桩</para>
|
|
|
|
|
/// <para>若没有下发此字段,默认就是升级充电机 TCU/S1/S7 主控制器</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte DeviceType { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|