2018-09-11 11:39:33 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2018 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.Output
|
|
|
|
|
|
{
|
2018-09-19 05:50:49 +00:00
|
|
|
|
public enum Range
|
|
|
|
|
|
{
|
|
|
|
|
|
R90_100,
|
|
|
|
|
|
R100_110,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-09-11 11:39:33 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Information extracted from VT_PRUEFPUNKT_SOLL_SD for a given watermeter by query:
|
|
|
|
|
|
/// SELECT * FROM VT_PRUEFPUNKT_SOLL_SD WHERE ANBID=4 AND ID_WZTyp=x AND Rev_WZTyp=y
|
|
|
|
|
|
///
|
|
|
|
|
|
public class SensusTestInfo
|
|
|
|
|
|
{
|
2018-09-19 05:50:49 +00:00
|
|
|
|
public int PruefungsNr; /// Identification of a flow
|
|
|
|
|
|
public string PruefungsNrStr; /// Identification of a flow - string form for log files
|
|
|
|
|
|
public string QBezeichnung; /// Flow name in Oracle database
|
|
|
|
|
|
public Range Range; /// Range.R90_100 or Range.R100_110 (flow range in % of a target flow)
|
|
|
|
|
|
public string TestName; /// Test name in TBF procedures
|
2018-09-11 11:39:33 +00:00
|
|
|
|
|
2018-09-19 05:50:49 +00:00
|
|
|
|
public SensusTestInfo(int prNr, string prNrStr, string qBz, Range range, string testName)
|
2018-09-11 11:39:33 +00:00
|
|
|
|
{
|
|
|
|
|
|
PruefungsNr = prNr;
|
|
|
|
|
|
PruefungsNrStr = prNrStr;
|
|
|
|
|
|
QBezeichnung = qBz;
|
2018-09-19 05:50:49 +00:00
|
|
|
|
Range = range;
|
2018-09-11 11:39:33 +00:00
|
|
|
|
TestName = testName;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|