VStand.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 VStand
  9. {
  10. public string StandId { get; set; } // STAND_ID
  11. public string CreateTime { get; set; } // CREATE_TIME
  12. public string StandName { get; set; } // STAND_NAME
  13. public int StandType { get; set; }
  14. public string StandFile { get; set; }
  15. public int StandCount { get; set; } // 总的 stand_detail 条目数
  16. public string StandName2
  17. {
  18. get
  19. {
  20. //return $"[{StandCount}] {StandName}";
  21. return $"{StandName} [{StandCount}]";
  22. }
  23. }
  24. // 默认构造函数
  25. public VStand()
  26. {
  27. StandId = string.Empty;
  28. CreateTime = string.Empty;
  29. StandName = string.Empty;
  30. StandType = 0;
  31. StandFile = string.Empty;
  32. StandCount = 0;
  33. }
  34. //--------------------------------------------------------------
  35. }
  36. }