You can not select more than 25 topics
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.VariableManager.Models
- {
- 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 ObservableCollection<VariableInfo> VarTableModels { get; set; } = new ObservableCollection<VariableInfo>();
-
- }
- }
|