using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DTS.SensorDB.TSF { /// /// a calculated channel section entry in a TSF /// each entry can contain /// chan,descrip,processtype,1stchan,2ndchan,3rdchan,value,EU,expmaxrange /// we currently do nothing with the entries in DataPRO /// public class TSFCalculatedChannelEntry : TSFChannel { private int _chan; public int Chan { get { return _chan; } set { _chan = value; } } private string _description; public string Description { get { return _description; } set { _description = value; } } private int _processType; public int ProcessType { get { return _processType; } set { _processType = value; } } private int _firstChan; public int FirstChan { get { return _firstChan; } set { _firstChan = value; } } private int _secondChan; public int SecondChan { get { return _secondChan; } set { _secondChan = value; } } private int _thirdChan; public int ThirdChan { get { return _thirdChan; } set { _thirdChan = value; } } private double _value; public double Value { get { return _value; } set { _value = value; } } private string _eu; public string EU { get { return _eu; } set { _eu = value; } } private double _expMaxRange; public double ExpMaxRange { get { return _expMaxRange; } set { _expMaxRange = value; } } private double _progress2; public double Progress2 { get { return _progress2; } set { _progress2 = value; } } private double _progress3; public double Progress3 { get { return _progress3; } set { _progress3 = value; } } public enum Fields { chan, descrip, processtype, firstchan,//%i secondchan,//%i thirdchan,//%i value,//%f EU,//%s expmaxrange,//%f progress2,//%f progress3 //%f } } }