FeederWork.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Team.FFFeederService.Models;
  9. using TeamAAS_VP.Enums;
  10. namespace TeamAAS_VP.Models
  11. {
  12. /// <summary>
  13. /// Feeder振动工作
  14. /// </summary>
  15. public class FeederWork : BindableBase
  16. {
  17. private int _Step;
  18. /// <summary>
  19. /// 步骤
  20. /// </summary>
  21. public int Step
  22. {
  23. get { return _Step; }
  24. set { SetProperty(ref _Step, value); }
  25. }
  26. private VibrationFunction _Function;
  27. /// <summary>
  28. /// 功能码
  29. /// </summary>
  30. public VibrationFunction Function
  31. {
  32. get { return _Function; }
  33. set { SetProperty(ref _Function, value); }
  34. }
  35. private SingleActionParam _SingleAction;
  36. /// <summary>
  37. /// 电机参数
  38. /// </summary>
  39. public SingleActionParam SingleAction
  40. {
  41. get { return _SingleAction; }
  42. set { SetProperty(ref _SingleAction, value); }
  43. }
  44. private int _Duration;
  45. /// <summary>
  46. /// 持续时间
  47. /// </summary>
  48. public int Duration
  49. {
  50. get { return _Duration; }
  51. set { SetProperty(ref _Duration, value); }
  52. }
  53. //Afag参数
  54. private int _ConfigIndex;
  55. /// <summary>
  56. /// 配置编号
  57. /// </summary>
  58. public int ConfigIndex
  59. {
  60. get { return _ConfigIndex; }
  61. set { SetProperty(ref _ConfigIndex, value); }
  62. }
  63. private double _Intensity;
  64. /// <summary>
  65. /// 振动强度
  66. /// </summary>
  67. public double Intensity
  68. {
  69. get { return _Intensity; }
  70. set { SetProperty(ref _Intensity, value); }
  71. }
  72. private double _Direction;
  73. /// <summary>
  74. /// 方向
  75. /// </summary>
  76. public double Direction
  77. {
  78. get { return _Direction; }
  79. set { SetProperty(ref _Direction, value); }
  80. }
  81. }
  82. }