using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MeterVision.db { public class VSingleDetail { public string SingleDetailId { get; set; } // SINGLE_DETAIL_ID public string CreateTime { get; set; } // CREATE_TIME public string ResultId { get; set; } // RESULT_ID public string SrcImage { get; set; } // SRC_IMAGE public int RunFlag { get; set; } // RUN_FLAG public string RunTime { get; set; } // RUN_TIME public string DstImage { get; set; } // DST_IMAGE public string MeterType { get; set; } // METER_TYPE public string DigitCount { get; set; } // DIGIT_COUNT public string PointerCount { get; set; } // POINTER_COUNT public string LastUnit { get; set; } // LAST_UNIT public int ResultType { get; set; } // RESULT_TYPE public string StandValue { get; set; } // STAND_VALUE public string ResultValue { get; set; } // RESULT_VALUE public string AiVer { get; set; } // AI_VER public string DebugInfo { get; set; } // DEBUG_INFO public string LogPath { get; set; } // LOG_PATH // 默认构造函数 public VSingleDetail() { SingleDetailId = string.Empty; CreateTime = string.Empty; ResultId = string.Empty; SrcImage = string.Empty; RunFlag = 0; RunTime = string.Empty; DstImage = string.Empty; MeterType = string.Empty; DigitCount = string.Empty; PointerCount = string.Empty; LastUnit = string.Empty; ResultType = 0; StandValue = string.Empty; ResultValue = string.Empty; AiVer = string.Empty; DebugInfo = string.Empty; LogPath = string.Empty; } // 重写 ToString 方法,方便输出对象 public override string ToString() { return $"{SingleDetailId}, {ResultId}, {SrcImage}, {RunFlag}, {RunTime}, {MeterType}, {DigitCount}"; } } }