using CMM.Library.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CMM.Library.ViewModel { public class XMonitor : PropertyBase { /// /// 裝置路徑 /// public string MonitorDeviceName { get => _MonitorDeviceName; set { SetProperty(ref _MonitorDeviceName, value); } } string _MonitorDeviceName; /// /// 裝置名稱 /// public string MonitorName { get => _MonitorName; set { SetProperty(ref _MonitorName, value); } } string _MonitorName; /// /// 裝置序號 /// public string SerialNumber { get => _SerialNumber; set { SetProperty(ref _SerialNumber, value); } } string _SerialNumber; /// /// 訊號裝置 /// public string AdapterName { get => _AdapterName; set { SetProperty(ref _AdapterName, value); } } string _AdapterName; /// /// 裝置識別碼 /// public string MonitorID { get => _MonitorID; set { SetProperty(ref _MonitorID, value); } } string _MonitorID; /// /// 狀態 /// public ObservableRangeCollection Status { get => _Status; set { SetProperty(ref _Status, value); } } ObservableRangeCollection _Status = new(); } }