ifw-fcf
2.0.0
|
Device Simulator class for the Standard DROT Device. More...
Public Member Functions | |
def | __init__ |
Initialise the DROT Device Simulator class; set the members. More... | |
def | initialise |
Initialise various parameters of the simulated device. More... | |
def | sim_thr_user |
Simulation Thread to simulate when the motor is moving. More... | |
def | stop_srv_threads_user |
Stop the application specific internal server threads. More... | |
def | data_change_handler |
Invoked when subscribed nodes change value. More... | |
def | RPC_Init |
Initiate the initialisation procedure. More... | |
def | RPC_Enable |
Execute SM Enable operation. More... | |
def | RPC_Disable |
Execute SM Enable operation. More... | |
def | RPC_Reset |
Reset the motor device (bring it to NotOp/NotReady). More... | |
def | RPC_MoveAbs |
Request an absolute offset. More... | |
def | RPC_MoveAngle |
Request an absolute offset. More... | |
def | RPC_MoveVel |
Start movement in velocity mode. More... | |
def | RPC_MoveRel |
Request relative offset. More... | |
def | RPC_StartTrack |
Start tracking. More... | |
def | RPC_StopTrack |
Stop tracking. More... | |
def | RPC_Stop |
Stop tracking or movement. More... | |
Device Simulator class for the Standard DROT Device.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.__init__ | ( | self, | |
context = None , |
|||
location_state_attributes = "stat.sm" |
|||
) |
Initialise the DROT Device Simulator class; set the members.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.data_change_handler | ( | self, | |
node, | |||
value, | |||
data | |||
) |
Invoked when subscribed nodes change value.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.initialise | ( | self | ) |
Initialise various parameters of the simulated device.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_Disable | ( | self, | |
parent | |||
) |
Execute SM Enable operation.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_Enable | ( | self, | |
parent | |||
) |
Execute SM Enable operation.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_Init | ( | self, | |
parent | |||
) |
Initiate the initialisation procedure.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_MoveAbs | ( | self, | |
parent, | |||
pos, | |||
vel | |||
) |
Request an absolute offset.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_MoveAngle | ( | self, | |
parent, | |||
angle | |||
) |
Request an absolute offset.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_MoveRel | ( | self, | |
parent, | |||
offset, | |||
vel | |||
) |
Request relative offset.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_MoveVel | ( | self, | |
parent, | |||
vel | |||
) |
Start movement in velocity mode.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_Reset | ( | self, | |
parent | |||
) |
Reset the motor device (bring it to NotOp/NotReady).
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_StartTrack | ( | self, | |
parent, | |||
mode, | |||
angle | |||
) |
Start tracking.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_Stop | ( | self, | |
parent | |||
) |
Stop tracking or movement.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.RPC_StopTrack | ( | self, | |
parent | |||
) |
Stop tracking.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.sim_thr_user | ( | self | ) |
Simulation Thread to simulate when the motor is moving.
def fcfDevsimDrot.drot.DeviceSimulatorDrot.stop_srv_threads_user | ( | self | ) |
Stop the application specific internal server threads.