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.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HybirdFrameworkServices
|
|
|
|
|
{
|
|
|
|
|
public class CMD1406
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预留1 长度2byte
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Reserved1 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预留2 长度2byte
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Reserved2 { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取日志类型
|
|
|
|
|
/// 1.bms 日志 2.系统日志 3.记录日志 4.全部日志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte LogType { 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存放日志路径 32
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LogPath { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行方式 1:空闲执行 2:立即执行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte ExecutiveMode { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|