diff --git a/docs/dox_src/cfs_lc.dox b/docs/dox_src/cfs_lc.dox
index 49afd40..839f718 100644
--- a/docs/dox_src/cfs_lc.dox
+++ b/docs/dox_src/cfs_lc.dox
@@ -181,11 +181,11 @@
commands as a response to this condition.
Actionpoints can be individually enabled/disabled with the #LC_SET_AP_STATE_CC ground
- command. The state of an actionpoint may be set to #LC_APSTATE_ACTIVE, #LC_APSTATE_PASSIVE,
- or #LC_APSTATE_DISABLED. These states operate in the same way as the application operating
- modes described above. #LC_APSTATE_PASSIVE will just disable RTS requests, while
- #LC_APSTATE_DISABLED will stop evaluation of the actionpoint all together. An additional
- state #LC_APSTATE_PERMOFF which functions the same as #LC_APSTATE_DISABLED but can only
+ command. The state of an actionpoint may be set to #LC_ActionPointState_ACTIVE, #LC_ActionPointState_PASSIVE,
+ or #LC_ActionPointState_DISABLED. These states operate in the same way as the application operating
+ modes described above. #LC_ActionPointState_PASSIVE will just disable RTS requests, while
+ #LC_ActionPointState_DISABLED will stop evaluation of the actionpoint all together. An additional
+ state #LC_ActionPointState_PERMOFF which functions the same as #LC_ActionPointState_DISABLED but can only
be changed via table load, can be set using the #LC_SET_AP_PERMOFF_CC ground command
(see \ref cfslcfaqs).
@@ -259,7 +259,7 @@
In the lc_platform_cfg.h file, there are configuration parameters that control use
of the Critical Data Store (CDS) and the LC operation mode on application
initialization. The default case is not to use the CDS and to set the application
- state to #LC_STATE_DISABLED.
+ state to #LC_AppState_DISABLED.
**/
/**
@@ -302,7 +302,7 @@
The entire ADT is processed anytime a sample request is received that specifies an
actionpoint equal to #LC_ALL_ACTIONPOINTS. For this reason, it is important that unused
entries are properly marked by setting the ADT parameter DefaultState to
- #LC_ACTION_NOT_USED.
+ #LC_ActionPoint_NOT_USED.
When either the WDT or ADT are updated, the corresponding results table (WRT or ART) is
reset to initialization values. For each entry in the WRT, WatchResult is set to
@@ -523,7 +523,7 @@
three possible conditions are true:
1) The actionpoint is unused (the DefaultState in the ADT is set to
- #LC_ACTION_NOT_USED).
+ #LC_ActionPoint_NOT_USED).
2) An actionpoint sample request (#LC_SAMPLE_AP_MID) targeting the AP has not
yet been received by LC so the AP has not yet been evaluated.
@@ -551,10 +551,10 @@
(Q)
- How does the Actionpoint state #LC_APSTATE_PERMOFF differ from
- #LC_APSTATE_DISABLED?
+ How does the Actionpoint state #LC_ActionPointState_PERMOFF differ from
+ #LC_ActionPointState_DISABLED?
- The AP state #LC_APSTATE_PERMOFF is intended to provide a way to disable
+ The AP state #LC_ActionPointState_PERMOFF is intended to provide a way to disable
an AP so it can not easily be turned back on by mistake. Such actionpoints
may not be needed after a seperation sequence or only apply to certain
mission phases.
@@ -562,16 +562,16 @@
While the two states are treated the same way during actionpoint processing
(the AP isn't evaluated), there are a few differences.
- An AP can't be set to #LC_APSTATE_PERMOFF with the #LC_SET_AP_STATE_CC command,
+ An AP can't be set to #LC_ActionPointState_PERMOFF with the #LC_SET_AP_STATE_CC command,
it must be done with the #LC_SET_AP_PERMOFF_CC command.
- To set an AP to #LC_APSTATE_PERMOFF with the #LC_SET_AP_PERMOFF_CC command, the
- current AP state must be #LC_APSTATE_DISABLED.
+ To set an AP to #LC_ActionPointState_PERMOFF with the #LC_SET_AP_PERMOFF_CC command, the
+ current AP state must be #LC_ActionPointState_DISABLED.
The #LC_SET_AP_PERMOFF_CC command can only be issued for a single actionpoint,
#LC_ALL_ACTIONPOINTS is not valid as an argument for this command.
- Once an AP is set to #LC_APSTATE_PERMOFF, it can only be changed with a new ADT
+ Once an AP is set to #LC_ActionPointState_PERMOFF, it can only be changed with a new ADT
table load.
@@ -592,7 +592,7 @@
#LC_HKAR_STATE_NOT_USED, #LC_HKAR_STATE_ACTIVE, #LC_HKAR_STATE_PASSIVE,
#LC_HKAR_STATE_DISABLED
- An actionpoint whose current state is #LC_APSTATE_PERMOFF will have it's
+ An actionpoint whose current state is #LC_ActionPointState_PERMOFF will have it's
state reported in the APResults as #LC_HKAR_STATE_NOT_USED.
The numerical 2 bit values for evaluation results are defined using the
@@ -614,9 +614,9 @@
Will an RTS get requested more than once if an AP stays in the #LC_ACTION_FAIL
state?
- No. Assuming the current state of an actionpoint is #LC_APSTATE_ACTIVE, then
+ No. Assuming the current state of an actionpoint is #LC_ActionPointState_ACTIVE, then
when the actionpoint fails enough times to trigger an RTS, the state is set
- to #LC_APSTATE_PASSIVE.
+ to #LC_ActionPointState_PASSIVE.
In the passive state, the AP will continue to be sampled and statistics
updated, but no RTS requests will be initiated.
diff --git a/fsw/platform_inc/lc_platform_cfg.h b/fsw/platform_inc/lc_platform_cfg.h
index 164a90b..44a1f03 100644
--- a/fsw/platform_inc/lc_platform_cfg.h
+++ b/fsw/platform_inc/lc_platform_cfg.h
@@ -120,11 +120,11 @@
*
* \par Limits:
* This parameter must be one of the following:
- * #LC_STATE_ACTIVE
- * #LC_STATE_PASSIVE
- * #LC_STATE_DISABLED
+ * #LC_AppState_ACTIVE
+ * #LC_AppState_PASSIVE
+ * #LC_AppState_DISABLED
*/
-#define LC_STATE_POWER_ON_RESET LC_STATE_DISABLED
+#define LC_STATE_POWER_ON_RESET LC_AppState_DISABLED
/**
* \brief Save data to CDS compiler switch
@@ -152,19 +152,19 @@
* is set to true, and provides a way to override any state LC
* may have been operating in prior to the reset occurring.
*
- * If this is set to LC_STATE_FROM_CDS and LC_SAVE_TO_CDS is set
+ * If this is set to LC_AppState_FROM_CDS and LC_SAVE_TO_CDS is set
* to true, then the LC state will be preserved across resets and
- * restored. If this is not set to LC_STATE_FROM_CDS, the state
+ * restored. If this is not set to LC_AppState_FROM_CDS, the state
* saved in the CDS is overwritten by the state assigned here.
*
* \par Limits:
* This parameter must be one of the following:
- * #LC_STATE_ACTIVE
- * #LC_STATE_PASSIVE
- * #LC_STATE_DISABLED
- * #LC_STATE_FROM_CDS
+ * #LC_AppState_ACTIVE
+ * #LC_AppState_PASSIVE
+ * #LC_AppState_DISABLED
+ * #LC_AppState_FROM_CDS
*/
-#define LC_STATE_WHEN_CDS_RESTORED LC_STATE_FROM_CDS
+#define LC_STATE_WHEN_CDS_RESTORED LC_AppState_FROM_CDS
/**
* \brief Watchpoint Definition Table (WDT) filename
diff --git a/fsw/src/lc_action.c b/fsw/src/lc_action.c
index 520b7e0..144ed5e 100644
--- a/fsw/src/lc_action.c
+++ b/fsw/src/lc_action.c
@@ -51,7 +51,7 @@ void LC_SampleAPs(uint16 StartIndex, uint16 EndIndex)
{
CurrentAPState = LC_OperData.ARTPtr[StartIndex].CurrentState;
- if ((CurrentAPState != LC_ACTION_NOT_USED) && (CurrentAPState != LC_APSTATE_PERMOFF))
+ if ((CurrentAPState != LC_ActionPoint_NOT_USED) && (CurrentAPState != LC_ActionPointState_PERMOFF))
{
/*
** Sample the specified actionpoint
@@ -101,7 +101,7 @@ void LC_SampleSingleAP(uint16 APNumber)
*/
CurrentAPState = LC_OperData.ARTPtr[APNumber].CurrentState;
- if ((CurrentAPState == LC_APSTATE_ACTIVE) || (CurrentAPState == LC_APSTATE_PASSIVE))
+ if ((CurrentAPState == LC_ActionPointState_ACTIVE) || (CurrentAPState == LC_ActionPointState_PASSIVE))
{
/*
** Evaluate the actionpoint and update the results
@@ -146,14 +146,14 @@ void LC_SampleSingleAP(uint16 APNumber)
/*
** We have failed enough times to request the RTS
*/
- if (CurrentAPState == LC_APSTATE_ACTIVE)
+ if (CurrentAPState == LC_ActionPointState_ACTIVE)
{
/*
** Actions go to passive after they've failed
*/
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_PASSIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_PASSIVE;
- if (LC_AppData.CurrentLCState == LC_STATE_ACTIVE)
+ if (LC_AppData.CurrentLCState == LC_AppState_ACTIVE)
{
/*
** If the LC application state is active, request the
@@ -511,15 +511,15 @@ int32 LC_ValidateADT(void *TableData)
RPNPtr = TableArray[TableIndex].RPNEquation;
EventType = TableArray[TableIndex].EventType;
- if (DefaultState == LC_ACTION_NOT_USED)
+ if (DefaultState == LC_ActionPoint_NOT_USED)
{
/*
** Unused table entry
*/
UnusedCount++;
}
- else if ((DefaultState != LC_APSTATE_ACTIVE) && (DefaultState != LC_APSTATE_PASSIVE) &&
- (DefaultState != LC_APSTATE_DISABLED) && (DefaultState != LC_APSTATE_PERMOFF))
+ else if ((DefaultState != LC_ActionPointState_ACTIVE) && (DefaultState != LC_ActionPointState_PASSIVE) &&
+ (DefaultState != LC_ActionPointState_DISABLED) && (DefaultState != LC_ActionPointState_PERMOFF))
{
/*
** Invalid default state
diff --git a/fsw/src/lc_app.c b/fsw/src/lc_app.c
index a8b9307..9f3b109 100644
--- a/fsw/src/lc_app.c
+++ b/fsw/src/lc_app.c
@@ -831,7 +831,7 @@ int32 LC_CreateTaskCDS(void)
** May need to override the restored application state
*/
-#if LC_STATE_WHEN_CDS_RESTORED != LC_STATE_FROM_CDS
+#if LC_STATE_WHEN_CDS_RESTORED != LC_AppState_FROM_CDS
LC_AppData.CurrentLCState = LC_STATE_WHEN_CDS_RESTORED;
#endif
}
diff --git a/fsw/src/lc_app.h b/fsw/src/lc_app.h
index 951d494..b65dbed 100644
--- a/fsw/src/lc_app.h
+++ b/fsw/src/lc_app.h
@@ -201,9 +201,9 @@ typedef struct
uint32 RTSExecCount; /**< \brief Total count of RTS sequences initiated */
uint16 PassiveRTSExecCount; /**< \brief Total count of RTS sequences not
initiated because the LC state is
- set to #LC_STATE_PASSIVE or the state
+ set to #LC_AppState_PASSIVE or the state
of the actionpoint that failed is set to
- #LC_APSTATE_PASSIVE */
+ #LC_ActionPointState_PASSIVE */
uint16 CDSSavedOnExit; /**< \brief Variable that tells us if we exited clean or not */
uint8 CurrentLCState; /**< \brief Current LC application operating state */
diff --git a/fsw/src/lc_cmds.c b/fsw/src/lc_cmds.c
index c64b029..28f7f78 100644
--- a/fsw/src/lc_cmds.c
+++ b/fsw/src/lc_cmds.c
@@ -145,7 +145,7 @@ void LC_SampleAPReq(const CFE_SB_Buffer_t *BufPtr)
/*
** Ignore AP sample requests if disabled at the application level
*/
- if (LC_AppData.CurrentLCState != LC_STATE_DISABLED)
+ if (LC_AppData.CurrentLCState != LC_AppState_DISABLED)
{
/*
** Range check the actionpoint array index arguments
@@ -361,20 +361,20 @@ int32 LC_HousekeepingReq(const CFE_MSG_CommandHeader_t *MsgPtr)
*/
switch (LC_OperData.ARTPtr[TableIndex + 1].CurrentState)
{
- case LC_ACTION_NOT_USED:
+ case LC_ActionPoint_NOT_USED:
ByteData = LC_HKAR_STATE_NOT_USED << 6;
break;
- case LC_APSTATE_ACTIVE:
+ case LC_ActionPointState_ACTIVE:
ByteData = LC_HKAR_STATE_ACTIVE << 6;
LC_OperData.HkPacket.ActiveAPs++;
break;
- case LC_APSTATE_PASSIVE:
+ case LC_ActionPointState_PASSIVE:
ByteData = LC_HKAR_STATE_PASSIVE << 6;
break;
- case LC_APSTATE_DISABLED:
+ case LC_ActionPointState_DISABLED:
ByteData = LC_HKAR_STATE_DISABLED << 6;
break;
@@ -383,7 +383,7 @@ int32 LC_HousekeepingReq(const CFE_MSG_CommandHeader_t *MsgPtr)
** as unused. We should never get an undefined
** action state, but we'll set to not used if we do.
*/
- case LC_APSTATE_PERMOFF:
+ case LC_ActionPointState_PERMOFF:
default:
ByteData = LC_HKAR_STATE_NOT_USED << 6;
break;
@@ -421,24 +421,24 @@ int32 LC_HousekeepingReq(const CFE_MSG_CommandHeader_t *MsgPtr)
*/
switch (LC_OperData.ARTPtr[TableIndex].CurrentState)
{
- case LC_ACTION_NOT_USED:
+ case LC_ActionPoint_NOT_USED:
ByteData = (ByteData | (LC_HKAR_STATE_NOT_USED << 2));
break;
- case LC_APSTATE_ACTIVE:
+ case LC_ActionPointState_ACTIVE:
ByteData = (ByteData | (LC_HKAR_STATE_ACTIVE << 2));
LC_OperData.HkPacket.ActiveAPs++;
break;
- case LC_APSTATE_PASSIVE:
+ case LC_ActionPointState_PASSIVE:
ByteData = (ByteData | (LC_HKAR_STATE_PASSIVE << 2));
break;
- case LC_APSTATE_DISABLED:
+ case LC_ActionPointState_DISABLED:
ByteData = (ByteData | (LC_HKAR_STATE_DISABLED << 2));
break;
- case LC_APSTATE_PERMOFF:
+ case LC_ActionPointState_PERMOFF:
default:
ByteData = (ByteData | (LC_HKAR_STATE_NOT_USED << 2));
break;
@@ -569,9 +569,9 @@ void LC_SetLCStateCmd(const CFE_SB_Buffer_t *BufPtr)
switch (CmdPtr->NewLCState)
{
- case LC_STATE_ACTIVE:
- case LC_STATE_PASSIVE:
- case LC_STATE_DISABLED:
+ case LC_AppState_ACTIVE:
+ case LC_AppState_PASSIVE:
+ case LC_AppState_DISABLED:
LC_AppData.CurrentLCState = CmdPtr->NewLCState;
LC_AppData.CmdCount++;
@@ -618,9 +618,9 @@ void LC_SetAPStateCmd(const CFE_SB_Buffer_t *BufPtr)
*/
switch (CmdPtr->NewAPState)
{
- case LC_APSTATE_ACTIVE:
- case LC_APSTATE_PASSIVE:
- case LC_APSTATE_DISABLED:
+ case LC_ActionPointState_ACTIVE:
+ case LC_ActionPointState_PASSIVE:
+ case LC_ActionPointState_DISABLED:
break;
default:
@@ -648,7 +648,7 @@ void LC_SetAPStateCmd(const CFE_SB_Buffer_t *BufPtr)
{
CurrentAPState = LC_OperData.ARTPtr[TableIndex].CurrentState;
- if ((CurrentAPState != LC_ACTION_NOT_USED) && (CurrentAPState != LC_APSTATE_PERMOFF))
+ if ((CurrentAPState != LC_ActionPoint_NOT_USED) && (CurrentAPState != LC_ActionPointState_PERMOFF))
{
LC_OperData.ARTPtr[TableIndex].CurrentState = CmdPtr->NewAPState;
}
@@ -666,7 +666,7 @@ void LC_SetAPStateCmd(const CFE_SB_Buffer_t *BufPtr)
TableIndex = CmdPtr->APNumber;
CurrentAPState = LC_OperData.ARTPtr[TableIndex].CurrentState;
- if ((CurrentAPState != LC_ACTION_NOT_USED) && (CurrentAPState != LC_APSTATE_PERMOFF))
+ if ((CurrentAPState != LC_ActionPoint_NOT_USED) && (CurrentAPState != LC_ActionPointState_PERMOFF))
{
/*
** Update state for single actionpoint specified
@@ -756,7 +756,7 @@ void LC_SetAPPermOffCmd(const CFE_SB_Buffer_t *BufPtr)
TableIndex = CmdPtr->APNumber;
CurrentAPState = LC_OperData.ARTPtr[TableIndex].CurrentState;
- if (CurrentAPState != LC_APSTATE_DISABLED)
+ if (CurrentAPState != LC_ActionPointState_DISABLED)
{
/*
** Actionpoints can only be turned permanently off if
@@ -773,7 +773,7 @@ void LC_SetAPPermOffCmd(const CFE_SB_Buffer_t *BufPtr)
/*
** Update state for actionpoint specified
*/
- LC_OperData.ARTPtr[TableIndex].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ActionPointState_PERMOFF;
LC_AppData.CmdCount++;
diff --git a/fsw/src/lc_events.h b/fsw/src/lc_events.h
index 173c454..74c9d4a 100644
--- a/fsw/src/lc_events.h
+++ b/fsw/src/lc_events.h
@@ -448,7 +448,7 @@
*
* This event message is issued when the #LC_SET_AP_STATE_CC command
* has been received and the current actionpoint state is either
- * #LC_ACTION_NOT_USED or #LC_APSTATE_PERMOFF which can only be changed
+ * #LC_ActionPoint_NOT_USED or #LC_ActionPointState_PERMOFF which can only be changed
* with a table load.
*/
#define LC_APSTATE_CURR_ERR_EID 31
@@ -498,7 +498,7 @@
*
* This event message is issued when the #LC_SET_AP_PERMOFF_CC command
* has been received and the current actionpoint state is not
- * #LC_APSTATE_DISABLED
+ * #LC_ActionPointState_DISABLED
*/
#define LC_APOFF_CURR_ERR_EID 35
@@ -772,7 +772,7 @@
*
* This event message is issued when the #LC_SAMPLE_AP_MID message
* has been received and the current state for the specified
- * actionpoint state is either #LC_ACTION_NOT_USED or #LC_APSTATE_PERMOFF.
+ * actionpoint state is either #LC_ActionPoint_NOT_USED or #LC_ActionPointState_PERMOFF.
*/
#define LC_APSAMPLE_CURR_ERR_EID 57
@@ -796,7 +796,7 @@
* \par Cause:
*
* This event message is issued when an actionpoint fails evaluation while
- * the LC task operating state is #LC_STATE_PASSIVE
+ * the LC task operating state is #LC_AppState_PASSIVE
*/
#define LC_PASSIVE_FAIL_DBG_EID 59
@@ -808,7 +808,7 @@
* \par Cause:
*
* This event message is issued when an actionpoint fails evaluation while
- * the actionpoint state is #LC_APSTATE_PASSIVE
+ * the actionpoint state is #LC_ActionPointState_PASSIVE
*/
#define LC_AP_PASSIVE_FAIL_INF_EID 60
diff --git a/fsw/src/lc_msg.h b/fsw/src/lc_msg.h
index 5143a5d..bc1b817 100644
--- a/fsw/src/lc_msg.h
+++ b/fsw/src/lc_msg.h
@@ -77,8 +77,8 @@ typedef struct
{
CFE_MSG_CommandHeader_t CmdHeader; /**< \brief Command Header */
- uint16 APNumber; /**< \brief Which actionpoint(s) to change */
- LC_APState_t NewAPState; /**< \brief New actionpoint state */
+ uint16 APNumber; /**< \brief Which actionpoint(s) to change */
+ uint16 NewAPState; /**< \brief New actionpoint state */
} LC_SetAPState_t;
/**
@@ -180,8 +180,8 @@ typedef struct
uint8 APResults[LC_HKAR_NUM_BYTES]; /**< \brief Packed actionpoint results data, 4 bits per actionpoint */
uint16 PassiveRTSExecCount; /**< \brief Total count of RTS sequences not initiated because the LC state is
- * set to #LC_STATE_PASSIVE or the state of the actionpoint that failed
- * is set to #LC_APSTATE_PASSIVE
+ * set to #LC_AppState_PASSIVE or the state of the actionpoint that failed
+ * is set to #LC_ActionPointState_PASSIVE
*/
uint16 WPsInUse; /**< \brief How many watchpoints are currently in effect */
diff --git a/fsw/src/lc_msgdefs.h b/fsw/src/lc_msgdefs.h
index 6c13a90..ae180db 100644
--- a/fsw/src/lc_msgdefs.h
+++ b/fsw/src/lc_msgdefs.h
@@ -42,26 +42,26 @@
* \name LC Application States
* \{
*/
-typedef enum LC_AppState
+typedef enum LC_AppState_Enum
{
- LC_STATE_ACTIVE = 1, /**< \brief LC Application State Active */
- LC_STATE_PASSIVE, /**< \brief LC Application State Pasive */
- LC_STATE_DISABLED, /**< \brief LC Application State Disabled */
- LC_STATE_FROM_CDS /**< \brief Used for reset processing, not valid state */
-} LC_AppState_t;
+ LC_AppState_ACTIVE = 1, /**< \brief LC Application State Active */
+ LC_AppState_PASSIVE, /**< \brief LC Application State Pasive */
+ LC_AppState_DISABLED, /**< \brief LC Application State Disabled */
+ LC_AppState_FROM_CDS /**< \brief Used for reset processing, not valid state */
+} LC_AppState_Enum_t;
/**
* \name Actionpoint States
* \{
*/
-typedef enum LC_APState
+typedef enum LC_ActionPointState_Enum
{
- LC_APSTATE_ACTIVE = 1, /**< \brief Actionpoint state active */
- LC_APSTATE_PASSIVE, /**< \brief Actionpoint state passive */
- LC_APSTATE_DISABLED, /**< \brief Actionpoint state disabled */
- LC_APSTATE_PERMOFF, /**< \brief Actionpoint state permanently off, see #LC_SET_AP_PERMOFF_CC */
- LC_ACTION_NOT_USED = 255 /**< \brief Actionpoint unused, not valid command argument */
-} LC_APState_t;
+ LC_ActionPointState_ACTIVE = 1, /**< \brief Actionpoint state active */
+ LC_ActionPointState_PASSIVE, /**< \brief Actionpoint state passive */
+ LC_ActionPointState_DISABLED, /**< \brief Actionpoint state disabled */
+ LC_ActionPointState_PERMOFF, /**< \brief Actionpoint state permanently off, see #LC_SET_AP_PERMOFF_CC */
+ LC_ActionPoint_NOT_USED = 255 /**< \brief Actionpoint unused, not valid command argument */
+} LC_ActionPointState_Enum_t;
/************************************************************************
* Macro Definitions
@@ -242,8 +242,8 @@ typedef enum LC_APState
* - Invalid actionpoint state specified in command message
* - Actionpoint number specified in command message is
* out of range
- * - Actionpoint current state is either #LC_ACTION_NOT_USED
- * or #LC_APSTATE_PERMOFF
+ * - Actionpoint current state is either #LC_ActionPoint_NOT_USED
+ * or #LC_ActionPointState_PERMOFF
*
* \par Evidence of failure may be found in the following telemetry:
* - #LC_HkPacket_t.CmdErrCount will increment
@@ -262,7 +262,7 @@ typedef enum LC_APState
* \brief Set AP Permanently Off
*
* \par Description
- * Set the specified actionpoint's state to #LC_APSTATE_PERMOFF
+ * Set the specified actionpoint's state to #LC_ActionPointState_PERMOFF
*
* \par Command Structure
* #LC_SetAPPermOff_t
@@ -279,7 +279,7 @@ typedef enum LC_APState
* - Command packet length not as expected
* - Actionpoint number specified in command message is
* out of range
- * - Actionpoint current state is not #LC_APSTATE_DISABLED
+ * - Actionpoint current state is not #LC_ActionPointState_DISABLED
*
* \par Evidence of failure may be found in the following telemetry:
* - #LC_HkPacket_t.CmdErrCount will increment
diff --git a/fsw/src/lc_tbl.h b/fsw/src/lc_tbl.h
index eb649e8..a92719e 100644
--- a/fsw/src/lc_tbl.h
+++ b/fsw/src/lc_tbl.h
@@ -90,21 +90,21 @@ typedef struct
*/
typedef struct
{
- LC_APState_t DefaultState; /**< \brief Default state for this AP (enumerated)
- States are defined in lc_msgdefs.h */
- uint8 MaxPassiveEvents; /**< \brief Max number of events before filter
- - RTS not started because AP is passive */
- uint8 MaxPassFailEvents; /**< \brief Max number of events before filter
- - AP result transition from pass to fail */
- uint8 MaxFailPassEvents; /**< \brief Max number of events before filter
- - AP result transition from fail to pass */
- uint16 RTSId; /**< \brief RTS to request if this AP fails */
- uint16 MaxFailsBeforeRTS; /**< \brief How may consecutive failures before
- an RTS request is issued */
+ uint8 DefaultState; /**< \brief Default state for this AP (enumerated)
+ States are defined in lc_msgdefs.h */
+ uint8 MaxPassiveEvents; /**< \brief Max number of events before filter
+ - RTS not started because AP is passive */
+ uint8 MaxPassFailEvents; /**< \brief Max number of events before filter
+ - AP result transition from pass to fail */
+ uint8 MaxFailPassEvents; /**< \brief Max number of events before filter
+ - AP result transition from fail to pass */
+ uint16 RTSId; /**< \brief RTS to request if this AP fails */
+ uint16 MaxFailsBeforeRTS; /**< \brief How may consecutive failures before
+ an RTS request is issued */
uint16 RPNEquation[LC_MAX_RPN_EQU_SIZE]; /**< \brief Reverse Polish Equation
that specifies when this
- actionpoint should fail */
+ actionpoint should fail */
uint16 EventType; /**< \brief Event type used for event msg if AP fails:
#CFE_EVS_EventType_INFORMATION,
@@ -165,7 +165,7 @@ typedef struct
{
uint8 ActionResult; /**< \brief Result for the last sample of this actionpoint */
- LC_APState_t CurrentState; /**< \brief Current state of this actionpoint */
+ uint8 CurrentState; /**< \brief Current state of this actionpoint */
uint16 Padding; /**< \brief Structure padding */
diff --git a/fsw/src/lc_verify.h b/fsw/src/lc_verify.h
index c7f0f0e..e168391 100644
--- a/fsw/src/lc_verify.h
+++ b/fsw/src/lc_verify.h
@@ -106,8 +106,8 @@
*/
#ifndef LC_STATE_POWER_ON_RESET
#error LC_STATE_POWER_ON_RESET must be defined!
-#elif (LC_STATE_POWER_ON_RESET != LC_STATE_ACTIVE) && (LC_STATE_POWER_ON_RESET != LC_STATE_PASSIVE) && \
- (LC_STATE_POWER_ON_RESET != LC_STATE_DISABLED)
+#elif (LC_STATE_POWER_ON_RESET != LC_AppState_ACTIVE) && (LC_STATE_POWER_ON_RESET != LC_AppState_PASSIVE) && \
+ (LC_STATE_POWER_ON_RESET != LC_AppState_DISABLED)
#error LC_STATE_POWER_ON_RESET must be defined as a supported enumerated type
#endif
@@ -116,8 +116,8 @@
*/
#ifndef LC_STATE_WHEN_CDS_RESTORED
#error LC_STATE_WHEN_CDS_RESTORED must be defined!
-#elif (LC_STATE_WHEN_CDS_RESTORED != LC_STATE_ACTIVE) && (LC_STATE_WHEN_CDS_RESTORED != LC_STATE_PASSIVE) && \
- (LC_STATE_WHEN_CDS_RESTORED != LC_STATE_DISABLED) && (LC_STATE_WHEN_CDS_RESTORED != LC_STATE_FROM_CDS)
+#elif (LC_STATE_WHEN_CDS_RESTORED != LC_AppState_ACTIVE) && (LC_STATE_WHEN_CDS_RESTORED != LC_AppState_PASSIVE) && \
+ (LC_STATE_WHEN_CDS_RESTORED != LC_AppState_DISABLED) && (LC_STATE_WHEN_CDS_RESTORED != LC_AppState_FROM_CDS)
#error LC_STATE_WHEN_CDS_RESTORED must be defined as a supported enumerated type
#endif
diff --git a/fsw/src/lc_watch.c b/fsw/src/lc_watch.c
index 1ec1317..f726bc4 100644
--- a/fsw/src/lc_watch.c
+++ b/fsw/src/lc_watch.c
@@ -254,7 +254,7 @@ void LC_CheckMsgForWPs(CFE_SB_MsgId_t MessageID, const CFE_SB_Buffer_t *BufPtr)
Timestamp.Subseconds = 0;
/* Do nothing if disabled at the application level */
- if (LC_AppData.CurrentLCState != LC_STATE_DISABLED)
+ if (LC_AppData.CurrentLCState != LC_AppState_DISABLED)
{
/* Use message timestamp - if none, use current time */
CFE_MSG_GetMsgTime(&BufPtr->Msg, &Timestamp);
diff --git a/fsw/tables/lc_def_adt.c b/fsw/tables/lc_def_adt.c
index 7c8ad7f..e9db2f3 100644
--- a/fsw/tables/lc_def_adt.c
+++ b/fsw/tables/lc_def_adt.c
@@ -51,7 +51,7 @@
**
** ** #100 **
** {
-** .DefaultState = LC_APSTATE_DISABLED,
+** .DefaultState = LC_ActionPointState_DISABLED,
** .MaxPassiveEvents = 2,
** .MaxPassFailEvents = 2,
** .MaxFailPassEvents = 2,
@@ -68,7 +68,7 @@
**
** ** #101 **
** {
-** .DefaultState = LC_APSTATE_DISABLED,
+** .DefaultState = LC_ActionPointState_DISABLED,
** .MaxPassiveEvents = 2,
** .MaxPassFailEvents = 2,
** .MaxFailPassEvents = 2,
@@ -139,7 +139,7 @@
**
** ** #142 **
** {
-** .DefaultState = LC_APSTATE_DISABLED,
+** .DefaultState = LC_ActionPointState_DISABLED,
** .MaxPassiveEvents = 2,
** .MaxPassFailEvents = 2,
** .MaxFailPassEvents = 2,
@@ -178,7 +178,7 @@ static CFE_TBL_FileDef_t CFE_TBL_FileDef
*/
LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
/* #0 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -192,7 +192,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #1 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -206,7 +206,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #2 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -220,7 +220,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #3 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -234,7 +234,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #4 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -248,7 +248,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #5 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -262,7 +262,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #6 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -276,7 +276,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #7 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -290,7 +290,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #8 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -304,7 +304,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #9 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -318,7 +318,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #10 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -332,7 +332,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #11 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -346,7 +346,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #12 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -360,7 +360,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #13 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -374,7 +374,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #14 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -388,7 +388,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #15 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -402,7 +402,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #16 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -416,7 +416,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #17 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -430,7 +430,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #18 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -444,7 +444,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #19 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -458,7 +458,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #20 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -472,7 +472,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #21 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -486,7 +486,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #22 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -500,7 +500,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #23 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -514,7 +514,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #24 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -528,7 +528,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #25 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -542,7 +542,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #26 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -556,7 +556,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #27 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -570,7 +570,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #28 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -584,7 +584,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #29 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -598,7 +598,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #30 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -612,7 +612,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #31 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -626,7 +626,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #32 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -640,7 +640,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #33 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -654,7 +654,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #34 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -668,7 +668,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #35 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -682,7 +682,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #36 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -696,7 +696,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #37 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -710,7 +710,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #38 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -724,7 +724,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #39 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -738,7 +738,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #40 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -752,7 +752,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #41 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -766,7 +766,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #42 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -780,7 +780,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #43 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -794,7 +794,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #44 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -808,7 +808,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #45 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -822,7 +822,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #46 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -836,7 +836,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #47 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -850,7 +850,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #48 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -864,7 +864,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #49 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -878,7 +878,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #50 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -892,7 +892,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #51 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -906,7 +906,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #52 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -920,7 +920,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #53 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -934,7 +934,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #54 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -948,7 +948,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #55 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -962,7 +962,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #56 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -976,7 +976,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #57 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -990,7 +990,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #58 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1004,7 +1004,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #59 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1018,7 +1018,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #60 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1032,7 +1032,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #61 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1046,7 +1046,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #62 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1060,7 +1060,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #63 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1074,7 +1074,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #64 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1088,7 +1088,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #65 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1102,7 +1102,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #66 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1116,7 +1116,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #67 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1130,7 +1130,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #68 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1144,7 +1144,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #69 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1158,7 +1158,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #70 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1172,7 +1172,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #71 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1186,7 +1186,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #72 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1200,7 +1200,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #73 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1214,7 +1214,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #74 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1228,7 +1228,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #75 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1242,7 +1242,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #76 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1256,7 +1256,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #77 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1270,7 +1270,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #78 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1284,7 +1284,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #79 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1298,7 +1298,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #80 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1312,7 +1312,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #81 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1326,7 +1326,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #82 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1340,7 +1340,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #83 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1354,7 +1354,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #84 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1368,7 +1368,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #85 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1382,7 +1382,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #86 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1396,7 +1396,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #87 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1410,7 +1410,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #88 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1424,7 +1424,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #89 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1438,7 +1438,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #90 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1452,7 +1452,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #91 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1466,7 +1466,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #92 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1480,7 +1480,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #93 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1494,7 +1494,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #94 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1508,7 +1508,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #95 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1522,7 +1522,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #96 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1536,7 +1536,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #97 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1550,7 +1550,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #98 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1564,7 +1564,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #99 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1578,7 +1578,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #100 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1592,7 +1592,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #101 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1606,7 +1606,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #102 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1620,7 +1620,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #103 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1634,7 +1634,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #104 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1648,7 +1648,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #105 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1662,7 +1662,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #106 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1676,7 +1676,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #107 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1690,7 +1690,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #108 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1704,7 +1704,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #109 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1718,7 +1718,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #110 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1732,7 +1732,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #111 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1746,7 +1746,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #112 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1760,7 +1760,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #113 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1774,7 +1774,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #114 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1788,7 +1788,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #115 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1802,7 +1802,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #116 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1816,7 +1816,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #117 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1830,7 +1830,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #118 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1844,7 +1844,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #119 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1858,7 +1858,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #120 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1872,7 +1872,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #121 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1886,7 +1886,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #122 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1900,7 +1900,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #123 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1914,7 +1914,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #124 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1928,7 +1928,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #125 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1942,7 +1942,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #126 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1956,7 +1956,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #127 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1970,7 +1970,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #128 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1984,7 +1984,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #129 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -1998,7 +1998,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #130 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2012,7 +2012,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #131 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2026,7 +2026,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #132 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2040,7 +2040,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #133 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2054,7 +2054,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #134 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2068,7 +2068,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #135 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2082,7 +2082,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #136 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2096,7 +2096,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #137 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2110,7 +2110,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #138 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2124,7 +2124,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #139 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2138,7 +2138,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #140 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2152,7 +2152,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #141 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2166,7 +2166,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #142 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2180,7 +2180,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #143 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2194,7 +2194,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #144 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2208,7 +2208,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #145 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2222,7 +2222,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #146 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2236,7 +2236,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #147 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2250,7 +2250,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #148 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2264,7 +2264,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #149 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2278,7 +2278,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #150 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2292,7 +2292,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #151 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2306,7 +2306,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #152 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2320,7 +2320,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #153 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2334,7 +2334,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #154 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2348,7 +2348,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #155 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2362,7 +2362,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #156 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2376,7 +2376,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #157 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2390,7 +2390,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #158 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2404,7 +2404,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #159 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2418,7 +2418,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #160 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2432,7 +2432,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #161 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2446,7 +2446,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #162 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2460,7 +2460,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #163 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2474,7 +2474,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #164 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2488,7 +2488,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #165 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2502,7 +2502,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #166 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2516,7 +2516,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #167 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2530,7 +2530,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #168 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2544,7 +2544,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #169 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2558,7 +2558,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #170 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2572,7 +2572,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #171 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2586,7 +2586,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #172 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2600,7 +2600,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #173 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2614,7 +2614,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #174 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
@@ -2628,7 +2628,7 @@ LC_ADTEntry_t LC_DefaultADT[LC_MAX_ACTIONPOINTS] = {
0, LC_RPN_EQUAL}},
/* #175 (unused) */
- {.DefaultState = LC_ACTION_NOT_USED,
+ {.DefaultState = LC_ActionPoint_NOT_USED,
.MaxPassiveEvents = 0,
.MaxPassFailEvents = 0,
.MaxFailPassEvents = 0,
diff --git a/unit-test/lc_action_tests.c b/unit-test/lc_action_tests.c
index ada0b8b..025ba10 100644
--- a/unit-test/lc_action_tests.c
+++ b/unit-test/lc_action_tests.c
@@ -71,7 +71,7 @@ void LC_SampleAPs_Test_SingleActionPointError(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Sample AP error, invalid current AP state: AP = %%d, State = %%d");
- LC_OperData.ARTPtr[StartIndex].CurrentState = LC_ACTION_NOT_USED;
+ LC_OperData.ARTPtr[StartIndex].CurrentState = LC_ActionPoint_NOT_USED;
/* Execute the function being tested */
LC_SampleAPs(StartIndex, EndIndex);
@@ -108,7 +108,7 @@ void LC_SampleAPs_Test_SingleActionPointPermOff(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Sample AP error, invalid current AP state: AP = %%d, State = %%d");
- LC_OperData.ARTPtr[StartIndex].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[StartIndex].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SampleAPs(StartIndex, EndIndex);
@@ -131,7 +131,7 @@ void LC_SampleSingleAP_Test_StateChangePassToFail(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "AP state change from PASS to FAIL: AP = %%d");
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_PASS;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
LC_OperData.ADTPtr[APNumber].MaxPassFailEvents = 100;
@@ -172,7 +172,7 @@ void LC_SampleSingleAP_Test_StateChangePassToFailMaxChange(void)
{
uint16 APNumber = 0;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_PASS;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
LC_OperData.ARTPtr[APNumber].PassToFailCount = 11;
@@ -213,7 +213,7 @@ void LC_SampleSingleAP_Test_ActiveRequestRTS(void)
{
uint16 APNumber = 0;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
LC_OperData.ADTPtr[APNumber].MaxPassFailEvents = 100;
@@ -226,7 +226,7 @@ void LC_SampleSingleAP_Test_ActiveRequestRTS(void)
LC_OperData.ADTPtr[APNumber].EventID = 1;
LC_OperData.ADTPtr[APNumber].EventType = 2;
- LC_AppData.CurrentLCState = LC_STATE_ACTIVE;
+ LC_AppData.CurrentLCState = LC_AppState_ACTIVE;
LC_OperData.ADTPtr[APNumber].MaxFailsBeforeRTS = 5;
LC_OperData.ARTPtr[APNumber].ConsecutiveFailCount = LC_OperData.ADTPtr[APNumber].MaxFailsBeforeRTS;
@@ -236,8 +236,8 @@ void LC_SampleSingleAP_Test_ActiveRequestRTS(void)
LC_SampleSingleAP(APNumber);
/* Verify results */
- UtAssert_True(LC_OperData.ARTPtr[APNumber].CurrentState == LC_APSTATE_PASSIVE,
- "LC_OperData.ARTPtr[APNumber].CurrentState == LC_APSTATE_PASSIVE");
+ UtAssert_True(LC_OperData.ARTPtr[APNumber].CurrentState == LC_ActionPointState_PASSIVE,
+ "LC_OperData.ARTPtr[APNumber].CurrentState == LC_ActionPointState_PASSIVE");
UtAssert_True(LC_OperData.ARTPtr[APNumber].CumulativeRTSExecCount == 1,
"LC_OperData.ARTPtr[APNumber].CumulativeRTSExecCount == 1");
UtAssert_True(LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent == 1,
@@ -258,7 +258,7 @@ void LC_SampleSingleAP_Test_APFailWhileLCStatePassive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"AP failed while LC App passive: AP = %%d, FailCount = %%d, RTS = %%d");
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxPassFailEvents = 100;
@@ -270,7 +270,7 @@ void LC_SampleSingleAP_Test_APFailWhileLCStatePassive(void)
LC_OperData.ADTPtr[APNumber].EventID = 1;
LC_OperData.ADTPtr[APNumber].EventType = 2;
- LC_AppData.CurrentLCState = LC_STATE_PASSIVE;
+ LC_AppData.CurrentLCState = LC_AppState_PASSIVE;
LC_OperData.ADTPtr[APNumber].MaxFailsBeforeRTS = 5;
LC_OperData.ARTPtr[APNumber].ConsecutiveFailCount = LC_OperData.ADTPtr[APNumber].MaxFailsBeforeRTS;
@@ -280,8 +280,8 @@ void LC_SampleSingleAP_Test_APFailWhileLCStatePassive(void)
LC_SampleSingleAP(APNumber);
/* Verify results */
- UtAssert_True(LC_OperData.ARTPtr[APNumber].CurrentState == LC_APSTATE_PASSIVE,
- "LC_OperData.ARTPtr[APNumber].CurrentState == LC_APSTATE_PASSIVE");
+ UtAssert_True(LC_OperData.ARTPtr[APNumber].CurrentState == LC_ActionPointState_PASSIVE,
+ "LC_OperData.ARTPtr[APNumber].CurrentState == LC_ActionPointState_PASSIVE");
UtAssert_True(LC_AppData.PassiveRTSExecCount == 1, "LC_AppData.PassiveRTSExecCount == 1");
UtAssert_INT32_EQ(UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent)), 1);
@@ -302,8 +302,8 @@ void LC_SampleSingleAP_Test_APFailWhilePassive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"AP failed while passive: AP = %%d, FailCount = %%d, RTS = %%d");
- LC_AppData.CurrentLCState = LC_STATE_ACTIVE;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_PASSIVE;
+ LC_AppData.CurrentLCState = LC_AppState_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_PASSIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxPassFailEvents = 100;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
@@ -347,8 +347,8 @@ void LC_SampleSingleAP_Test_APFailWhilePassiveNoEvent(void)
{
uint16 APNumber = 0;
- LC_AppData.CurrentLCState = LC_STATE_ACTIVE;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_PASSIVE;
+ LC_AppData.CurrentLCState = LC_AppState_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_PASSIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxPassFailEvents = 100;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
@@ -390,7 +390,7 @@ void LC_SampleSingleAP_Test_StateChangeFailToPass(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "AP state change from FAIL to PASS: AP = %%d");
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxFailPassEvents = 1;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
@@ -427,7 +427,7 @@ void LC_SampleSingleAP_Test_StateChangeFailToPass(void)
void LC_SampleSingleAP_Test_StateChangeFailToPassNoEvent(void)
{
uint16 APNumber = 0;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxFailPassEvents = 1;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
@@ -462,7 +462,7 @@ void LC_SampleSingleAP_Test_ActionStale(void)
{
uint16 APNumber = 0;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxFailPassEvents = 1;
@@ -492,7 +492,7 @@ void LC_SampleSingleAP_Test_ActionError(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "AP evaluated to error: AP = %%d, Result = %%d");
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_FAIL;
LC_OperData.ADTPtr[APNumber].MaxFailPassEvents = 1;
@@ -522,7 +522,7 @@ void LC_SampleSingleAP_Test_ConsecutivePass(void)
{
uint16 APNumber = 0;
- LC_OperData.ARTPtr[APNumber].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[APNumber].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[APNumber].ActionResult = LC_ACTION_PASS;
LC_OperData.ADTPtr[APNumber].MaxFailPassEvents = 1;
LC_OperData.ARTPtr[APNumber].CumulativeEventMsgsSent = 0;
@@ -1252,7 +1252,7 @@ void LC_ValidateADT_Test_ActionNotUsed(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ACTION_NOT_USED;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPoint_NOT_USED;
}
/* Execute the function being tested */
@@ -1326,7 +1326,7 @@ void LC_ValidateADT_Test_BadRtsID(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_APSTATE_ACTIVE;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPointState_ACTIVE;
LC_OperData.ADTPtr[TableIndex].RTSId = LC_MAX_VALID_ADT_RTSID + 1;
LC_OperData.ADTPtr[TableIndex].MaxFailsBeforeRTS = 77;
LC_OperData.ADTPtr[TableIndex].EventType = 66;
@@ -1368,7 +1368,7 @@ void LC_ValidateADT_Test_BadFailCount(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_APSTATE_ACTIVE;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPointState_ACTIVE;
LC_OperData.ADTPtr[TableIndex].RTSId = 1;
LC_OperData.ADTPtr[TableIndex].MaxFailsBeforeRTS = 0;
LC_OperData.ADTPtr[TableIndex].EventType = 66;
@@ -1409,7 +1409,7 @@ void LC_ValidateADT_Test_InvalidEventType(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_APSTATE_ACTIVE;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPointState_ACTIVE;
LC_OperData.ADTPtr[TableIndex].RTSId = 1;
LC_OperData.ADTPtr[TableIndex].MaxFailsBeforeRTS = 88;
LC_OperData.ADTPtr[TableIndex].EventType = 99;
@@ -1451,7 +1451,7 @@ void LC_ValidateADT_Test_ValidateRpnAdtValError(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_APSTATE_ACTIVE;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPointState_ACTIVE;
LC_OperData.ADTPtr[TableIndex].RTSId = 1;
LC_OperData.ADTPtr[TableIndex].MaxFailsBeforeRTS = 88;
LC_OperData.ADTPtr[TableIndex].EventType = CFE_EVS_EventType_DEBUG;
@@ -1492,7 +1492,7 @@ void LC_ValidateADT_Test_ValidateRpnAdtValNoError(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_APSTATE_ACTIVE;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPointState_ACTIVE;
LC_OperData.ADTPtr[TableIndex].RTSId = 1;
LC_OperData.ADTPtr[TableIndex].MaxFailsBeforeRTS = 88;
LC_OperData.ADTPtr[TableIndex].EventType = CFE_EVS_EventType_DEBUG;
@@ -1529,7 +1529,7 @@ void LC_ValidateADT_Test_Nominal(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ACTION_NOT_USED;
+ LC_OperData.ADTPtr[TableIndex].DefaultState = LC_ActionPoint_NOT_USED;
LC_OperData.ADTPtr[TableIndex].RTSId = 1;
LC_OperData.ADTPtr[TableIndex].MaxFailsBeforeRTS = 1;
LC_OperData.ADTPtr[TableIndex].EventType = CFE_EVS_EventType_DEBUG;
@@ -1539,10 +1539,10 @@ void LC_ValidateADT_Test_Nominal(void)
LC_OperData.ADTPtr[TableIndex].RPNEquation[2] = LC_RPN_EQUAL;
}
- LC_OperData.ADTPtr[0].DefaultState = LC_APSTATE_ACTIVE;
- LC_OperData.ADTPtr[1].DefaultState = LC_APSTATE_PASSIVE;
- LC_OperData.ADTPtr[2].DefaultState = LC_APSTATE_DISABLED;
- LC_OperData.ADTPtr[3].DefaultState = LC_APSTATE_PERMOFF;
+ LC_OperData.ADTPtr[0].DefaultState = LC_ActionPointState_ACTIVE;
+ LC_OperData.ADTPtr[1].DefaultState = LC_ActionPointState_PASSIVE;
+ LC_OperData.ADTPtr[2].DefaultState = LC_ActionPointState_DISABLED;
+ LC_OperData.ADTPtr[3].DefaultState = LC_ActionPointState_PERMOFF;
LC_OperData.ADTPtr[0].EventType = CFE_EVS_EventType_DEBUG;
LC_OperData.ADTPtr[1].EventType = CFE_EVS_EventType_INFORMATION;
diff --git a/unit-test/lc_cmds_tests.c b/unit-test/lc_cmds_tests.c
index 6b6bf63..e43ead1 100644
--- a/unit-test/lc_cmds_tests.c
+++ b/unit-test/lc_cmds_tests.c
@@ -348,7 +348,7 @@ void LC_SampleAPReq_Test_StateDisabled(void)
{
UT_SetDefaultReturnValue(UT_KEY(LC_VerifyMsgLength), true);
- LC_AppData.CurrentLCState = LC_STATE_DISABLED;
+ LC_AppData.CurrentLCState = LC_AppState_DISABLED;
LC_SampleAPReq(&UT_CmdBuf.Buf);
}
@@ -824,7 +824,7 @@ void LC_HousekeepingReq_Test_ActionNotUsedStale(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ACTION_NOT_USED;
+ LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ActionPoint_NOT_USED;
LC_OperData.ARTPtr[TableIndex].ActionResult = LC_ACTION_STALE;
}
@@ -876,7 +876,7 @@ void LC_HousekeepingReq_Test_APStateActiveActionPass(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ARTPtr[TableIndex].CurrentState = LC_APSTATE_ACTIVE;
+ LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ActionPointState_ACTIVE;
LC_OperData.ARTPtr[TableIndex].ActionResult = LC_ACTION_PASS;
}
@@ -931,7 +931,7 @@ void LC_HousekeepingReq_Test_APStatePassiveActionFail(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ARTPtr[TableIndex].CurrentState = LC_APSTATE_PASSIVE;
+ LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ActionPointState_PASSIVE;
LC_OperData.ARTPtr[TableIndex].ActionResult = LC_ACTION_FAIL;
}
@@ -983,7 +983,7 @@ void LC_HousekeepingReq_Test_APStateDisabledActionError(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ARTPtr[TableIndex].CurrentState = LC_APSTATE_DISABLED;
+ LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ActionPointState_DISABLED;
LC_OperData.ARTPtr[TableIndex].ActionResult = LC_ACTION_ERROR;
}
@@ -1035,7 +1035,7 @@ void LC_HousekeepingReq_Test_APStatePermOffActionError(void)
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
- LC_OperData.ARTPtr[TableIndex].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[TableIndex].CurrentState = LC_ActionPointState_PERMOFF;
LC_OperData.ARTPtr[TableIndex].ActionResult = LC_ACTION_ERROR;
}
@@ -1213,13 +1213,13 @@ void LC_SetLCStateCmd_Test_Active(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Set LC state command: new state = %%d");
- UT_CmdBuf.SetLCStateCmd.NewLCState = LC_STATE_ACTIVE;
+ UT_CmdBuf.SetLCStateCmd.NewLCState = LC_AppState_ACTIVE;
/* Execute the function being tested */
LC_SetLCStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_AppData.CurrentLCState == LC_STATE_ACTIVE, "LC_AppData.CurrentLCState == LC_STATE_ACTIVE");
+ UtAssert_True(LC_AppData.CurrentLCState == LC_AppState_ACTIVE, "LC_AppData.CurrentLCState == LC_AppState_ACTIVE");
UtAssert_True(LC_AppData.CmdCount == 1, "LC_AppData.CmdCount == 1");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
@@ -1245,13 +1245,13 @@ void LC_SetLCStateCmd_Test_Passive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Set LC state command: new state = %%d");
- UT_CmdBuf.SetLCStateCmd.NewLCState = LC_STATE_PASSIVE;
+ UT_CmdBuf.SetLCStateCmd.NewLCState = LC_AppState_PASSIVE;
/* Execute the function being tested */
LC_SetLCStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_AppData.CurrentLCState == LC_STATE_PASSIVE, "LC_AppData.CurrentLCState == LC_STATE_PASSIVE");
+ UtAssert_True(LC_AppData.CurrentLCState == LC_AppState_PASSIVE, "LC_AppData.CurrentLCState == LC_AppState_PASSIVE");
UtAssert_True(LC_AppData.CmdCount == 1, "LC_AppData.CmdCount == 1");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
@@ -1277,13 +1277,14 @@ void LC_SetLCStateCmd_Test_Disabled(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Set LC state command: new state = %%d");
- UT_CmdBuf.SetLCStateCmd.NewLCState = LC_STATE_DISABLED;
+ UT_CmdBuf.SetLCStateCmd.NewLCState = LC_AppState_DISABLED;
/* Execute the function being tested */
LC_SetLCStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_AppData.CurrentLCState == LC_STATE_DISABLED, "LC_AppData.CurrentLCState == LC_STATE_DISABLED");
+ UtAssert_True(LC_AppData.CurrentLCState == LC_AppState_DISABLED,
+ "LC_AppData.CurrentLCState == LC_AppState_DISABLED");
UtAssert_True(LC_AppData.CmdCount == 1, "LC_AppData.CmdCount == 1");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
@@ -1384,7 +1385,7 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsActive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_ALL_ACTIONPOINTS;
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
@@ -1399,18 +1400,18 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsActive(void)
/* Checks for first index: */
TableIndex = 0;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
/* Checks for middle index: */
TableIndex = LC_MAX_ACTIONPOINTS / 2;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
/* Checks for last index: */
TableIndex = LC_MAX_ACTIONPOINTS - 1;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1437,14 +1438,14 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsActiveOneNotUsed(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_ALL_ACTIONPOINTS;
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
LC_OperData.ARTPtr[TableIndex].CurrentState = 99;
}
- LC_OperData.ARTPtr[0].CurrentState = LC_ACTION_NOT_USED;
+ LC_OperData.ARTPtr[0].CurrentState = LC_ActionPoint_NOT_USED;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1453,18 +1454,18 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsActiveOneNotUsed(void)
/* Checks for first index: */
TableIndex = 0;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ACTION_NOT_USED,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ACTION_NOT_USED");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPoint_NOT_USED,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPoint_NOT_USED");
/* Checks for middle index: */
TableIndex = LC_MAX_ACTIONPOINTS / 2;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
/* Checks for last index: */
TableIndex = LC_MAX_ACTIONPOINTS - 1;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1491,14 +1492,14 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsActiveOnePermOff(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_ALL_ACTIONPOINTS;
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
{
LC_OperData.ARTPtr[TableIndex].CurrentState = 99;
}
- LC_OperData.ARTPtr[0].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[0].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1507,18 +1508,18 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsActiveOnePermOff(void)
/* Checks for first index: */
TableIndex = 0;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PERMOFF,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PERMOFF");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PERMOFF,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PERMOFF");
/* Checks for middle index: */
TableIndex = LC_MAX_ACTIONPOINTS / 2;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
/* Checks for last index: */
TableIndex = LC_MAX_ACTIONPOINTS - 1;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_ACTIVE");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1545,7 +1546,7 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsPassive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_PASSIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_PASSIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_ALL_ACTIONPOINTS;
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
@@ -1560,18 +1561,18 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsPassive(void)
/* Checks for first index: */
TableIndex = 0;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PASSIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PASSIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PASSIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PASSIVE");
/* Checks for middle index: */
TableIndex = LC_MAX_ACTIONPOINTS / 2;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PASSIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PASSIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PASSIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PASSIVE");
/* Checks for last index: */
TableIndex = LC_MAX_ACTIONPOINTS - 1;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PASSIVE,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_PASSIVE");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PASSIVE,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_PASSIVE");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1598,7 +1599,7 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsDisabled(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_DISABLED;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_DISABLED;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_ALL_ACTIONPOINTS;
for (TableIndex = 0; TableIndex < LC_MAX_ACTIONPOINTS; TableIndex++)
@@ -1613,18 +1614,18 @@ void LC_SetAPStateCmd_Test_SetAllActionPointsDisabled(void)
/* Checks for first index: */
TableIndex = 0;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_DISABLED,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_DISABLED");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_DISABLED,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_DISABLED");
/* Checks for middle index: */
TableIndex = LC_MAX_ACTIONPOINTS / 2;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_DISABLED,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_DISABLED");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_DISABLED,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_DISABLED");
/* Checks for last index: */
TableIndex = LC_MAX_ACTIONPOINTS - 1;
- UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_DISABLED,
- "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_APSTATE_DISABLED");
+ UtAssert_True(LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_DISABLED,
+ "LC_OperData.ARTPtr[TableIndex].CurrentState == LC_ActionPointState_DISABLED");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1650,7 +1651,7 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointActive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS - 1;
LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = 99;
@@ -1659,8 +1660,8 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointActive(void)
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_APSTATE_ACTIVE,
- "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_APSTATE_ACTIVE");
+ UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPointState_ACTIVE,
+ "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPointState_ACTIVE");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1686,17 +1687,17 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointNotUsed(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state error: AP = %%d, Invalid current AP state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = 0;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ACTION_NOT_USED;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPoint_NOT_USED;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ACTION_NOT_USED,
- "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ACTION_NOT_USED");
+ UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPoint_NOT_USED,
+ "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPoint_NOT_USED");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1722,7 +1723,7 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointPassive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_PASSIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_PASSIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS - 1;
LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = 99;
@@ -1731,8 +1732,8 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointPassive(void)
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_APSTATE_PASSIVE,
- "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_APSTATE_PASSIVE");
+ UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPointState_PASSIVE,
+ "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPointState_PASSIVE");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1758,7 +1759,7 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointDisabled(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state command: AP = %%d, New state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_DISABLED;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_DISABLED;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS - 1;
LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = 99;
@@ -1767,8 +1768,8 @@ void LC_SetAPStateCmd_Test_UpdateSingleActionPointDisabled(void)
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
/* Verify results */
- UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_APSTATE_DISABLED,
- "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_APSTATE_DISABLED");
+ UtAssert_True(LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPointState_DISABLED,
+ "LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState == LC_ActionPointState_DISABLED");
call_count_CFE_EVS_SendEvent = UT_GetStubCount(UT_KEY(CFE_EVS_SendEvent));
UtAssert_INT32_EQ(call_count_CFE_EVS_SendEvent, 1);
@@ -1794,10 +1795,10 @@ void LC_SetAPStateCmd_Test_InvalidCurrentAPStateActive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state error: AP = %%d, Invalid current AP state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS - 1;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1829,10 +1830,10 @@ void LC_SetAPStateCmd_Test_InvalidCurrentAPStatePassive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state error: AP = %%d, Invalid current AP state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_PASSIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_PASSIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS - 1;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1864,10 +1865,10 @@ void LC_SetAPStateCmd_Test_InvalidCurrentAPStateDisabled(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH,
"Set AP state error: AP = %%d, Invalid current AP state = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_DISABLED;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_DISABLED;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS - 1;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1899,10 +1900,10 @@ void LC_SetAPStateCmd_Test_InvalidAPNumberActive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Set AP state error: Invalid AP number = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_ACTIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_ACTIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1933,10 +1934,10 @@ void LC_SetAPStateCmd_Test_InvalidAPNumberPassive(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Set AP state error: Invalid AP number = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_PASSIVE;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_PASSIVE;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -1966,10 +1967,10 @@ void LC_SetAPStateCmd_Test_InvalidAPNumberDisabled(void)
snprintf(ExpectedEventString, CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Set AP state error: Invalid AP number = %%d");
- UT_CmdBuf.SetAPStateCmd.NewAPState = LC_APSTATE_DISABLED;
+ UT_CmdBuf.SetAPStateCmd.NewAPState = LC_ActionPointState_DISABLED;
UT_CmdBuf.SetAPStateCmd.APNumber = LC_MAX_ACTIONPOINTS;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_APSTATE_PERMOFF;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPStateCmd.APNumber].CurrentState = LC_ActionPointState_PERMOFF;
/* Execute the function being tested */
LC_SetAPStateCmd(&UT_CmdBuf.Buf);
@@ -2102,7 +2103,7 @@ void LC_SetAPPermOffCmd_Test_Nominal(void)
UT_CmdBuf.SetAPPermOffCmd.APNumber = 1;
- LC_OperData.ARTPtr[UT_CmdBuf.SetAPPermOffCmd.APNumber].CurrentState = LC_APSTATE_DISABLED;
+ LC_OperData.ARTPtr[UT_CmdBuf.SetAPPermOffCmd.APNumber].CurrentState = LC_ActionPointState_DISABLED;
/* Execute the function being tested */
LC_SetAPPermOffCmd(&UT_CmdBuf.Buf);
diff --git a/unit-test/lc_watch_tests.c b/unit-test/lc_watch_tests.c
index 6d8a76d..cb81a69 100644
--- a/unit-test/lc_watch_tests.c
+++ b/unit-test/lc_watch_tests.c
@@ -211,7 +211,7 @@ void LC_CheckMsgForWPs_Test_Nominal(void)
LC_OperData.HashTable[LC_GetHashTableIndex(TestMsgId)] = &LC_OperData.MessageLinks[0];
/* Not disabled */
- LC_AppData.CurrentLCState = LC_STATE_ACTIVE;
+ LC_AppData.CurrentLCState = LC_AppState_ACTIVE;
/* Miss on first, match on next */
LC_OperData.MessageLinks[0].MessageID = LC_UT_MID_2;
@@ -246,7 +246,7 @@ void LC_CheckMsgForWPs_Test_NominalMsgTime1(void)
LC_OperData.HashTable[LC_GetHashTableIndex(TestMsgId)] = &LC_OperData.MessageLinks[0];
/* Not disabled */
- LC_AppData.CurrentLCState = LC_STATE_ACTIVE;
+ LC_AppData.CurrentLCState = LC_AppState_ACTIVE;
/* Match on first, Null message list */
LC_OperData.MessageLinks[0].MessageID = TestMsgId;
@@ -276,7 +276,7 @@ void LC_CheckMsgForWPs_Test_NominalMsgTime2(void)
LC_OperData.HashTable[LC_GetHashTableIndex(TestMsgId)] = &LC_OperData.MessageLinks[0];
/* Not disabled */
- LC_AppData.CurrentLCState = LC_STATE_ACTIVE;
+ LC_AppData.CurrentLCState = LC_AppState_ACTIVE;
/* Miss on first */
LC_OperData.MessageLinks[0].MessageID = TestMsgId;
@@ -303,7 +303,7 @@ void LC_CheckMsgForWPs_Test_NominalDisabled(void)
{
CFE_SB_MsgId_t TestMsgId = LC_UT_MID_1;
- LC_AppData.CurrentLCState = LC_STATE_DISABLED;
+ LC_AppData.CurrentLCState = LC_AppState_DISABLED;
/* Execute the function being tested */
LC_CheckMsgForWPs(TestMsgId, &UT_CmdBuf.Buf);