ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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:
fcfDevsimLamp.devsimLamp.DevsimLamp

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from fcfDevsimLamp.devsimLamp.DevsimLamp
 initialised
 
 sim_init_time
 
- Static Public Attributes inherited from fcfDevsimLamp.devsimLamp.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

def fcfDevsimLamp.DeviceSimulatorLamp.__init__ (   self)

Initialise the Lamp Device simulator class; set the members.

Member Function Documentation

def fcfDevsimLamp.DeviceSimulatorLamp.initialise (   self)

Initialise various parameters of the simulated device.


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