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 Classes
    Modifier and Type
    Class
    Description
    static class 
    Calculates rate of interlocks on normalized time interval.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant AL_ENABLED="Autolimit:Enabled"
    static final String
    Constant AL_INPUT="Autolimit:Input"
    static final String
    Constant LIMITER_LEVEL="LimiterLevel"
    static final String
    Constant AL_MIN="Autolimit:Min"
    static final String
    Constant AL_RATE="Autolimit:Rate"
    static final String
    Constant AR_DELAY="Autoreset:Delay"
    static final String
    Constant AR_ENABLED="Autoreset:Enabled"
    static final String
    Constant CMD_RESET="Cmd:Reset"
    static final String
    Constant ENABLED="Enabled"
    static final String
    Constant INTERLOCK="Interlock"
    static final String
    Constant OFF_ON="OffOn"
    static final String
    Constant RATE="Rate"
    static final String
    Constant RATE_MAX="Rate:Max"
    static final String
    Constant RFSWITCH="RfSwitch"
    static final String
    Constant RFSWITCH_ENABLED="RfSwitch:Enabled"
    static final String
    Constant STATE="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
    Constructor
    Description
    Constructor for PowerInterlockApplication.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    void
    configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config)
    protected void
    protected void
    notifyRecordChange(String name, boolean alarmOnly)
    protected void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • PowerInterlockApplication

      public PowerInterlockApplication()

      Constructor for PowerInterlockApplication.

  • Method Details

    • configure

      public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config)
      Specified by:
      configure in interface org.scictrl.csshell.epics.server.Application
      Overrides:
      configure in class org.scictrl.csshell.epics.server.application.AbstractApplication
    • activate

      public void activate()
      Specified by:
      activate in interface org.scictrl.csshell.epics.server.Application
      Overrides:
      activate in class org.scictrl.csshell.epics.server.application.AbstractApplication
    • notifyRecordChange

      protected void notifyRecordChange(String name, boolean alarmOnly)
      Overrides:
      notifyRecordChange in class org.scictrl.csshell.epics.server.application.AbstractApplication
    • notifyRecordWrite

      protected void notifyRecordWrite(String name)
      Overrides:
      notifyRecordWrite in class org.scictrl.csshell.epics.server.application.AbstractApplication
    • notifyLinkChange

      protected void notifyLinkChange(String name)
      Overrides:
      notifyLinkChange in class org.scictrl.csshell.epics.server.application.AbstractApplication
    • triggerLoop

      public void triggerLoop()

      triggerLoop.