更改了报警地址
复位地址 数据记录进行了校验
This commit is contained in:
@@ -28,6 +28,10 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// </summary>
|
||||
public string? StateAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态地址类型
|
||||
/// </summary>
|
||||
public HandSwitchStateType StateAddressType { get; set; }
|
||||
|
||||
private bool _State;
|
||||
/// <summary>
|
||||
@@ -40,8 +44,30 @@ namespace CapMachine.Wpf.Dtos
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数据结果
|
||||
/// 状态数据结果-布尔
|
||||
/// </summary>
|
||||
public OperateResult<bool>? StateOperateResult { get; set; }
|
||||
public OperateResult<bool>? StateBoolOperateResult { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态数据结果-字
|
||||
/// </summary>
|
||||
public OperateResult<short>? StateShortOperateResult { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 手自动切换状态类型枚举
|
||||
/// </summary>
|
||||
public enum HandSwitchStateType
|
||||
{
|
||||
/// <summary>
|
||||
/// 布尔类型
|
||||
/// </summary>
|
||||
Bool = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 字类型
|
||||
/// </summary>
|
||||
Word = 2,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user