RecipeModel.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Aitex.UI.RecipeEditor
  8. {
  9. public class RecipeModel : INotifyPropertyChanged
  10. {
  11. public string Name { get; set; }
  12. public string RecipeType { get; set; }
  13. public string StepName { get; set; }
  14. public int StepTime { get; set; }
  15. //private string m_StepEndMode;
  16. //public string StepEndMode
  17. //{
  18. // get { return m_StepEndMode; }
  19. // set { m_StepEndMode = value;}
  20. //}
  21. public string StepEndMode { get; set; }
  22. public int MinEndPointTime { get; set; }
  23. public int Pressure { get; set; }
  24. public int SRFPower { get; set; }
  25. public int SRFPowerMax { get; set; }
  26. public int SRFC1Position { get; set; }
  27. public int SRFC2Position { get; set; }
  28. public int BRFPower { get; set; }
  29. public int BRFPowerMax { get; set; }
  30. public int BRFC1Position { get; set; }
  31. public int BRFC2Position { get; set; }
  32. private int m_Gas1;
  33. public int Gas1
  34. {
  35. get { return m_Gas1; }
  36. set { m_Gas1 = value; }
  37. }
  38. public int Gas2 { get; set; }
  39. public int Gas3 { get; set; }
  40. public int Gas4 { get; set; }
  41. public int Gas5 { get; set; }
  42. public int Gas6 { get; set; }
  43. public int Gas7 { get; set; }
  44. public int Gas8 { get; set; }
  45. public int Helium { get; set; }
  46. public int HeliumFlowMax { get; set; }
  47. public int HeliumFlowMin { get; set; }
  48. public int ESCTemperature { get; set; }
  49. public int ESCClampVpltage { get; set; }
  50. //private string m_ValveControlMode;
  51. //public string ValveControlMode
  52. //{
  53. // get { return m_ValveControlMode; }
  54. // set { m_ValveControlMode = value; }
  55. //}
  56. public string ValveControlMode { get; set; }
  57. public int ValvePosition{ get; set; }
  58. public int ValvePresetPosition { get; set; }
  59. public int ValveHoldDelay { get; set; }
  60. public string LiftPinState { get; set; }
  61. public string EndPointType { get; set; }
  62. public event PropertyChangedEventHandler PropertyChanged;
  63. public void InvokePropertyChanged(string propertyName)
  64. {
  65. if (PropertyChanged != null)
  66. {
  67. PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
  68. }
  69. }
  70. }
  71. }