12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MeterVision.db
- {
- public class VStand
- {
- public string StandId { get; set; } // STAND_ID
- public string CreateTime { get; set; } // CREATE_TIME
- public string StandName { get; set; } // STAND_NAME
- public int StandType { get; set; }
- public string StandFile { get; set; }
- public int StandCount { get; set; } // 总的 stand_detail 条目数
- public string StandName2
- {
- get
- {
- //return $"[{StandCount}] {StandName}";
- return $"{StandName} [{StandCount}]";
- }
- }
- // 默认构造函数
- public VStand()
- {
- StandId = string.Empty;
- CreateTime = string.Empty;
- StandName = string.Empty;
- StandType = 0;
- StandFile = string.Empty;
- StandCount = 0;
- }
- //--------------------------------------------------------------
- }
- }
|