namespace Xylem.Common.Hardware.WaterMeter.WaterMeterCore.Consts
{
///
/// Display codes to keep the user informed about the production and processing step.
/// This is useful as the user doesn't need to connect the device to a PC, he can
/// immediately inspect the status of the device.
///
public enum DisplayCodes
{
//general information
///
/// Status not set
///
None = 0x0000,
///
/// Error state
///
Error = 0xFFFF,
//Production process
//assembly line
//Picking
///
/// Picking in progress
///
PickingStarted = 0x7700,
///
/// Picking succeeded, next step can be initiated
///
PickingTested = 0x7777,
///
/// Picking failed
///
PickingFailed = 0xFF77,
//Pressure
///
/// Pressure testing succeeded, next step can be initiated
///
PressureTested = 0x1111,
///
/// Pressure test failed
///
PressureTestedFailed = 0xFF11,
///
/// Pressure test failed
///
PressureTestedPending = 0x0011,
//Marriage
///
/// Connection between PCBID, Serial Number and Order number done
///
Mounted = 0x2222,
//Test bench
///
/// Zero flow test succeeded, next step can be initiated
///
ZeroFlow = 0x3333,
///
/// Zero flow test failed
///
ZeroFlowFailed = 0xFF33,
///
/// Flow calibration succeeded, next step can be initiated
///
FlowCalibrated = 0x4444,
///
/// Flow calibration failed
///
FlowCalibrationOurOfRange = 0xFF44,
///
/// Flow test succeeded, next step can be initiated
///
FlowTested = 0x5555,
///
/// Flow test failed
///
FlowTestFailed = 0xFF55,
//End of line / final test
///
/// Final test failed, else the display will be switched to operational mode,
/// showing the actual accumulated volume
///
FinalTestFailed = 0xFF66,
//FWUpdate
///
/// FW update is ongoing
///
FwUpdateActive = 0x8888,
///
/// FW update failed
///
FwUpdateFailed = 0xFF88,
///
/// FW update succeeded
///
FwUpToDate = 0x9999,
}
}