Renamed
This commit is contained in:
@@ -1,99 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+DISABLED = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = "ERROR"
|
|
||||||
NextStateError = "ERROR"
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
//# Error State (Enter by HVPS errors)
|
|
||||||
+ERROR = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+INITIAL = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+Start = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = "WAITSTANDBY"
|
|
||||||
NextStateError = "ERROR"
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITHVON = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitPermit = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITPERMIT
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitPermit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_permit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITHVON_PREP = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitPermit = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITPERMIT
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitPermit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_permit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITHVON_SDN = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitPermit = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITPERMIT
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitPermit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_permit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITHVON_SDN_PREP = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitPermit = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITPERMIT
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitPermit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_permit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,287 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITPERMIT = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitReady = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITREADY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitReady
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_ready
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitHVON = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITHVON
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitHVON
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_hvon
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitHVON_SDN = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITHVON_SDN
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitHVON_SDN
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_hvon_sdn
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitHVON_PREP = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITHVON_PREP
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitHVON_PREP
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_hvon_prep
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitHVON_SDN_PREP = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITHVON_SDN_PREP
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitHVON_SDN_PREP
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_hvon_sdn_prep
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITREADY = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitStandby = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITSTANDBY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitStandby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_standby
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoWaitPermit = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITPERMIT
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitPermit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_permit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
#package jada_gyro.StateMachine
|
|
||||||
|
|
||||||
+WAITSTANDBY = {
|
|
||||||
Class = ReferenceContainer
|
|
||||||
+GoWaitReady = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = WAITREADY
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = WaitReady
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_ready
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoDisabled = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = DISABLED
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Disabled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_disabled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+GoError = {
|
|
||||||
Class = StateMachineEvent
|
|
||||||
NextState = ERROR
|
|
||||||
NextStateError = ERROR
|
|
||||||
+StopCurrentStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StopCurrentStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+PrepareNextStateMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
Function = "PrepareNextState"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
param1 = Error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+StartNextStateExecutionMsg = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp
|
|
||||||
Function = "StartNextStateExecution"
|
|
||||||
Mode = "ExpectsReply"
|
|
||||||
}
|
|
||||||
+SetState = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_STATE
|
|
||||||
SignalValue = @state_error
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+SetFault = {
|
|
||||||
Class = Message
|
|
||||||
Destination = RTApp.Functions.StateGAM
|
|
||||||
Function = "SetOutput"
|
|
||||||
+Parameters = {
|
|
||||||
Class = ConfigurationDatabase
|
|
||||||
SignalName = PCF_FAULT
|
|
||||||
SignalValue = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user