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.Persistent.Prewet { public class PrewetPersistentValue : NotifiableItem { #region 内部变量 /// /// 名称 /// private string _name; /// /// 速度 /// private short _speed; /// /// 操作模式 /// private string _operatingMode; /// /// Recipe操作模式 /// private string _recipeOperatingMode; #endregion /// /// 名称 /// [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")] public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } } /// /// 速度 /// public short Speed { get { return _speed; } set { _speed = value; InvokePropertyChanged(nameof(Speed)); } } /// /// 操作模式 /// public string OperatingMode { get { return _operatingMode; } set { _operatingMode = value; InvokePropertyChanged(nameof(OperatingMode)); } } /// /// Recipe操作模式 /// public string RecipeOperatingMode { get { return _recipeOperatingMode; } set { _recipeOperatingMode = value; InvokePropertyChanged(nameof(RecipeOperatingMode)); } } } }