PalletExtend.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. using TeamAAS_VP.Enums;
  8. namespace TeamAAS_VP.Models
  9. {
  10. /// <summary>
  11. /// 托盘扩展
  12. /// </summary>
  13. public class PalletExtend: BindableBase
  14. {
  15. private CoordinateModel _CoordinateModel;
  16. /// <summary>
  17. /// 坐标模式
  18. /// </summary>
  19. public CoordinateModel CoordinateModel
  20. {
  21. get { return _CoordinateModel; }
  22. set { SetProperty(ref _CoordinateModel, value); }
  23. }
  24. private double _Pallet_X_Interval;
  25. /// <summary>
  26. /// 子托盘之间X方向间隔距离
  27. /// </summary>
  28. public double Pallet_X_Interval
  29. {
  30. get { return _Pallet_X_Interval; }
  31. set { SetProperty(ref _Pallet_X_Interval, value); }
  32. }
  33. private double _Pallet_Y_Interval;
  34. /// <summary>
  35. /// 子托盘之间Y方向间隔距离
  36. /// </summary>
  37. public double Pallet_Y_Interval
  38. {
  39. get { return _Pallet_Y_Interval; }
  40. set { SetProperty(ref _Pallet_Y_Interval, value); }
  41. }
  42. private int _Pallet_Row;
  43. /// <summary>
  44. /// 子托盘X方向排列的个数
  45. /// </summary>
  46. public int Pallet_Row
  47. {
  48. get { return _Pallet_Row; }
  49. set { SetProperty(ref _Pallet_Row, value); }
  50. }
  51. private int _Pallet_Column;
  52. /// <summary>
  53. /// 子托盘Y方向排列的个数
  54. /// </summary>
  55. public int Pallet_Column
  56. {
  57. get { return _Pallet_Column; }
  58. set { SetProperty(ref _Pallet_Column, value); }
  59. }
  60. }
  61. }