HwStatus |
HwStatus.ycp |
All hardware status relevant functions are here | |
|
Global Functions |
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 `unknown if status wasn't set before
global
Save ()
->
void
Save() save stati for all devices
global
Update ()
->
void
Update() set stati for all devices