81 lines
2.7 KiB
Plaintext
81 lines
2.7 KiB
Plaintext
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace DTS.SensorDB.TSF
|
|
{
|
|
/// <summary>
|
|
/// an entry in the DIM Begin section of a TSF
|
|
/// each entry can contain
|
|
/// Datachan,Rack,Module,Chan,Description,Serial No,Mode,Inverted,EID,Filename,Scale,Filter Mode,Filter Threshold,ISO CODE,Cable Test
|
|
/// we currently do nothing with these entries in DataPRO...
|
|
/// </summary>
|
|
public class TSFDIMEntry : 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 _module;
|
|
public int Module { get { return _module; } set { _module = value; } }
|
|
|
|
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 string _serialNumber;
|
|
public string SerialNumber { get { return _serialNumber; } set { _serialNumber = value; } }
|
|
|
|
private string _mode;
|
|
public string Mode { get { return _mode; } set { _mode = value; } }
|
|
|
|
private int _inverted;
|
|
public int Inverted { get { return _inverted; } set { _inverted = value; } }
|
|
|
|
private string _eid;
|
|
public string EID { get { return _eid; } set { _eid = value; } }
|
|
|
|
private string _filename;
|
|
public string FileName { get { return _filename; } set { _filename = value; } }
|
|
|
|
private double _scale;
|
|
public double Scale { get { return _scale; } set { _scale = value; } }
|
|
|
|
private int _filterMode;
|
|
public int FilterMode { get { return _filterMode; } set { _filterMode = value; } }
|
|
|
|
private double _filterThreshold;
|
|
public double FilterThreshold { get { return _filterThreshold; } set { _filterThreshold = value; } }
|
|
|
|
private string _isocode;
|
|
public string ISOCode { get { return _isocode; } set { _isocode = value; } }
|
|
|
|
private int _cableTest;
|
|
public int CableTest { get { return _cableTest; } set { _cableTest = value; } }
|
|
|
|
public enum Fields
|
|
{
|
|
Datachan,//i
|
|
Rack,//i
|
|
Module,//i
|
|
Chan, //i
|
|
Description,//s
|
|
SerialNo, //s
|
|
Mode, //i?
|
|
Inverted, //i
|
|
EID, //s
|
|
Filename, //s
|
|
Scale, //f
|
|
FilterMode, //i
|
|
FilterThreshold,//f
|
|
ISOCODE,//s
|
|
CableTest//i
|
|
}
|
|
}
|
|
}
|