7#include "schedulertypes.h"
13QString ekosStateString(EkosState state)
18 return "Ekos is idle";
20 return "Starting Ekos";
22 return "Stopping Ekos";
24 return "Ekos is ready";
29QString indiStateString(INDIState state)
34 return "INDI is idle";
35 case INDI_PROPERTY_CHECK:
36 return "Checking INDI properties";
38 return "Connecting to INDI";
39 case INDI_DISCONNECTING:
40 return "Disconnecting to INDI";
42 return "INDI is ready";
47QString startupStateString(StartupState state)
52 return "Startup is idle";
54 return "Startup running script";
55 case STARTUP_UNPARK_DOME:
56 return "Startup unpark dome";
57 case STARTUP_UNPARKING_DOME:
58 return "Startup unparking dome";
59 case STARTUP_UNPARK_MOUNT:
60 return "Startup unpark mount";
61 case STARTUP_UNPARKING_MOUNT:
62 return "Startup unparking mount";
63 case STARTUP_UNPARK_CAP:
64 return "Startup remove cap";
65 case STARTUP_UNPARKING_CAP:
66 return "Starup removing cap";
68 return "Startup error";
69 case STARTUP_COMPLETE:
70 return "Startup is complete";
75QString shutdownStateString(ShutdownState state)
80 return "Shutdown is idle";
81 case SHUTDOWN_PARK_CAP:
82 return "Shutdown remove cap";
83 case SHUTDOWN_PARKING_CAP:
84 return "Shutdown removing cap";
85 case SHUTDOWN_PARK_MOUNT:
86 return "Shutdown park mount";
87 case SHUTDOWN_PARKING_MOUNT:
88 return "Shutdown parking mount";
89 case SHUTDOWN_PARK_DOME:
90 return "Shutdown park dome";
91 case SHUTDOWN_PARKING_DOME:
92 return "Shutdown parking dome";
94 return "Shutdown script";
95 case SHUTDOWN_SCRIPT_RUNNING:
96 return "Shutdown script running";
98 return "Shutdown error";
99 case SHUTDOWN_COMPLETE:
100 return "Shutdown complete";
105QString parkWaitStateString(ParkWaitState state)
113 case PARKWAIT_PARKING:
115 case PARKWAIT_PARKED:
117 case PARKWAIT_UNPARK:
119 case PARKWAIT_UNPARKING:
121 case PARKWAIT_UNPARKED:
129QString timerStr(SchedulerTimerState state)
136 return QString(
"RUN_SCHEDULER");
138 return QString(
"RUN_JOBCHECK");
140 return QString(
"RUN_SHUTDOWN");
147QString startupConditionString(StartupCondition condition)
159QString completionConditionString(CompletionCondition condition)
163 case FINISH_SEQUENCE:
Ekos is an advanced Astrophotography tool for Linux.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.