ifw-fcf  4.0.0
Public Member Functions | List of all members
fcfDevsimLamp.DeviceSimulatorLamp Class Reference

Device Simulator class for the Standard Lamp Device. More...

Inheritance diagram for fcfDevsimLamp.DeviceSimulatorLamp:
fcf_devsim_lamp.lamp.DevsimLamp

Public Member Functions

def __init__ (self)
 Initialise the Lamp Device simulator class; set the members. More...
 
def initialise (self)
 Initialise various parameters of the simulated device. More...
 
- Public Member Functions inherited from fcf_devsim_lamp.lamp.DevsimLamp
def set_error_attribs (self, error_code)
 Set the "stat.nErrorCode"/"stat.sErrorText" node values. More...
 
def set_rpc_error_attribs (self, rpc_error_code)
 Set the "stat.nRpcErrorCode"/"stat.sRpcErrorText" node values. More...
 
def sim_thr_user (self)
 Simulation Thread managing the lamp status. More...
 
def data_change_handler (self, node, value, data)
 Invoked when subscribed "ctrl." and "stat." nodes change value. More...
 
def RPC_Init (self, parent)
 Initiate the initialisation procedure. More...
 
def RPC_Reset (self, parent)
 Reset the Lamp Device (bring it to NotOp/NotReady). More...
 
def RPC_On (self, parent, intensity, time_on_limit)
 Switch on lamp. More...
 
def RPC_Off (self, parent)
 Switch off lamp. More...
 
def RPC_Enable (self, parent)
 Execute SM Enable operation. More...
 
def RPC_Disable (self, parent)
 Execute SM Disable operation. More...
 

Additional Inherited Members

- Public Attributes inherited from fcf_devsim_lamp.lamp.DevsimLamp
 initialised
 
 sim_init_time
 
- Static Public Attributes inherited from fcf_devsim_lamp.lamp.DevsimLamp
string CFG_TODO = "TODO"
 OPC UA Namespace Node IDs: More...
 
string CTRL_TODO = "TODO"
 
string STAT_COUNTER = "stat.nCycleCounter"
 

Detailed Description

Device Simulator class for the Standard Lamp Device.

Constructor & Destructor Documentation

◆ __init__()

def fcfDevsimLamp.DeviceSimulatorLamp.__init__ (   self)

Initialise the Lamp Device simulator class; set the members.

Reimplemented from fcf_devsim_lamp.lamp.DevsimLamp.

Member Function Documentation

◆ initialise()

def fcfDevsimLamp.DeviceSimulatorLamp.initialise (   self)

Initialise various parameters of the simulated device.

Reimplemented from fcf_devsim_lamp.lamp.DevsimLamp.


The documentation for this class was generated from the following file: