using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 能效测点分析上下文项
|
/// </summary>
|
public class EtaMonitorPointAnalyContextitem
|
{
|
/// <summary>
|
///
|
/// </summary>
|
/// <param name="monitorPoint"></param>
|
public EtaMonitorPointAnalyContextitem(Model.MonitorPoint monitorPoint)
|
{
|
this.ObjectID = monitorPoint.ID;
|
this.Name = monitorPoint.Name;
|
this.Elevation = monitorPoint.Elevation;
|
this.PipeDia = monitorPoint.PipeDia;
|
this.Flags = monitorPoint.Flags?.ToList();
|
this.TagName = monitorPoint.TagName;
|
this.UseStatus = monitorPoint.UseStatus;
|
}
|
/// <summary>
|
/// 测点标识
|
/// </summary>
|
public long ObjectID { get; set; }
|
|
/// <summary>
|
/// 测点名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 管路标识
|
/// </summary>
|
public long PipeLineID { get; set; }
|
|
/// <summary>
|
/// 标高
|
/// </summary>
|
public double? Elevation { get; set; }
|
|
/// <summary>
|
/// 管径(mm)
|
/// </summary>
|
public double? PipeDia { get; set; }
|
|
/// <summary>
|
/// 信号类型
|
/// </summary>
|
public string SignalType { get; set; }
|
|
/// <summary>
|
/// 标签列表
|
/// </summary>
|
public List<string> Flags { get; set; }
|
|
/// <summary>
|
/// 标签名称
|
/// </summary>
|
public string TagName { get; set; }
|
|
/// <summary>
|
/// 数据值
|
/// </summary>
|
public double DataValue { get; set; }
|
|
/// <summary>
|
/// 使用状态
|
/// </summary>
|
public Model.eUseStatus UseStatus { get; set; }
|
|
|
}
|
}
|