| 123456789101112131415161718192021222324252627282930 | using MECF.Framework.Common.CommonData;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml.Schema;using System.Xml.Serialization;namespace MECF.Framework.Common.Device.ResistivityProbe{    public class ThorntonDevice : NotifiableItem    {        #region 内部变量        private string _name;        private bool _isConnected;        private string _resistivity;        #endregion        [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }        [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Address { get; set; }        public bool IsConnected { get { return _isConnected; } set { _isConnected = value; InvokePropertyChanged(nameof(IsConnected)); } }        public string ResistivityValue { get { return _resistivity; } set { _resistivity = value;InvokePropertyChanged(nameof(ResistivityValue)); } }    }}
 |