О, нас уже двое :) // list of user interface states
// state name state name engl state name german parameters
// basic functions:
STATE ( Restart , "Restart" , "Neustart" , 0 )
STATE ( SelfTest , "Self-test" , "Selbsttest" , CLR+STN )
STATE ( Waiting , "Ready" , "Bereit" , 0 )
STATE ( Normal , "System active" , "System aktiv" , CLR )
//STATE ( FinalFilling , "Final filling" , "" , CLR+STN )
STATE ( Error , "Error" , "Fehler" , CLR )
STATE ( LowPower , "Low power" , "Unterspannung" , 0 )
STATE ( Backup , "Backup" , "Backup" , CLR )
STATE ( ServiceRequest , "Service request" , "Service notwend." , CLR+STN )
STATE ( StoreProcess , "Store process" , "Prozess sichern" , 0 )
//STATE ( SwitchOffRequest , "switch OFF?" , "Ausschalten?" , CLR+STN )
//STATE ( SwitchOffState , "----- OFF ----- " , "----- AUS ----- " , CLR+STN )
//STATE ( SwitchOnState , " Switch ON ?" , "Einschalten?" , CLR+STN )
//STATE ( AutoAirDeleting , "Air out = "ENTER , "Entl"uuml"ften="ENTER , CLR+STN )
//STATE ( AirDeletingOk , "Air out = OK!" , "Entl"uuml"ften=ok!" , CLR+STN )
//user menu
//STATE ( UserMenu , "extended funct" , "erweit. Funkt." , CLR+STN )
STATE ( UserMenu , "LEVEL B" , "" , CLR+STN )
STATE ( CanisterVolume , "Conc.tank volume" , "Gebinde-Volumen" , CLR+STN )
STATE ( AirDeleting , "Air out " , "Entl"uuml"ften" , CLR+STN )
STATE ( ConfirmWarning , "Confirm warning" , "Warnung best"auml"t." , CLR+STN )
STATE ( ViewConcentration , "Concentration" , "Konzentr. w"auml"hlen" , CLR+STN )
STATE ( VerifyConcentration, "Verify concentr." , "Konzentr. pr"uuml"fen" , CLR+STN )
STATE ( UserCalibr , "Calibration" , "Benutzer-Kalibr." , CLR+STN )
STATE ( Consumption , "Consumption" , "Verbrauchsdaten" , CLR+STN )
STATE ( ShowProcess , "Processes" , "Prozesse" , CLR+STN )
STATE ( ViewStatistic , "Statistic" , "Statistik" , CLR+STN )
STATE ( SerialNumber , "Serial number" , "Serien-Nr." , CLR+STN )
STATE ( FirmwareVersion , "Firmware ver" , "Firmware-Version" , CLR+STN )
STATE ( Contrast , "Contrast" , "Anzeige-Kontrast" , CLR+STN )
STATE ( Backlight , "Backlight" , "Displ.-Beleucht." , CLR+STN )
STATE ( Language , "Language" , "Sprache" , 0 )
STATE ( Sound , "Sound" , "Signalton" , CLR+STN )
//STATE ( SimulateProcess, "Simulate process" , "Simulate process" , CLR+STN )
STATE ( Service , "Service" , "" , CLR )
//STATE ( Fill, "Fill values" , "" , CLR+STN )
//STATE ( TerminalDisinfection, "Terminal difinf." , "Terminal difinf." , CLR+STN )
//service menu
//STATE ( ServiceMenu , "Service function" , "Service-Funktion" , CLR )
STATE ( ServiceMenu , "LEVEL C" , "" , CLR )
STATE ( EditConcentration , "Edit concentr." , "Konz. einstellen" , CLR+STN )
STATE ( CalibrMenu , "Calibration" , "Kalibrierung" , CLR+STN )
STATE ( DisplayMode , "Display mode" , "Display-Modus" , CLR+STN )
STATE ( TestMenu , "Component test" , "Komponenten-Test" , CLR+STN )
STATE ( LocalCleaning , "Clear history" , "Historie bearb." , CLR+STN )
STATE ( NextService , "Next service" , "n"auml"chster Service" , CLR+STN )
STATE ( DateTime , "Date/time" , "Datum/Uhrzeit" , CLR+STN )
STATE ( StandbyText , "Standby text" , "Bereitsch.-Text" , CLR+STN )
STATE ( EditSerialNumber , "Edit device N" , "Serien-Nr. "auml"nd." , CLR+STN )
STATE ( EditCanisterVolume, "conc.tank volume" , "Gebinde-GrцЯe" , CLR+STN )
STATE ( ServiceLog , "Service Log" , "" , CLR+STN )
STATE ( MemoryControl , "Memory control" , "Speicher-Funkt." , CLR+STN )
//STATE ( WeekNumber , "Week number" , "" , CLR+STN )
STATE ( EditSetupValue , "Edit setup val" , "Grundeinstellung" , CLR )
STATE ( Interfaces , "Interfaces" , "Schnittstellen" , CLR+STN )
//STATE ( Modem, "Modem init" , "Modem-Initialis." , CLR+STN )
//STATE ( ShowMessages , "Text messages" , "" , CLR+STN )
// test menu:
STATE ( TestPumps , "Pump/pumps", "Pumpe A(B)" , CLR+STN )
STATE ( TestValve , "Valve", "Magnetventil" , CLR+STN )
STATE ( TestBoosterPump , "Booster pump", "Booster-Pumpe" , CLR+STN )
STATE ( TestLeakageSensor , "Leakage sensor", "Leckage-Sensor" , CLR+STN )
STATE ( TestOutputSensor , "PressTransducer", "Druckme"szlig"umformer", CLR+STN )
STATE ( TestEmptyNivSensor, "Niveau empty", "Niveau LEER" , CLR+STN )
STATE ( TestLowNivSensor , "Niveau ON", "Niveau EIN" , CLR+STN )
STATE ( TestHighNivSensor , "Niveau OFF", "Niveau AUS" , CLR+STN )
STATE ( TestAllNivSensors , "Niveau ALL", "Niveau ALLE" , CLR+STN )
STATE ( TestCanSensorTypeK, "Conc.tank Sensor", "Gebinde-Sensor" , CLR+STN )
STATE ( TestConcCounterPump, "Conc counter", "Konz.-Z"auml"hler PMP" , CLR+STN )
STATE ( TestWaterCounterOpen, "Water counter", "Wasserz"auml"hl.offen" , CLR+STN )
STATE ( TestPowerSensor , "Voltage Sensor", "Versorg-Spannung" , CLR+STN )
STATE ( TestExternalLeakage, "External leakage", "Externe Leakage" , CLR+STN )
STATE ( TestOpto , "External info", "Externe Meldung" , CLR+STN )
//STATE ( TestInterfaces , "Interfaces", "Schnittstellen" , CLR+STN )
STATE ( TestEeprom , "EEPROM", "" , CLR+STN )
STATE ( TestValveExit , "Keep valve open?", "Vent AUF lassen?" , CLR+STN )
// interfaces menu
STATE ( Irda , "IrDA" , "" , CLR+STN )
STATE ( Com1 , "COM1" , "" , CLR+STN )
STATE ( Com2 , "COM2" , "" , CLR+STN )
STATE ( CalibrStandard , "Standard" , "" , CLR+STN )
STATE ( CalibrTerminal , "Terminal" , "Schluss " , CLR+STN )
STATE ( CalibrAirOut , "Air out " , "Entl"uuml"ften" , CLR+STN )
//calibration functions:
//STATE ( SimpleCalibr2 , "Concentration:" , "Konzentration:" , CLR+STN )
STATE ( SimpleCalibr2 , "Use act.values:"ENTER, "mit akt.Werten:"ENTER , CLR+STN )
STATE ( SimpleCalibr3 , "Start: Press "ENTER, "Start:"ENTER" dr"uuml"cken" , CLR+STN )
STATE ( SimpleCalibr4 , "Stop : Press "ENTER, "Stop:"ENTER" dr"uuml"cken" , CLR+STN )
STATE ( SimpleCalibr5 , "Water volume:" , "Wasser-Volumen" , CLR+STN )
STATE ( SimpleCalibr6 , "Conc volume:" , "Konz. volumem:" , CLR+STN )
STATE ( SimpleCalibr7 , "Save ?" , "" , CLR+STN )
STATE ( SimpleCalibr8 , "Tstvalve closed?" , "" , CLR+STN )
//universal functions:
STATE ( EditValue , "Edit value" , "Wert eingeben" , 0 )
STATE ( EditString , "Edit string" , "Edit string" , ZERO )
STATE ( StartUserMenu , "" , "" , CLR )
STATE ( AreYouSure , "ARE YOU SURE ?! " , "SIND SIE SICHER?" , CLR+STN )
//internal fumction for user menu:
STATE ( ProcessDetails , "Process details" , "Prozess-Details" , CLR+STN )
//STATE ( DisinfectionPin , "" , "" , CLR )
STATE ( StartVerification , "Verify conc" , "Konzentr. pr"uuml"fen" , CLR+STN )
STATE ( TestDischarge , "test-discharge" , "Test-Entnahme" , CLR+STN )
// remote functions:
STATE ( RemoteMenu , "Remote Menu " , "" , 0 )
STATE ( RemoteViewMenu , "Remote View Menu" , "" , 0 )
STATE ( RemoteTime , "Set RTC " , "" , 0 )
STATE ( RemoteSetupManager , "Setup Manager " , "" , 0 )
STATE ( RemoteCleaning , "Service cleaning" , "" , 0 )
STATE ( RemoteEditSetupIndex, "Enter index " , "" , 0 )
STATE ( RemoteEditSetupValue, "Edit value " , "" , 0 )
STATE ( RemotePin , "Remote PIN " , "" , 0 )
STATE ( RemoteBackup , "Remote backup" , "" , CLR+STN )
STATE ( RemoteTestMenu , "Remote test menu" , "" , 0 )
STATE ( RemoteChangeLogin , "state for guru" , "" , CLR+STN )
MENU ( Test , TestPumps , TestOpto )
MENU ( Service , EditConcentration , EditSetupValue )
MENU ( Factory , EditConcentration , Interfaces )
MENU ( User , CanisterVolume , Service )
MENU ( Calibr , CalibrStandard , CalibrAirOut )
MENU ( Interfaces , Irda , Com2 )