
functions
files
intro
|
|
HwStatus
|
HwStatus.ycp
|
All hardware status relevant functions are here |
|
|
|
global Set (string id, symbol stat) -> void
|
|
Set
set status for a hardware device
- Parameters:
id |
string, unique-id for device |
stat |
symbol, status of device (`yes or `no)
|
global Get (string id) -> symbol
|
|
Get()
get status for device
- Parameters:
id |
string, unique-id for device
@returns symbol status of device, (`yes or `no)
returns `unknown if status wasn't set before |
Save()
save stati for all devices
Update()
set stati for all devices
|