RinsePersistentValue.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using MECF.Framework.Common.CommonData;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Xml.Schema;
  8. using System.Xml.Serialization;
  9. namespace MECF.Framework.Common.Persistent.Rinse
  10. {
  11. public class RinsePersistentValue : NotifiableItem
  12. {
  13. #region 内部变量
  14. /// <summary>
  15. /// 名称
  16. /// </summary>
  17. private string _name;
  18. /// <summary>
  19. /// 操作模式
  20. /// </summary>
  21. private string _operatingMode;
  22. /// <summary>
  23. /// Recipe操作模式
  24. /// </summary>
  25. private string _recipeOperatingMode;
  26. #endregion
  27. /// <summary>
  28. /// 名称
  29. /// </summary>
  30. [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
  31. public string Name { get { return _name; } set { _name = value; InvokePropertyChanged(nameof(Name)); } }
  32. /// <summary>
  33. /// 操作模式
  34. /// </summary>
  35. public string OperatingMode { get { return _operatingMode; } set { _operatingMode = value; InvokePropertyChanged(nameof(OperatingMode)); } }
  36. /// <summary>
  37. /// Recipe操作模式
  38. /// </summary>
  39. public string RecipeOperatingMode { get { return _recipeOperatingMode; } set { _recipeOperatingMode = value; InvokePropertyChanged(nameof(RecipeOperatingMode)); } }
  40. }
  41. }