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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFeedback algorithm must implement this interface in order to be controlled by this application.static enumState of last operation. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstantENABLED="Enabled"static final StringConstantERROR_SUM="ErrorSum"static final StringConstantINPUT="Input"static final StringConstantINPUT_MAX="Input:Max"static final StringConstantINPUT_MIN="Input:Min"static final StringConstantINPUT_TARGET_HIGH="Input:TargetHigh"static final StringConstantINPUT_TARGET_LOW="Input:TargetLow"static final StringConstantINPUT_TARGET_OFF="Input:TargetOff"static final StringConstantINTERLOCK="Interlock"static final StringConstantLOOP_RATE="LoopRate"static final StringConstantOFF_ON_ERROR="OffOnError"static final StringConstantSTATE="Status"static final StringConstantSTATE_DESC="Status:Desc"static final StringConstantSTATE_INTLCK="Status:Interlock"static final StringConstantVAC_ALARM_HIGH="VacAlarmHigh"static final StringConstantVAC_ALARM_LOW="VacAlarmLow"static final StringConstantVAC_WARNING_HIGH="VacWarningHigh"static final StringConstantVAC_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
ConstructorsConstructorDescriptionConstructor for StepFeedbackLoopApplication3. -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidgetState()Getter for the fieldstate.newFeedbackControl.protected voidnotifyLinkChange(String name) protected voidnotifyRecordChange(String name, boolean alarmOnly) protected voidnotifyRecordWrite(String name) Setter for the fieldstate.setState(StepFeedbackLoopApplication3.SM state, String desc) Setter for the fieldstate.voidtriggerLoop.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.FeedbackControlobject
-
configure
public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config) - Specified by:
configurein interfaceorg.scictrl.csshell.epics.server.Application- Overrides:
configurein classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
activate
public void activate()- Specified by:
activatein interfaceorg.scictrl.csshell.epics.server.Application- Overrides:
activatein classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyRecordChange
- Overrides:
notifyRecordChangein classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyRecordWrite
- Overrides:
notifyRecordWritein classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyLinkChange
- Overrides:
notifyLinkChangein classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
triggerLoop
public void triggerLoop()triggerLoop.
-
getState
Getter for the field
state.- Returns:
- a
StepFeedbackLoopApplication3.SMobject
-
setState
Setter for the field
state.- Parameters:
state- aStepFeedbackLoopApplication3.SMobject- Returns:
- a
StepFeedbackLoopApplication3.SMobject
-
setState
Setter for the field
state.- Parameters:
state- aStepFeedbackLoopApplication3.SMobjectdesc- aStringobject- Returns:
- a
StepFeedbackLoopApplication3.SMobject
-