PickInfo.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using Newtonsoft.Json;
  2. using Prism.Mvvm;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using TeamAAS.Robot.Enums;
  9. namespace TeamAAS.Robot.Models
  10. {
  11. /// <summary>
  12. /// 取料方式
  13. /// </summary>
  14. public class PickInfo : TeamAAS.BindableBase
  15. {
  16. private PickPlaceModel _PickPlaceModel;
  17. /// <summary>
  18. /// 取料方式
  19. /// </summary>
  20. public PickPlaceModel PickPlaceModel
  21. {
  22. get { return _PickPlaceModel; }
  23. set { SetProperty(ref _PickPlaceModel,value); }
  24. }
  25. private int _Inhal = -1;
  26. /// <summary>
  27. /// 吸气/夹紧
  28. /// </summary>
  29. public int Inhal
  30. {
  31. get { return _Inhal; }
  32. set { SetProperty(ref _Inhal, value); }
  33. }
  34. private int _Blow = -1;
  35. /// <summary>
  36. /// 吹气/松开
  37. /// </summary>
  38. public int Blow
  39. {
  40. get { return _Blow; }
  41. set { SetProperty(ref _Blow, value); }
  42. }
  43. public PickInfo Clone()
  44. {
  45. return new PickInfo()
  46. {
  47. PickPlaceModel = this.PickPlaceModel,
  48. Inhal = this.Inhal,
  49. Blow = this.Blow
  50. };
  51. }
  52. }
  53. }