namespace Yw.Application.Health
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class SignalBindingLogicDto
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public SignalBindingLogicDto() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SignalBindingLogicDto(Model.Signal_SignalType rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.SourceType = rhs.SourceType;
|
this.FormatType = rhs.SignalType.FormatType;
|
this.MeasureType = rhs.SignalType.MeasureType;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public SignalBindingLogicDto(Model.Signal_SignalType rhs, HealthQuotaEvaluationModelStdDto model) : this(rhs)
|
{
|
this.BindingModel = model;
|
}
|
|
/// <summary>
|
/// id
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 来源类型
|
/// </summary>
|
public Monitor.eSourceType SourceType { get; set; }
|
|
/// <summary>
|
/// 格式类型
|
/// </summary>
|
public Monitor.eFormatType FormatType { get; set; }
|
|
/// <summary>
|
/// 计量类型
|
/// </summary>
|
public Monitor.eMeasureType MeasureType { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
/// 绑定模型
|
/// </summary>
|
public HealthQuotaEvaluationModelStdDto BindingModel { get; set; }
|
|
}
|
}
|