MachineConfig.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. 
  2. using SKMC.Api.Device.Config;
  3. namespace SKMC.Api.Machine.Config
  4. {
  5. /// <summary>
  6. /// 机台目录配置
  7. /// </summary>
  8. public class MachineCatalogConfig : ConfigBase
  9. {
  10. public bool IsChecked { get; set; }
  11. }
  12. /// <summary>
  13. /// 机台参数配置
  14. /// </summary>
  15. public class MachineParamConfig : ConfigBase
  16. {
  17. private string _group;
  18. public string Group
  19. {
  20. get { return _group; }
  21. set { _group = value; RaisePropertyChanged(); }
  22. }
  23. private string _value;
  24. public string Value
  25. {
  26. get { return _value; }
  27. set { _value = value; RaisePropertyChanged(); }
  28. }
  29. }
  30. ///<summary> 机台原点偏差配置 </summary>
  31. public class MachineOffsetConfig : ConfigBase
  32. {
  33. private double _Offset;
  34. public double Offset
  35. {
  36. get { return _Offset; }
  37. set { _Offset = value; RaisePropertyChanged(); }
  38. }
  39. private long _id;
  40. public long Id
  41. {
  42. get { return _id; }
  43. set { _id = value; RaisePropertyChanged(); }
  44. }
  45. private int _axis_No;
  46. public int Axis_No
  47. {
  48. get { return _axis_No; }
  49. set { _axis_No = value; RaisePropertyChanged(); }
  50. }
  51. private int _merged;
  52. public int Merged
  53. {
  54. get { return _merged; }
  55. set { _merged = value; RaisePropertyChanged(); }
  56. }
  57. }
  58. }