Device Simulator class for the Standard Lamp Device.
More...
Device Simulator class for the Standard Lamp Device.
def fcfDevsimLamp.devsimLamp.DevsimLamp.__init__ |
( |
|
self | ) |
|
Initialise the Lamp Device simulator class; set the members.
def fcfDevsimLamp.devsimLamp.DevsimLamp.data_change_handler |
( |
|
self, |
|
|
|
node, |
|
|
|
value, |
|
|
|
data |
|
) |
| |
Invoked when subscribed "ctrl." and "stat." nodes change value.
def fcfDevsimLamp.devsimLamp.DevsimLamp.initialise |
( |
|
self | ) |
|
Initialise various parameters of the simulated device.
def fcfDevsimLamp.devsimLamp.DevsimLamp.RPC_Disable |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Disable operation.
def fcfDevsimLamp.devsimLamp.DevsimLamp.RPC_Enable |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Execute SM Enable operation.
def fcfDevsimLamp.devsimLamp.DevsimLamp.RPC_Init |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Initiate the initialisation procedure.
def fcfDevsimLamp.devsimLamp.DevsimLamp.RPC_Off |
( |
|
self, |
|
|
|
parent |
|
) |
| |
def fcfDevsimLamp.devsimLamp.DevsimLamp.RPC_On |
( |
|
self, |
|
|
|
parent, |
|
|
|
intensity, |
|
|
|
time_on_limit |
|
) |
| |
def fcfDevsimLamp.devsimLamp.DevsimLamp.RPC_Reset |
( |
|
self, |
|
|
|
parent |
|
) |
| |
Reset the Lamp Device (bring it to NotOp/NotReady).
def fcfDevsimLamp.devsimLamp.DevsimLamp.set_error_attribs |
( |
|
self, |
|
|
|
error_code |
|
) |
| |
Set the "stat.nErrorCode"/"stat.sErrorText" node values.
def fcfDevsimLamp.devsimLamp.DevsimLamp.set_rpc_error_attribs |
( |
|
self, |
|
|
|
rpc_error_code |
|
) |
| |
Set the "stat.nRpcErrorCode"/"stat.sRpcErrorText" node values.
def fcfDevsimLamp.devsimLamp.DevsimLamp.sim_thr_user |
( |
|
self | ) |
|
Simulation Thread managing the lamp status.
string fcfDevsimLamp.devsimLamp.DevsimLamp.CFG_TODO = "TODO" |
|
static |
OPC UA Namespace Node IDs:
Configuration Node IDs:
string fcfDevsimLamp.devsimLamp.DevsimLamp.CTRL_TODO = "TODO" |
|
static |
fcfDevsimLamp.devsimLamp.DevsimLamp.initialised |
fcfDevsimLamp.devsimLamp.DevsimLamp.sim_init_time |
string fcfDevsimLamp.devsimLamp.DevsimLamp.STAT_COUNTER = "stat.nCycleCounter" |
|
static |
The documentation for this class was generated from the following file: