init
This commit is contained in:
51
DataPRO/SensorDB/TSF/G5DigitalInputChannelTSFEntry.cs
Normal file
51
DataPRO/SensorDB/TSF/G5DigitalInputChannelTSFEntry.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace DTS.SensorDB
|
||||
{
|
||||
/// <summary>
|
||||
/// the G5 Digital Input Channels section entry
|
||||
/// each entry can contain
|
||||
/// datachan,rack,mod,chan,descrip,ISOCode,scale,invert
|
||||
/// </summary>
|
||||
public class G5DigtalInputChannelTSFEntry : TSFChannel
|
||||
{
|
||||
private int _dataChan;
|
||||
public int DataChan { get { return _dataChan; } set { _dataChan = value; } }
|
||||
|
||||
private int _rack;
|
||||
public int Rack { get { return _rack; } set { _rack = value; } }
|
||||
|
||||
private int _mod;
|
||||
public int Module { get { return _mod; } set { _mod = value; } }
|
||||
|
||||
private int _chan;
|
||||
public int Chan { get { return _chan; } set { _chan = value; } }
|
||||
|
||||
private string _descripton;
|
||||
public string Descripton { get { return _descripton; } set { _descripton = value; } }
|
||||
|
||||
private string _isocode;
|
||||
public string ISOCode { get { return _isocode; } set { _isocode = value; } }
|
||||
|
||||
private double _scale;
|
||||
public double Scale { get { return _scale; } set { _scale = value; } }
|
||||
|
||||
private bool _invert;
|
||||
public bool Invert { get { return _invert; } set { _invert = value; } }
|
||||
|
||||
public enum Fields
|
||||
{
|
||||
datachan,
|
||||
rack,
|
||||
mod,
|
||||
chan,
|
||||
descrip,
|
||||
ISOCode,
|
||||
scale,
|
||||
invert
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user