tbf/TestBenchFramework/UiBridge/Enums.cs

58 lines
1.1 KiB
C#

///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
namespace TBF.UiBridge
{
/// UI command ID-s used by UiBridge
public enum UI2BenchCmd
{
None = 0,
StartTest,
StartQ1,
StartQ2,
StartQ3,
StartCycle,
Stop,
PurgeBegin,
PurgeEnd,
EmptyTank1,
EmptyTank2,
EmptyTank3,
Break,
ResetResults,
AcceptResults,
Calibration,
SensitivityTest,
CameraTest,
B1,
B2,
B3,
Next, /// Used for debugging
}
public enum ButtonsEtc
{
None = 0,
ProcedureCmbBoxEn = 0x1,
TestCmbBoxEn = 0x2,
StopBtnEn = 0x4,
StartTestBtnsEn = 0x8,
StartCycleBtnEn = 0x10,
PurgeBeginBtnEn = 0x20,
PurgeEndBtnEn = 0x40,
EmptyTankBtn1En = 0x80,
EmptyTankBtn2En = 0x100,
EmptyTankBtn3En = 0x200,
Break = 0x400,
ResetResultsBtnEn = 0x800,
AcceptResultsBtnEn = 0x1000,
CalibrationBtnEn = 0x2000,
SensitivityTestBtnEn = 0x4000,
/// If one of the following flags is set, flags 0x1 through 0x2000 are ignored
///
ShowBenchEmpty = 0x1000000,
ShowBenchFilled = 0x2000000,
}
}