| 123456789101112131415161718192021222324252627282930313233 | 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.PowerSupplier{    public class PowerSupplierDevice : NotifiableItem    {        #region 内部变量        private string _name;        private string _parentName;        private string _address;        #endregion        #region 属性        [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }        public string ParentName { get { return _parentName; } set { _parentName = value; InvokePropertyChanged(nameof(ParentName)); } }        [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "string")]        public string Address { get { return _address;} set { _address = value; InvokePropertyChanged(nameof(Address)); } }        #endregion    }}
 |