Dokumentation
Statusmeldung
Erstellt eine Statusmeldung.
Statusmeldungen können nur im "status"-Bereich genutzt werden. Keine anderen Formularfeldtypen können im "status"-Bereich genutzt werden.
Parameter
| Parameter | Beschreibung |
|---|---|
| caption | Sichtbare Beschriftung |
| code | Statuscode (siehe Tabelle) |
| icon | Symbol welches angezeigt wird: "active", "inactive", "standby" oder "error" (siehe Übersicht) |
Übersicht der Statuscodes
| code | Konstante | Beschreibung |
|---|---|---|
| 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 |
Codes >=200 müssen selbstdefiniert werden.
Übersicht der möglichen Icons
active

error

inactive

standby (ab IP-Symcon 8.1)
Zeigt das Symbol für den Standby an.
Beispiel
// Active icon
{ "code": 102, "icon": "active", "caption": "Logged in!" }
// Error icon
{ "code": 200, "icon": "error", "caption": "Error!" }
// Inactive icon
{ "code": 104, "icon": "inactive", "caption": "Logged out!" }
// Standby icon
{ "code": 106, "icon": "standby", "caption": "Standby!" }