AbstractFrontPanelService
AbstractFrontPanelService ⇐ Abstract
Kind: global abstract class
Extends: Abstract
Service:
- AbstractFrontPanelService ⇐
Abstract
- instance
- .open() ⇒
Promise.<this>
- .close() ⇒
Promise.<this>
- .write(message) ⇒
Promise.<state>
- .setBrightness(brightness) ⇒
Promise.<state>
- .getBrightness([options]) ⇒
Promise.<state>
- .open() ⇒
- static
- .BRIGHTNESS_LOW :
number
- .BRIGHTNESS_MEDIUM :
number
- .BRIGHTNESS_HIGH :
number
- .BRIGHTNESS_LOW :
- instance
open() ⇒ Promise.<this>
Wakeup the box
Kind: instance method of AbstractFrontPanelService
Returns: Promise.<this>
- A Promise resolved when the power status has actually changed.
close() ⇒ Promise.<this>
Standby the box
Kind: instance method of AbstractFrontPanelService
Returns: Promise.<this>
- A Promise resolved when the power status has actually changed.
write(message) ⇒ Promise.<state>
Get the box status
Kind: instance method of AbstractFrontPanelService
Returns: Promise.<state>
- A Promise resolved when the box status is retreive.
Param | Type |
---|---|
message | string |
setBrightness(brightness) ⇒ Promise.<state>
Set the brightness of the front panel
Kind: instance method of AbstractFrontPanelService
Returns: Promise.<state>
- A Promise resolved when the brightness is setted.
Param | Type |
---|---|
brightness | number |
getBrightness([options]) ⇒ Promise.<state>
Get the brightness of the front panel
Kind: instance method of AbstractFrontPanelService
Returns: Promise.<state>
- A Promise resolved when the brightness is getted.
Param | Type |
---|---|
[options] | Object |
BRIGHTNESS_LOW : number
Kind: static constant of AbstractFrontPanelService
BRIGHTNESS_MEDIUM : number
Kind: static constant of AbstractFrontPanelService
BRIGHTNESS_HIGH : number
Kind: static constant of AbstractFrontPanelService