Class EControlSystemEngine

java.lang.Object
org.scictrl.mp.orbitcorrect.epics.EControlSystemEngine
All Implemented Interfaces:
IConfigurable, IControlSystemEngine

public class EControlSystemEngine extends Object implements IControlSystemEngine

EControlSystemEngine class.

Author:
igor@scictrl.com
  • Field Details

    • BEAM_CURRENT_NAME

      public static String BEAM_CURRENT_NAME
      Constant BEAM_CURRENT_NAME="A:SR:BeamInfo:01:Current"
    • RF_STEPPING_NAME

      public static String RF_STEPPING_NAME
      Constant RF_STEPPING_NAME="A:TI:SignGen:SR-01:Status:Stepping"
  • Constructor Details

    • EControlSystemEngine

      public EControlSystemEngine()

      Constructor for EControlSystemEngine.

  • Method Details

    • getSimulator

      public org.scictrl.csshell.epics.server.Server getSimulator() throws org.apache.commons.configuration.ConfigurationException, org.scictrl.csshell.RemoteException, gov.aps.jca.CAException

      getSimulator.

      Returns:
      a Server object
      Throws:
      org.apache.commons.configuration.ConfigurationException - if any.
      org.scictrl.csshell.RemoteException - if any.
      gov.aps.jca.CAException - if any.
    • getConnector

      public org.scictrl.csshell.epics.EPICSConnector getConnector() throws org.scictrl.csshell.RemoteException

      Getter for the field connector.

      Returns:
      a EPICSConnector object
      Throws:
      org.scictrl.csshell.RemoteException - if any.
    • getWatchdogAuto

      public org.scictrl.remotestate.RemoteStateNotifier getWatchdogAuto()

      Getter for the field watchdogAuto.

      Returns:
      a RemoteStateNotifier object
    • getWatchdogRunning

      public org.scictrl.remotestate.RemoteStateNotifier getWatchdogRunning()

      Getter for the field watchdogRunning.

      Returns:
      a RemoteStateNotifier object
    • getWatchdogCorrect

      public org.scictrl.remotestate.RemoteStateNotifier getWatchdogCorrect()

      Getter for the field watchdogCorrect.

      Returns:
      a RemoteStateNotifier object
    • connect

      public IDataConnector<Double> connect(String name, boolean block) throws ControlSystemException

      connect.

      Specified by:
      connect in interface IControlSystemEngine
      Parameters:
      name - a String object
      block - a boolean
      Returns:
      a IDataConnector object
      Throws:
      ControlSystemException - if any.
    • connect

      public <T> IDataConnector<T> connect(IBindedElement<T> el) throws ControlSystemException

      connect.

      Specified by:
      connect in interface IControlSystemEngine
      Type Parameters:
      T - a T class
      Parameters:
      el - a IBindedElement object
      Returns:
      a IDataConnector object
      Throws:
      ControlSystemException - if any.
    • setFast

      public void setFast(IWriteConnector<Double>[] properties, double[] values) throws ControlSystemException

      setFast.

      Specified by:
      setFast in interface IControlSystemEngine
      Parameters:
      properties - an array of IWriteConnector objects
      values - an array of
      invalid reference
      double
      objects
      Throws:
      ControlSystemException - if any.
    • test

      public boolean test(org.scictrl.csshell.epics.EPICSConnection<?> connection)

      test.

      Parameters:
      connection - a EPICSConnection object
      Returns:
      a boolean
    • testPowerSupply

      public boolean testPowerSupply(org.scictrl.csshell.epics.EPICSConnection<?> connection)

      testPowerSupply.

      Parameters:
      connection - a EPICSConnection object
      Returns:
      a boolean
    • testRF

      public boolean testRF(org.scictrl.csshell.epics.EPICSConnection<?> connection)

      testRF.

      Parameters:
      connection - a EPICSConnection object
      Returns:
      a boolean
    • isReady

      public boolean isReady(org.scictrl.csshell.epics.EPICSConnection<?> connection)

      isReady.

      Parameters:
      connection - a EPICSConnection object
      Returns:
      a boolean
    • notifyOrbitCorrectionEnded

      public void notifyOrbitCorrectionEnded()

      signalOrbitCorrectionEnded.

      Specified by:
      notifyOrbitCorrectionEnded in interface IControlSystemEngine
    • notifyOrbitCorrectionStarted

      public void notifyOrbitCorrectionStarted()

      signalOrbitCorrectionStarted.

      Specified by:
      notifyOrbitCorrectionStarted in interface IControlSystemEngine
    • notifyOrbitCorrectionRunning

      public void notifyOrbitCorrectionRunning()

      signalOrbitCorrectionRunning.

      Specified by:
      notifyOrbitCorrectionRunning in interface IControlSystemEngine
    • notifyOrbitCorrectionShuttingDown

      public void notifyOrbitCorrectionShuttingDown()

      signalOrbitCorrectionShuttingDown.

      Specified by:
      notifyOrbitCorrectionShuttingDown in interface IControlSystemEngine
    • notifyAutomaticOrbitCorrectionEnded

      public void notifyAutomaticOrbitCorrectionEnded()

      signalAutomaticOrbitCorrectionEnded.

      Specified by:
      notifyAutomaticOrbitCorrectionEnded in interface IControlSystemEngine
    • notifyAutomaticOrbitCorrectionStarted

      public void notifyAutomaticOrbitCorrectionStarted()

      signalAutomaticOrbitCorrectionStarted.

      Specified by:
      notifyAutomaticOrbitCorrectionStarted in interface IControlSystemEngine
    • configure

      public void configure(org.apache.commons.configuration.Configuration conf)

      configure.

      Specified by:
      configure in interface IConfigurable
      Parameters:
      conf - a Configuration object
    • getValue

      public <T> T getValue(String pv, Class<T> type) throws ControlSystemException

      getValue.

      Specified by:
      getValue in interface IControlSystemEngine
      Type Parameters:
      T - a T class
      Parameters:
      pv - a String object
      type - a Class object
      Returns:
      a T object
      Throws:
      ControlSystemException - if any.
    • connect

      public <T> org.scictrl.csshell.Connection<?,T,?> connect(String pv, Class<T> type) throws ControlSystemException

      connect.

      Type Parameters:
      T - a T class
      Parameters:
      pv - a String object
      type - a Class object
      Returns:
      a Connection object
      Throws:
      ControlSystemException - if any.