ServerStateChange coding group

Defined ui-visible server state.

Lua access code

To access the code of the codings below, append the coding group name and coding name to inmation.model.codes, see an example below.

return inmation.model.codes.ServerStateChange.AUTOUPGRADE

Codings

Name Code Description
AUTOUPGRADE 11 Auto-Upgrade running
COMMUNICATIONFAULT 4 Connection error, all reconnect attempts failed.
COMMUNICATIONRETRYING 3 Connection lost
COMMUNICATIONTIMEOUT 8 Communication timeout.
CONNECTED 5
DISCONNECTED 6
INTERNALERROR 7 Internal communication error.
NOCOMMUNICATIONTIMEOUT 9 No more communication timeouts.
NONE 1 Waiting for connection…
RESTARTED 2 Core restarted, reinitializing DataStudio.
ROOTOBJECTRECEIVED 10 Connected