« Zurück zu Produkt

Dokumentation

Statusmeldung

Erstellt eine Statusmeldung.

Warning

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_CREATING Instanz wird erstellt
102 IS_ACTIVE Instanz ist aktiv
103 IS_DELETING Instanz wird gelöscht
104 IS_INACTIVE Instanz ist inaktiv
105 IS_NOTCREATED Instanz wurde nicht erstellt
106 IS_STANDBY Instanz ist im Standby
>=200 IS_EBASE Instanz ist fehlerhaft
Warning

Codes >=200 müssen selbstdefiniert werden.

Übersicht der möglichen Icons

active

active

error

error

inactive

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!" }
Haben Sie noch Fragen?