FixedUpCameraFindP0Info.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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.Calibration
  8. {
  9. public class FixedUpCameraFindP0Info : BindableBase
  10. {
  11. private Guid _CameraId;
  12. /// <summary>
  13. /// 下相机的id
  14. /// </summary>
  15. public Guid CameraId
  16. {
  17. get { return _CameraId; }
  18. set { SetProperty(ref _CameraId, value); }
  19. }
  20. private string _CameraName;
  21. /// <summary>
  22. /// 相机名称
  23. /// </summary>
  24. public string CameraName
  25. {
  26. get { return _CameraName; }
  27. set { SetProperty(ref _CameraName, value); }
  28. }
  29. private Guid _CalibrationId;
  30. /// <summary>
  31. /// 校准ID
  32. /// </summary>
  33. public Guid CalibrationId
  34. {
  35. get { return _CalibrationId; }
  36. set { SetProperty(ref _CalibrationId, value); }
  37. }
  38. private string _CalibrationName;
  39. /// <summary>
  40. /// 校准名称
  41. /// </summary>
  42. public string CalibrationName
  43. {
  44. get { return _CalibrationName; }
  45. set { SetProperty(ref _CalibrationName, value); }
  46. }
  47. private float _ExposureTime;
  48. /// <summary>
  49. /// 相机曝光时间
  50. /// </summary>
  51. public float ExposureTime
  52. {
  53. get { return _ExposureTime; }
  54. set { SetProperty(ref _ExposureTime, value); }
  55. }
  56. private float _Gain;
  57. /// <summary>
  58. /// 相机增益
  59. /// </summary>
  60. public float Gain
  61. {
  62. get { return _Gain; }
  63. set { SetProperty(ref _Gain, value); }
  64. }
  65. public FixedUpCameraFindP0Info()
  66. {
  67. }
  68. public FixedUpCameraFindP0Info(Guid cameraId, string cameraName, Guid calibrationId, string calibrationName, float exposureTime, float gain)
  69. {
  70. CameraId = cameraId;
  71. CameraName = cameraName;
  72. CalibrationId = calibrationId;
  73. CalibrationName = calibrationName;
  74. ExposureTime = exposureTime;
  75. Gain = gain;
  76. }
  77. }
  78. }