Dokumentation
GetStatus
Benötigt: Symcon >= 5.1
int GetStatus ()
Rückgabewert
Aktueller Status
Beschreibung
Diese Funktion liefert den aktuellen Status der Instanz.
Tabelle: Status der Instanz
| Wert | Konstante | Status |
|---|---|---|
| 101 | IS_ |
Instanz wird erstellt |
| 102 | IS_ |
Instanz ist aktiv |
| 103 | IS_ |
Instanz wird gelöscht |
| 104 | IS_ |
Instanz ist inaktiv |
| 105 | IS_ |
Instanz wurde nicht erstellt |
| 106 | IS_ |
Instanz ist im Standby |
| >=200 | IS_ |
Instanz ist fehlerhaft |
Für weitere Informationen zu Status Codes, siehe Nachrichten
Beispiel
// Fragt den aktuellen Status der Instanz ab
$currentStatus = $this->GetStatus();