using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace TProduct.Model
|
{
|
//用仪表的测量信号信息
|
public class InstrumentMeasureInfo
|
{
|
public InstrumentMeasureInfo(TProduct.Model.eMonitorType type, string name, double coeff)
|
{
|
MeasureType = type;
|
MeasureName = name;
|
DataCoefficient = coeff;
|
}
|
|
//public InstrumentMeasureInfo(TProduct.Model.AnalogPollInfo pollInfo)
|
//{
|
// MeasureType = pollInfo.MeasureType;
|
// MeasureName = pollInfo.MeasureName;
|
// DataCoefficient = pollInfo.DataCoefficient;
|
//}
|
|
public TProduct.Model.eMonitorType MeasureType;
|
public string MeasureName;//信号名称(信号类型可能一样,但信号名称肯定独一无二,如2个流量)
|
//注意这个是AnalogPollInfo和RS485PollInfo中的DataCoefficient,在UserGaugeControl中使用
|
public double DataCoefficient = 1;
|
}
|
}
|