25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Microsoft.Toolkit.Mvvm.Input;
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmart.Model
- {
- public class CommunicationModel : NoticeBase
- {
-
- /// <summary>
- /// 通讯设备
- /// </summary>
- [JsonProperty(TypeNameHandling = TypeNameHandling.Auto)]
- public ICommunicationDevice CommDevice { get { return _mCommDevice; } set { _mCommDevice = value; OnPropertyChanged(); } }
- private ICommunicationDevice _mCommDevice;
-
-
- /// <summary>
- /// 是否激活
- /// </summary>
- public bool IsActive { get { return _mIsActive; } set { _mIsActive = value; OnPropertyChanged(); } }
- private bool _mIsActive = true;
-
-
- /// <summary>
- /// 新增设备名称
- /// </summary>
- public string DeviceName { get { return _mDeviceName; } set { _mDeviceName = value; OnPropertyChanged(); } }
- private string _mDeviceName;
-
- /// <summary>
- /// 通讯模块名称
- /// </summary>
- public string ModelName { get { return _mModelName; } set { _mModelName = value; OnPropertyChanged(); } }
- private string _mModelName;
-
- /// <summary>
- /// 变量表数据
- /// </summary>
- public ObservableCollection<VariableInfo> VarTableModels { get; set; } = new ObservableCollection<VariableInfo>();
-
- }
- }
|