ToolInfo.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace TeamAAS_VP.Models
  8. {
  9. public class ToolInfo : BindableBase
  10. {
  11. public Guid Id { get; set; }
  12. private string _Description;
  13. public string Description
  14. {
  15. get { return _Description; }
  16. set { SetProperty(ref _Description,value); }
  17. }
  18. private double _OffsetX;
  19. public double OffsetX
  20. {
  21. get { return _OffsetX; }
  22. set { SetProperty(ref _OffsetX, value); }
  23. }
  24. private double _OffsetY;
  25. public double OffsetY
  26. {
  27. get { return _OffsetY; }
  28. set { SetProperty(ref _OffsetY, value); }
  29. }
  30. private double _OffsetU;
  31. public double OffsetU
  32. {
  33. get { return _OffsetU; }
  34. set { SetProperty(ref _OffsetU, value); }
  35. }
  36. private double _OffsetZ;
  37. public double OffsetZ
  38. {
  39. get { return _OffsetZ; }
  40. set { SetProperty(ref _OffsetZ, value); }
  41. }
  42. private RobotTool _Tool;
  43. public RobotTool Tool
  44. {
  45. get { return _Tool; }
  46. set { SetProperty(ref _Tool, value); }
  47. }
  48. private RPoint _Pick;
  49. public RPoint Pick
  50. {
  51. get { return _Pick; }
  52. set { SetProperty(ref _Pick, value); }
  53. }
  54. private RPoint _Place;
  55. public RPoint Place
  56. {
  57. get { return _Place; }
  58. set { SetProperty(ref _Place, value); }
  59. }
  60. private PickInfo _PickInfo;
  61. public PickInfo PickInfo
  62. {
  63. get { return _PickInfo; }
  64. set { SetProperty(ref _PickInfo, value); }
  65. }
  66. private bool _IsForward;
  67. /// <summary>
  68. /// 相机与机器人旋转方式相同
  69. /// </summary>
  70. public bool IsForward
  71. {
  72. get { return _IsForward; }
  73. set { SetProperty(ref _IsForward, value); }
  74. }
  75. }
  76. }