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.

66 lines
2.2 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 HybirdFrameworkEntity
{
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
/// 例IP16.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; }
}
}