@DefaultAnnotation({})

Package jmri.server.json.power

The JMRI JSON protocol power server. Replies to any request handled by this server include the following properties in the JSON data object:
name
The user name of the connection supplying power.
state
One of JSON.UNKNOWN, JSON.ON, or JSON.OFF
default
True if this message represents the power state for the default power connection; false otherwise.
If messages requesting or setting power for this server do not contain the user name of a system connection, this server returns the power state for the default system connection, otherwise it returns the power state for the named system connection.