|
def | __init__ (self, server, ns, name) |
|
def | ctrl_on (self, intensity, on_time_limit) |
|
def | ctrl_off (self) |
|
def | __init__ (self, server, ns, name, program="MAIN") |
| server OPC UA Server url, e.g. More...
|
|
def | debug (self, msg) |
|
def | call_rpc_async (self, rpc, *args) |
| Function used to connect, execute RPC call and then disconnect. More...
|
|
def | call_rpc (self, rpc, *args) |
|
def | ctrl_reset (self) |
|
def | ctrl_reset (self) |
|
def | ctrl_init (self) |
|
def | ctrl_init (self) |
|
def | ctrl_enable (self) |
|
def | ctrl_disable (self) |
|
def | ctrl_stop (self) |
|
Test library for testing Lamp business logic.
Methods common fro all device, e.g. reset, init, enable, etc are defined in the base class Device. Here we define only the Lamp specific methods.