tbf/Config/Entities/Enums.cs

134 lines
1.9 KiB
C#
Raw Normal View History

///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
using System;
using System.Collections.Generic;
namespace Config.Entities
{
2015-12-31 17:20:03 +00:00
/// <summary> Identifies the type of a database </summary>
public enum DBType
{
MySql, /// MySQL database
SQLite, /// SQLite
DbTypesCount,
}
public enum ProcedureState
{
Active,
History,
Template,
Count,
}
/// <summary>
/// Kind of meters for the procedure / test
/// </summary>
public enum MetersKind
{
Single,
Combined,
}
public enum Medium
{
ColdWater,
HotWater,
}
/// <summary>
/// Transition step is finished when this condition is fulfilled
/// </summary>
public enum StepCondition
{
None,
Scale1Empty,
Scale2Empty,
Scale3Empty,
AllScalesEmpty,
Count,
}
public enum TestRedType
{
Fix,
/// etc.
Count,
}
public enum FQC1
{
FQC1,
FQP1,
Count,
}
public enum Device
{
Screen,
Printer,
Disk,
}
public enum PageOrientation
{
Portrait,
Landscape,
Count,
}
public enum UnitsVolume
{
Liter,
CubicMtr,
}
/// <summary>
/// Possible modes of operation of components and devices.
/// </summary>
public enum DebugMode
{
DetectedOff = -2,
DetectedOn = -1,
Normal = 0, /// Normal operation
AutoDetect, /// The component (device) will be auto-detected
FailureDuringOperation, /// Failure during operation -> disabled
Off, /// The component is off
Record,
Reply,
Simulate, /// Test bench simulation, this mode does not require any hardware
Inherit,
Count,
}
public enum LogLevel
{
Off,
Fatal,
Error,
Warn,
Info,
Debug,
All,
Count,
}
/// Arrangement of tests
public enum TestsArrangement
{
Rows,
Columns,
}
/// Arrangement of meters
public enum MetersArrangement
{
Vertically,
Horizontally,
}
}