#region << 版 本 注 释 >>
/*----------------------------------------------------------------
* 命名空间:WIDESEAWCS_QuartzJob
* 创建者:胡童庆
* 创建时间:2024/8/2 16:13:36
* 版本:V1.0.0
* 描述:设备协议DTO
*
* ----------------------------------------------------------------
* 修改人:
* 修改时间:
* 版本:V1.0.1
* 修改说明:
*
*----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WIDESEAWCS_QuartzJob.DTO
{
public class DeviceProDTO
{
///
/// 协议主键
///
public int DeviceProId { get; set; }
///
/// 设备信息主键
///
public int DeviceId { get; set; }
///
/// 子设备编号
///
public string DeviceChildCode { get; set; }
///
/// 协议数据块
///
public string DeviceProDataBlock { get; set; }
///
/// 偏移量
///
public decimal DeviceProOffset { get; set; }
///
/// 协议地址
///
public string DeviceProAddress
{
get
{
return DeviceProDataBlock + "." + DeviceProOffset;
}
}
///
/// 数据类型
///
public string DeviceDataType { get; set; }
///
/// 数据长度
///
public int DeviceProDataLength { get; set; }
///
/// 参数名称
///
public string DeviceProParamName { get; set; }
///
/// 参数类型
///
public string DeviceProParamType { get; set; }
///
/// 参数说明
///
public string DeviceProParamDes { get; set; }
}
}