ifw-fcf  5.0.0-pre2
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
shutter.shutter.DeviceSimulatorShutter Class Reference

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

Inheritance diagram for shutter.shutter.DeviceSimulatorShutter:

Public Member Functions

def __init__ (self)
 Initialise the Shutter Device simulator class; set the members. More...
 
def initialise (self)
 Initialise various parameters of the simulated device. More...
 
def data_change_handler (self, node, value, data)
 Invoked when subscribed nodes changes value. More...
 
def sim_thr_user (self)
 Simulation Thread to simulated when the motor is moving. More...
 
def RPC_Close (self, parent)
 Logic of RPC close method. More...
 
def RPC_Open (self, parent)
 Logic of RPC open method. More...
 

Public Attributes

 cycle_counter
 

Static Public Attributes

int RPC_RET_SHUTTER_STILL_OPENING = -4
 Shutter RPC return codes: More...
 
int RPC_RET_SHUTTER_STILL_CLOSING = -5
 
int RPC_RET_SHUTTER_SHUTTER_LOCAL = -6
 

Detailed Description

Device Simulator class for the Standard Shutter Device.

Constructor & Destructor Documentation

◆ __init__()

def shutter.shutter.DeviceSimulatorShutter.__init__ (   self)

Initialise the Shutter Device simulator class; set the members.

Member Function Documentation

◆ data_change_handler()

def shutter.shutter.DeviceSimulatorShutter.data_change_handler (   self,
  node,
  value,
  data 
)

Invoked when subscribed nodes changes value.

◆ initialise()

def shutter.shutter.DeviceSimulatorShutter.initialise (   self)

Initialise various parameters of the simulated device.

◆ RPC_Close()

def shutter.shutter.DeviceSimulatorShutter.RPC_Close (   self,
  parent 
)

Logic of RPC close method.

◆ RPC_Open()

def shutter.shutter.DeviceSimulatorShutter.RPC_Open (   self,
  parent 
)

Logic of RPC open method.

◆ sim_thr_user()

def shutter.shutter.DeviceSimulatorShutter.sim_thr_user (   self)

Simulation Thread to simulated when the motor is moving.

Member Data Documentation

◆ cycle_counter

shutter.shutter.DeviceSimulatorShutter.cycle_counter

◆ RPC_RET_SHUTTER_SHUTTER_LOCAL

int shutter.shutter.DeviceSimulatorShutter.RPC_RET_SHUTTER_SHUTTER_LOCAL = -6
static

◆ RPC_RET_SHUTTER_STILL_CLOSING

int shutter.shutter.DeviceSimulatorShutter.RPC_RET_SHUTTER_STILL_CLOSING = -5
static

◆ RPC_RET_SHUTTER_STILL_OPENING

int shutter.shutter.DeviceSimulatorShutter.RPC_RET_SHUTTER_STILL_OPENING = -4
static

Shutter RPC return codes:


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