| 123456789101112131415161718192021222324252627 | 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.TemperatureController{    public class TemperatureDevice : NotifiableItem    {        #region 内部变量        private string _name;        private string _reserviorName;        #endregion        [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }        public string ReserviorName { get { return _reserviorName; } set { _reserviorName = value;InvokePropertyChanged(nameof(ReserviorName)); } }        [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Address { get; set; }    }}
 |