VPatchDetail.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 VPatchDetail
  9. {
  10. public string PatchDetailId { get; set; } // PATCH_DETAIL_ID
  11. public string CreateTime { get; set; } // CREATE_TIME
  12. public string PatchId { get; set; } // PATCH_ID
  13. public string PatchName { get; set; } // PATCH_NAME
  14. public string ResultId { get; set; } // RESULT_ID
  15. public string SrcImage { get; set; } // SRC_IMAGE
  16. public int RunFlag { get; set; } // RUN_FLAG
  17. public string RunTime { get; set; } // RUN_TIME
  18. public string DstImage { get; set; } // DST_IMAGE
  19. public string MeterType { get; set; } // METER_TYPE
  20. public string DigitCount { get; set; } // DIGIT_COUNT
  21. public string PointerCount { get; set; } // POINTER_COUNT
  22. public string LastUnit { get; set; } // LAST_UNIT
  23. public int ResultType { get; set; } // RESULT_TYPE
  24. public string StandValue { get; set; } // STAND_VALUE
  25. public string ResultValue { get; set; } // RESULT_VALUE
  26. public string AiVer { get; set; } // AI_VER
  27. public string DebugInfo { get; set; } // DEBUG_INFO
  28. public string LogPath { get; set; } // LOG_PATH
  29. // 默认构造函数
  30. public VPatchDetail()
  31. {
  32. PatchDetailId = string.Empty;
  33. CreateTime = string.Empty;
  34. PatchId = string.Empty;
  35. PatchName = string.Empty;
  36. ResultId = string.Empty;
  37. SrcImage = string.Empty;
  38. RunFlag = 0;
  39. RunTime = string.Empty;
  40. DstImage = string.Empty;
  41. MeterType = string.Empty;
  42. DigitCount = string.Empty;
  43. PointerCount = string.Empty;
  44. LastUnit = string.Empty;
  45. ResultType = 0;
  46. StandValue = string.Empty;
  47. ResultValue = string.Empty;
  48. AiVer = string.Empty;
  49. DebugInfo = string.Empty;
  50. LogPath = string.Empty;
  51. }
  52. // 重写 ToString 方法,方便输出对象
  53. public override string ToString()
  54. {
  55. return $"{PatchDetailId}, {PatchName}, {ResultId}, {RunFlag}, {RunTime}, {MeterType}, {DigitCount}";
  56. }
  57. }
  58. }