TempSettingTableSCFeedback.cs 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using MECF.Framework.Common.Utilities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace FurnaceUI.Views.ParameterSC
  8. {
  9. public class TempSettingTableSCFeedback : SCValue
  10. {
  11. public TempSetting TempSetting { get; set; }
  12. public TempSettingTableSCFeedback()
  13. {
  14. TempSetting = new TempSetting();
  15. }
  16. public override void SetKeys()
  17. {
  18. _fieldMap.Clear();
  19. SetKeys(typeof(TempSettingTableSCFeedback), "PM1_RecipeEditParameter_", this);
  20. }
  21. }
  22. public class TempSetting
  23. {
  24. public TempSettingConfig A { get; set; } = new TempSettingConfig();
  25. public TempSettingConfig B { get; set; } = new TempSettingConfig();
  26. public TempSettingConfig C { get; set; } = new TempSettingConfig();
  27. public TempSettingConfig D { get; set; } = new TempSettingConfig();
  28. public TempSettingConfig E { get; set; } = new TempSettingConfig();
  29. public TempSettingConfig F { get; set; } = new TempSettingConfig();
  30. public TempSettingConfig G { get; set; } = new TempSettingConfig();
  31. public TempSettingConfig H { get; set; } = new TempSettingConfig();
  32. public TempSettingConfig I { get; set; } = new TempSettingConfig();
  33. public TempSettingConfig J { get; set; } = new TempSettingConfig();
  34. public TempSettingConfig K { get; set; } = new TempSettingConfig();
  35. public TempSettingConfig L { get; set; } = new TempSettingConfig();
  36. public TempSettingConfig M { get; set; } = new TempSettingConfig();
  37. public TempSettingConfig N { get; set; } = new TempSettingConfig();
  38. public TempSettingConfig O { get; set; } = new TempSettingConfig();
  39. public TempSettingConfig P { get; set; } = new TempSettingConfig();
  40. public TempSettingConfig Q { get; set; } = new TempSettingConfig();
  41. public TempSettingConfig R { get; set; } = new TempSettingConfig();
  42. public TempSettingConfig S { get; set; } = new TempSettingConfig();
  43. public TempSettingConfig T { get; set; } = new TempSettingConfig();
  44. public TempSettingConfig U { get; set; } = new TempSettingConfig();
  45. public TempSettingConfig V { get; set; } = new TempSettingConfig();
  46. public TempSettingConfig W { get; set; } = new TempSettingConfig();
  47. public TempSettingConfig X { get; set; } = new TempSettingConfig();
  48. public TempSettingConfig Y { get; set; } = new TempSettingConfig();
  49. public TempSettingConfig Z { get; set; } = new TempSettingConfig();
  50. public object GetValue(string propertyName)
  51. {
  52. return this.GetType().GetProperty(propertyName).GetValue(this, null);
  53. }
  54. }
  55. public class TempSettingConfig
  56. {
  57. public double Zone0 { get; set; }
  58. public double Zone7 { get; set; }
  59. public double Zone6 { get; set; }
  60. public double Zone5 { get; set; }
  61. public double Zone4 { get; set; }
  62. public double Zone3 { get; set; }
  63. public double Zone2 { get; set; }
  64. public double Zone1 { get; set; }
  65. }
  66. }