PhotoCaptureRecord.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. using SqlSugar;
  2. using System;
  3. namespace TeamAAS_VP.Models
  4. {
  5. [SugarTable("PhotoCaptureRecord")]
  6. public class PhotoCaptureRecord
  7. {
  8. [SugarColumn(IsPrimaryKey = true)]
  9. public Guid Id { get; set; } = Guid.NewGuid();
  10. /// <summary>
  11. /// 拍照时间
  12. /// </summary>
  13. public DateTime CaptureTime { get; set; } = DateTime.Now;
  14. /// <summary>
  15. /// 配方名
  16. /// </summary>
  17. [SugarColumn(Length = 255, IsNullable = true)]
  18. public string RecipeName { get; set; }
  19. /// <summary>
  20. /// 产品序列号
  21. /// </summary>
  22. [SugarColumn(Length = 255, IsNullable = true)]
  23. public string ProductSN { get; set; }
  24. /// <summary>
  25. /// 相机名
  26. /// </summary>
  27. [SugarColumn(Length = 255, IsNullable = true)]
  28. public string CameraName { get; set; }
  29. /// <summary>
  30. /// 流程名
  31. /// </summary>
  32. [SugarColumn(Length = 255, IsNullable = true)]
  33. public string ProcessName { get; set; }
  34. /// <summary>
  35. /// 位置编号
  36. /// </summary>
  37. public int PositionIndex { get; set; }
  38. /// <summary>
  39. /// 是否成功
  40. /// </summary>
  41. public bool IsSuccess { get; set; }
  42. /// <summary>
  43. /// 机器人拍照位置
  44. /// </summary>
  45. [SugarColumn(Length = 255, IsNullable = true)]
  46. public string RobotPosition { get; set; }
  47. /// <summary>
  48. /// 像素坐标
  49. /// </summary>
  50. [SugarColumn(Length = 255, IsNullable = true)]
  51. public string PixelPosition { get; set; }
  52. /// <summary>
  53. /// 绝对坐标
  54. /// </summary>
  55. [SugarColumn(Length = 255, IsNullable = true)]
  56. public string AbsolutePosition { get; set; }
  57. /// <summary>
  58. /// 图片路径
  59. /// </summary>
  60. [SugarColumn(Length = 1000, IsNullable = true)]
  61. public string ImagePath { get; set; }
  62. /// <summary>
  63. /// 备注
  64. /// </summary>
  65. [SugarColumn(Length = 1000, IsNullable = true)]
  66. public string Remarks { get; set; }
  67. /// <summary>
  68. /// 当前的操作员名称
  69. /// </summary>
  70. [SugarColumn(Length = 255, IsNullable = true)]
  71. public string OperatorName { get; set; }
  72. }
  73. }