/// /// Copyright (c) 2013-2015 Sensus Metering Systems /// using System; using System.Collections.Generic; namespace Config.Entities { /// Identifies the type of a database public enum DBType { MySql, /// MySQL database SQLite, /// SQLite DbTypesCount, } /// Identifies the database based on the content public enum DBKind { Config, Results, Count, } public enum ProcedureState { Active, History, Template, Count, } /// Kind of meters for the procedure / test public enum MetersKind { Single, Combined, } public enum CompoundMeterId : byte { Single, CompoundMain, CompoundAux, Compound, } public enum Medium { ColdWater, HotWater, } /// Transition step is finished when this condition is fulfilled public enum StepCondition { None, Scale1Empty, Scale2Empty, Scale3Empty, AllScalesEmpty, Count, } public enum TestRedType { Fix, /// etc. Count, } public enum FQC1 { FQC1, FQP1, Count, } public enum Progress { JustStarted, TransitionBefore, SwitchingFlowDetection, FlowSetting, Test, TransitionAfter, Completed, Count, } public enum Device { Screen, Printer, Disk, } public enum PageOrientation { Portrait, Landscape, Count, } public enum UnitsVolume { Liter, CubicMtr, } /// Possible modes of operation of components and devices. 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, } }