1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using MeterVision.model;
- using MeterVision.Util;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MeterVision.db
- {
- //站点表实体对象
- public class TStation
- {
- public string Id { get; set; }
- public string StationId { get; set; }
- public string StationName { get; set; }
- public string DeviceSn { get; set; }
- public string StandId { get; set; }
- public int MeterType { get; set; }
- public double BrightVal { get; set; }
- public int FlowRate { get; set; }
- public string DialRegion { get; set; }
- public int NumCount { get; set; }
- public int IndCount { get; set; }
- public string NumRegion { get; set; }
- public string HtRegion { get; set; }
- public double LastNumUnit { get; set; }
- public double LastIndUnit { get; set; }
- public double LastValue { get; set; }
- public string LastTime { get; set; }
- public string CreateTime { get; set; }
- // 无参构造函数,初始化属性为空值
- public TStation()
- {
- StationId = string.Empty;
- StationName = string.Empty;
- DeviceSn = string.Empty;
- MeterType = 0;
- BrightVal = 1.2;
- FlowRate = 0;
- DialRegion = string.Empty;
- NumCount = 0;
- IndCount = 0;
- NumRegion = string.Empty;
- HtRegion = string.Empty;
- LastNumUnit = 0.0;
- LastIndUnit = 0.0;
- LastValue = 0.0;
- LastTime = string.Empty;
- CreateTime = string.Empty;
- StandId = string.Empty;
- }
- public TStation(StationItem item)
- {
- ObjectHelper.CopyMatchingFields(item, this);
- }
- }
- }
|