RecipeTemplateColumnBase.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.ObjectModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace MECF.Framework.Common.RecipeCenter
  8. {
  9. public class RecipeTemplateColumnBase
  10. {
  11. public RecipeTemplateColumnBase()
  12. {
  13. IsReadOnly = false;
  14. IsEnable = true;
  15. }
  16. public string ValueType { get; set; }
  17. public bool IsReadOnly { get; set; }
  18. public string ModuleName { get; set; }
  19. public string DisplayName { get; set; }
  20. public string ControlName { get; set; }
  21. public string Description { get; set; }
  22. public bool IsEnable { get; set; }
  23. public string Default { get; set; }
  24. public int SelectedValueIndex { get; set; }
  25. public double Value { get; set; }
  26. public bool EnableConfig { get; set; }
  27. public bool EnableTolerance { get; set; }
  28. public string InputMode { get; set; }
  29. public double Minimun { get; set; }
  30. public double Maximun { get; set; }
  31. public ObservableCollection<Option> Options { get; set; } = new ObservableCollection<Option>();
  32. }
  33. public class Option
  34. {
  35. public string ControlName { get; set; }
  36. public string DisplayName { get; set; }
  37. public string RelatedParameters { get; set; }
  38. }
  39. }