|
|
@@ -8,12 +8,35 @@ namespace BPASmart.Model |
|
|
|
{ |
|
|
|
public class PublishModel |
|
|
|
{ |
|
|
|
public string DeviceName { get; set; } |
|
|
|
public string RealAddress { get; set; } |
|
|
|
public string VarName { get; set; } |
|
|
|
public string Value { get; set; } |
|
|
|
/// <summary> |
|
|
|
/// 设备名称 |
|
|
|
/// </summary> |
|
|
|
public string DeviceName { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 变量实际地址 |
|
|
|
/// </summary> |
|
|
|
public string RealAddress { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 变量名称 |
|
|
|
/// </summary> |
|
|
|
public string VarName { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 变量长度 |
|
|
|
/// </summary> |
|
|
|
public int Length { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 变量当前值 |
|
|
|
/// </summary> |
|
|
|
public string Value { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 变量数据类型 |
|
|
|
/// </summary> |
|
|
|
public EDataType DataType { get; set; } |
|
|
|
public int Sleep { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
} |