Class StepFeedbackLoopApplication3
java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.StepFeedbackLoopApplication3
- All Implemented Interfaces:
org.scictrl.csshell.epics.server.Application
,org.scictrl.csshell.epics.server.processor.OnDemandValueProcessor.ValueProvider
- Direct Known Subclasses:
StepFeedbackLoopApplication31
,StepFeedbackLoopApplication32
public class StepFeedbackLoopApplication3
extends org.scictrl.csshell.epics.server.application.AbstractApplication
StepFeedbackLoopApplication3 class.
- Author:
- igor@scictrl.com
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Feedback algorithm must implement this interface in order to be controlled by this application.static enum
State of last operation. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ConstantENABLED="Enabled"
static final String
ConstantERROR_SUM="ErrorSum"
static final String
ConstantINPUT="Input"
static final String
ConstantINPUT_MAX="Input:Max"
static final String
ConstantINPUT_MIN="Input:Min"
static final String
ConstantINPUT_TARGET_HIGH="Input:TargetHigh"
static final String
ConstantINPUT_TARGET_LOW="Input:TargetLow"
static final String
ConstantINPUT_TARGET_OFF="Input:TargetOff"
static final String
ConstantINTERLOCK="Interlock"
static final String
ConstantLOOP_RATE="LoopRate"
static final String
ConstantOFF_ON_ERROR="OffOnError"
static final String
ConstantSTATE="Status"
static final String
ConstantSTATE_DESC="Status:Desc"
static final String
ConstantSTATE_INTLCK="Status:Interlock"
static final String
ConstantVAC_ALARM_HIGH="VacAlarmHigh"
static final String
ConstantVAC_ALARM_LOW="VacAlarmLow"
static final String
ConstantVAC_WARNING_HIGH="VacWarningHigh"
static final String
ConstantVAC_WARNING_LOW="VacWarningLow"
Fields inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
database, DEFAULT_NAME_DELIMITER, dynamicRecordCreator, LINK_ERROR, LINK_ERROR_STRING, links, log, name, NAME_DELIMITER, nameDelimiter, records
-
Constructor Summary
ConstructorDescriptionConstructor for StepFeedbackLoopApplication3. -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
void
getState()
Getter for the fieldstate
.newFeedbackControl.protected void
notifyLinkChange
(String name) protected void
notifyRecordChange
(String name, boolean alarmOnly) protected void
notifyRecordWrite
(String name) Setter for the fieldstate
.setState
(StepFeedbackLoopApplication3.SM state, String desc) Setter for the fieldstate
.void
triggerLoop.Methods inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
addRecord, addRecordOfCommandProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfOnDemandProcessor, addRecordOfOnLinkValueProcessor, configure, connectLinks, createNewStore, fullRecordName, getLinks, getName, getNameDelimiter, getNotNull, getRecord, getRecordErrorSum, getRecordLinkError, getRecordNames, getRecords, getStore, getStore, getValue, initialize, isActivated, isDynamicRecordCreator, log4debug, log4error, log4error, log4info, processLinkChange, pushDoneCommandProcessor, reconnectLinks, resetOnDemandProcessor, restore, store, toString, updateErrorSum, updateErrorSum, updateLinkError, updateLinkError
-
Field Details
-
OFF_ON_ERROR
ConstantOFF_ON_ERROR="OffOnError"
- See Also:
-
LOOP_RATE
ConstantLOOP_RATE="LoopRate"
- See Also:
-
STATE
ConstantSTATE="Status"
- See Also:
-
STATE_DESC
ConstantSTATE_DESC="Status:Desc"
- See Also:
-
STATE_INTLCK
ConstantSTATE_INTLCK="Status:Interlock"
- See Also:
-
ENABLED
ConstantENABLED="Enabled"
- See Also:
-
ERROR_SUM
ConstantERROR_SUM="ErrorSum"
- See Also:
-
INTERLOCK
ConstantINTERLOCK="Interlock"
- See Also:
-
VAC_ALARM_HIGH
ConstantVAC_ALARM_HIGH="VacAlarmHigh"
- See Also:
-
VAC_ALARM_LOW
ConstantVAC_ALARM_LOW="VacAlarmLow"
- See Also:
-
VAC_WARNING_HIGH
ConstantVAC_WARNING_HIGH="VacWarningHigh"
- See Also:
-
VAC_WARNING_LOW
ConstantVAC_WARNING_LOW="VacWarningLow"
- See Also:
-
INPUT_TARGET_LOW
ConstantINPUT_TARGET_LOW="Input:TargetLow"
- See Also:
-
INPUT_TARGET_HIGH
ConstantINPUT_TARGET_HIGH="Input:TargetHigh"
- See Also:
-
INPUT_TARGET_OFF
ConstantINPUT_TARGET_OFF="Input:TargetOff"
- See Also:
-
INPUT
ConstantINPUT="Input"
- See Also:
-
INPUT_MIN
ConstantINPUT_MIN="Input:Min"
- See Also:
-
INPUT_MAX
ConstantINPUT_MAX="Input:Max"
- See Also:
-
-
Constructor Details
-
StepFeedbackLoopApplication3
public StepFeedbackLoopApplication3()Constructor for StepFeedbackLoopApplication3.
-
-
Method Details
-
newFeedbackControl
newFeedbackControl.
- Returns:
- a
StepFeedbackLoopApplication3.FeedbackControl
object
-
configure
public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config) - Specified by:
configure
in interfaceorg.scictrl.csshell.epics.server.Application
- Overrides:
configure
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
activate
public void activate()- Specified by:
activate
in interfaceorg.scictrl.csshell.epics.server.Application
- Overrides:
activate
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyRecordChange
- Overrides:
notifyRecordChange
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyRecordWrite
- Overrides:
notifyRecordWrite
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyLinkChange
- Overrides:
notifyLinkChange
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
triggerLoop
public void triggerLoop()triggerLoop.
-
getState
Getter for the field
state
.- Returns:
- a
StepFeedbackLoopApplication3.SM
object
-
setState
Setter for the field
state
.- Parameters:
state
- aStepFeedbackLoopApplication3.SM
object- Returns:
- a
StepFeedbackLoopApplication3.SM
object
-
setState
Setter for the field
state
.- Parameters:
state
- aStepFeedbackLoopApplication3.SM
objectdesc
- aString
object- Returns:
- a
StepFeedbackLoopApplication3.SM
object
-