using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Application
{
///
///
///
public class SignalMobileDto
{
///
///
///
public SignalMobileDto() { }
///
///
///
///
public SignalMobileDto(Model.Signal_SignalType rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.SignalType = rhs.SignalType.Identifier;
this.ValueType = rhs.SignalType.ValueType;
this.ValueSettings = rhs.SignalType.GetValueSettings();
this.UnitValue = rhs.GetEnUnitName();
this.CoordParas = rhs.GetCoordParas();
this.Description = rhs.Description;
}
///
/// 标识
///
public long ID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 信号类型
///
public string SignalType { get; set; }
///
/// 值类型
///
public Model.Monitor.eValueType ValueType { get; set; }
///
/// 值设置
///
public object ValueSettings { get; set; }
///
/// 显示单位
///
public string UnitValue { get; set; }
///
/// 坐标参数
///
public object CoordParas { get; set; }
///
/// 说明
///
public string Description { get; set; }
}
}