VSingleDetail.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MeterVision.db
  7. {
  8. public class VSingleDetail
  9. {
  10. public string SingleDetailId { get; set; } // SINGLE_DETAIL_ID
  11. public string CreateTime { get; set; } // CREATE_TIME
  12. public string ResultId { get; set; } // RESULT_ID
  13. public string SrcImage { get; set; } // SRC_IMAGE
  14. public int RunFlag { get; set; } // RUN_FLAG
  15. public string RunTime { get; set; } // RUN_TIME
  16. public string DstImage { get; set; } // DST_IMAGE
  17. public string MeterType { get; set; } // METER_TYPE
  18. public string DigitCount { get; set; } // DIGIT_COUNT
  19. public string PointerCount { get; set; } // POINTER_COUNT
  20. public string LastUnit { get; set; } // LAST_UNIT
  21. public int ResultType { get; set; } // RESULT_TYPE
  22. public string StandValue { get; set; } // STAND_VALUE
  23. public string ResultValue { get; set; } // RESULT_VALUE
  24. public string AiVer { get; set; } // AI_VER
  25. public string DebugInfo { get; set; } // DEBUG_INFO
  26. public string LogPath { get; set; } // LOG_PATH
  27. // 默认构造函数
  28. public VSingleDetail()
  29. {
  30. SingleDetailId = string.Empty;
  31. CreateTime = string.Empty;
  32. ResultId = string.Empty;
  33. SrcImage = string.Empty;
  34. RunFlag = 0;
  35. RunTime = string.Empty;
  36. DstImage = string.Empty;
  37. MeterType = string.Empty;
  38. DigitCount = string.Empty;
  39. PointerCount = string.Empty;
  40. LastUnit = string.Empty;
  41. ResultType = 0;
  42. StandValue = string.Empty;
  43. ResultValue = string.Empty;
  44. AiVer = string.Empty;
  45. DebugInfo = string.Empty;
  46. LogPath = string.Empty;
  47. }
  48. // 重写 ToString 方法,方便输出对象
  49. public override string ToString()
  50. {
  51. return $"{SingleDetailId}, {ResultId}, {SrcImage}, {RunFlag}, {RunTime}, {MeterType}, {DigitCount}";
  52. }
  53. }
  54. }