LIM Class Reference

LIM telecommand package class. More...

Inheritance diagram for LIM:

Inheritance graph
[legend]
Collaboration diagram for LIM:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
 LIM constructor.
def startStateMonitor
 Enable the "State" telemetry handler.
def stopStateMonitor
 Disable the "State" telemetry handler.
def __setLimState
 Callback method for processing the "State" telemetry.
def getOperatingMode
 Retrieve the LIM operating mode.
def getOperatingModeStr
 Retrieve the LIM operating mode string.
def getAction
 Retrieve the LIM action performed.
def getActionStr
 Retrieve the LIM action performed.
def getStatus
 Retrieve the status of the last LIM action performed.
def getStatusStr
 Retrieve the status of the last LIM action performed.
def isLimStateStale
 Check if the last received LIM State telemetry is stale.
def setStaleThreshold
 Set the stale interval threshold in seconds.

Static Public Attributes

dictionary OPERATING_MODES
 LIM Operating modes.
dictionary ACTIONS
 LIM Actions.
dictionary GRB_STATES
 LIM GRB States.

Detailed Description

LIM telecommand package class.

Provides access to LIM telecommands.

Definition at line 27 of file LIM.py.


Member Function Documentation

def __init__   self,
  db
 

LIM constructor.

Parameters:
db Wrapper database object for the generated module containing command and telemetry database classes.

Reimplemented from CmdPkg.

Definition at line 231 of file LIM.py.

def __setLimState   self,
  telem
 

Callback method for processing the "State" telemetry.

Parameters:
telem Telemetry object

Definition at line 262 of file LIM.py.

def getAction   self  ) 
 

Retrieve the LIM action performed.

Returns:
Numeric value of the LIM action performed

Definition at line 298 of file LIM.py.

def getActionStr   self  ) 
 

Retrieve the LIM action performed.

Returns:
String value of the LIM action performed

Definition at line 305 of file LIM.py.

def getOperatingMode   self  ) 
 

Retrieve the LIM operating mode.

Returns:
Numeric value of the LIM operating mode

Definition at line 283 of file LIM.py.

def getOperatingModeStr   self  ) 
 

Retrieve the LIM operating mode string.

Returns:
String value of the LIM operating mode

Definition at line 290 of file LIM.py.

def getStatus   self  ) 
 

Retrieve the status of the last LIM action performed.

Returns:
Status tuple of the last LIM action performed

Definition at line 313 of file LIM.py.

def getStatusStr   self  ) 
 

Retrieve the status of the last LIM action performed.

Returns:
Status string of the last LIM action performed

Definition at line 320 of file LIM.py.

def isLimStateStale   self  ) 
 

Check if the last received LIM State telemetry is stale.

Returns:
Booleean indication whether the LIM state is stale.

Definition at line 329 of file LIM.py.

def setStaleThreshold   self,
  threshold
 

Set the stale interval threshold in seconds.

Parameters:
threshold Threshold in seconds.

Definition at line 340 of file LIM.py.

def startStateMonitor   self  ) 
 

Enable the "State" telemetry handler.

Definition at line 250 of file LIM.py.

def stopStateMonitor   self  ) 
 

Disable the "State" telemetry handler.

Definition at line 256 of file LIM.py.


Member Data Documentation

dictionary ACTIONS [static]
 

LIM Actions.

Definition at line 137 of file LIM.py.

dictionary GRB_STATES [static]
 

Initial value:

{
                  LIM_GRB_STATE_IDLE: "No GRB in progress",
                  LIM_GRB_STATE_0: "GRB0 state - a GRB is suspected, but the spacecraft has not been repointed",
                  LIM_GRB_STATE_1: "GRB1 state - a GRB has been confirmed   and the spacecraft has been repointed",
                  LIM_GRB_STATE_2: "GRB2 state - a GRB has ended, but the spacecraft is still repointed",
                }
LIM GRB States.

Definition at line 224 of file LIM.py.

dictionary OPERATING_MODES [static]
 

Initial value:

{
                     LIM_OP_MODE_TERMINAL: 'TERMINAL',
                     LIM_OP_MODE_QUIESCENT: 'QUIESCENT',
                     LIM_OP_MODE_CALIBRATION: 'CALIBRATION',
                     LIM_OP_MODE_DIAGNOSTIC: 'DIAGNOSTIC',
                     LIM_OP_MODE_PHYSICS: 'PHYSICS',
                     LIM_OP_MODE_PHYSICS_SAA: 'PHYSICS-SAA',
                     LIM_OP_MODE_TOO: 'TOO',
                     LIM_OP_MODE_TOO_SAA: 'TOO-SAA',
                     LIM_OP_MODE_ARR: 'ARR',
                     LIM_OP_MODE_ARR_SAA: 'ARR-SAA',
                     LIM_OP_MODE_HOLD: 'HOLD',
                    }
LIM Operating modes.

Definition at line 44 of file LIM.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:06 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO