2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using System;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.Entities
|
|
|
|
|
|
{
|
2015-11-26 22:51:49 +00:00
|
|
|
|
public enum ProcedureState
|
|
|
|
|
|
{
|
|
|
|
|
|
Active,
|
|
|
|
|
|
History,
|
|
|
|
|
|
Template,
|
|
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Kind of meters for the procedure / test
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum MetersKind
|
|
|
|
|
|
{
|
2015-03-25 04:35:05 +00:00
|
|
|
|
Single,
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Combined,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2015-08-01 20:21:43 +00:00
|
|
|
|
public enum Medium
|
|
|
|
|
|
{
|
|
|
|
|
|
ColdWater,
|
|
|
|
|
|
HotWater,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// <summary>
|
2015-05-22 08:29:56 +00:00
|
|
|
|
/// Transition step is finished when this condition is fulfilled
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// </summary>
|
2015-05-22 08:29:56 +00:00
|
|
|
|
public enum StepCondition
|
2014-07-28 07:54:35 +00:00
|
|
|
|
{
|
2015-05-22 08:29:56 +00:00
|
|
|
|
None,
|
|
|
|
|
|
Scale1Empty,
|
|
|
|
|
|
Scale2Empty,
|
|
|
|
|
|
Scale3Empty,
|
|
|
|
|
|
AllScalesEmpty,
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum TestRedType
|
|
|
|
|
|
{
|
|
|
|
|
|
Fix,
|
|
|
|
|
|
/// etc.
|
|
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum FQC1
|
|
|
|
|
|
{
|
|
|
|
|
|
FQC1,
|
|
|
|
|
|
FQP1,
|
|
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2015-01-18 10:22:53 +00:00
|
|
|
|
public enum Device
|
|
|
|
|
|
{
|
|
|
|
|
|
Screen,
|
|
|
|
|
|
Printer,
|
|
|
|
|
|
Disk,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2015-09-17 22:10:06 +00:00
|
|
|
|
public enum PageOrientation
|
|
|
|
|
|
{
|
|
|
|
|
|
Portrait,
|
|
|
|
|
|
Landscape,
|
|
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2015-04-28 14:32:21 +00:00
|
|
|
|
public enum UnitsVolume
|
|
|
|
|
|
{
|
|
|
|
|
|
Liter,
|
|
|
|
|
|
CubicMtr,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Possible modes of operation of components and devices.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum DebugMode
|
|
|
|
|
|
{
|
|
|
|
|
|
DetectedOff = -2,
|
|
|
|
|
|
DetectedOn = -1,
|
2015-08-24 11:52:06 +00:00
|
|
|
|
Normal = 0, /// Normal operation
|
|
|
|
|
|
AutoDetect, /// The component (device) will be auto-detected
|
|
|
|
|
|
FailureDuringOperation, /// Failure during operation -> disabled
|
|
|
|
|
|
Off, /// The component is off
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Record,
|
|
|
|
|
|
Reply,
|
2015-08-24 11:52:06 +00:00
|
|
|
|
Simulate, /// Test bench simulation, this mode does not require any hardware
|
2014-07-28 07:54:35 +00:00
|
|
|
|
Inherit,
|
|
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum LogLevel
|
|
|
|
|
|
{
|
|
|
|
|
|
Off,
|
|
|
|
|
|
Fatal,
|
|
|
|
|
|
Error,
|
|
|
|
|
|
Warn,
|
|
|
|
|
|
Info,
|
|
|
|
|
|
Debug,
|
|
|
|
|
|
All,
|
|
|
|
|
|
Count,
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|