Class PowerInterlockApplication
java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.PowerInterlockApplication
- All Implemented Interfaces:
org.scictrl.csshell.epics.server.Application,org.scictrl.csshell.epics.server.processor.OnDemandValueProcessor.ValueProvider
public class PowerInterlockApplication
extends org.scictrl.csshell.epics.server.application.AbstractApplication
Listens to preflected power limiter interlock signal, which is triggered when RF cavity sparking occurs. With this interlock disabled
- Author:
- igor@scictrl.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCalculates rate of interlocks on normalized time interval. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstantAL_ENABLED="Autolimit:Enabled"static final StringConstantAL_INPUT="Autolimit:Input"static final StringConstantLIMITER_LEVEL="LimiterLevel"static final StringConstantAL_MIN="Autolimit:Min"static final StringConstantAL_RATE="Autolimit:Rate"static final StringConstantAR_DELAY="Autoreset:Delay"static final StringConstantAR_ENABLED="Autoreset:Enabled"static final StringConstantCMD_RESET="Cmd:Reset"static final StringConstantENABLED="Enabled"static final StringConstantINTERLOCK="Interlock"static final StringConstantOFF_ON="OffOn"static final StringConstantRATE="Rate"static final StringConstantRATE_MAX="Rate:Max"static final StringConstantRFSWITCH="RfSwitch"static final StringConstantRFSWITCH_ENABLED="RfSwitch:Enabled"static final StringConstantSTATE="Status:State"Fields inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
database, DEFAULT_NAME_DELIMITER, dynamicRecordCreator, ERROR_SUM, LINK_ERROR, LINK_ERROR_STRING, links, log, name, NAME_DELIMITER, nameDelimiter, records -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidprotected voidnotifyLinkChange(String name) protected voidnotifyRecordChange(String name, boolean alarmOnly) protected voidnotifyRecordWrite(String name) 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
-
ENABLED
ConstantENABLED="Enabled"- See Also:
-
STATE
ConstantSTATE="Status:State"- See Also:
-
OFF_ON
ConstantOFF_ON="OffOn"- See Also:
-
RATE_MAX
ConstantRATE_MAX="Rate:Max"- See Also:
-
RATE
ConstantRATE="Rate"- See Also:
-
INTERLOCK
ConstantINTERLOCK="Interlock"- See Also:
-
CMD_RESET
ConstantCMD_RESET="Cmd:Reset"- See Also:
-
AR_ENABLED
ConstantAR_ENABLED="Autoreset:Enabled"- See Also:
-
AR_DELAY
ConstantAR_DELAY="Autoreset:Delay"- See Also:
-
AL_ENABLED
ConstantAL_ENABLED="Autolimit:Enabled"- See Also:
-
AL_RATE
ConstantAL_RATE="Autolimit:Rate"- See Also:
-
AL_INPUT
ConstantAL_INPUT="Autolimit:Input"- See Also:
-
AL_MIN
ConstantAL_MIN="Autolimit:Min"- See Also:
-
AL_LIMITER_LEVEL
ConstantLIMITER_LEVEL="LimiterLevel"- See Also:
-
RFSWITCH_ENABLED
ConstantRFSWITCH_ENABLED="RfSwitch:Enabled"- See Also:
-
RFSWITCH
ConstantRFSWITCH="RfSwitch"- See Also:
-
-
Constructor Details
-
PowerInterlockApplication
public PowerInterlockApplication()Constructor for PowerInterlockApplication.
-
-
Method Details
-
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.
-