using HslCommunication; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapMachine.Wpf.Dtos { /// /// 手自动切换模型数据 /// public class HandSwitchData : BindableBase { /// /// 名称 /// public string? Name { get; set; } /// /// 动作地址 /// public string? ActionAddress { get; set; } /// /// 状态地址 /// public string? StateAddress { get; set; } /// /// 状态地址类型 /// public HandSwitchStateType StateAddressType { get; set; } private bool _State; /// /// 状态 /// public bool State { get { return _State; } set { _State = value; RaisePropertyChanged(); } } /// /// 状态数据结果-布尔 /// public OperateResult? StateBoolOperateResult { get; set; } /// /// 状态数据结果-字 /// public OperateResult? StateShortOperateResult { get; set; } } /// /// 手自动切换状态类型枚举 /// public enum HandSwitchStateType { /// /// 布尔类型 /// Bool = 1, /// /// 字类型 /// Word = 2, } }