Class EControlSystemEngine
java.lang.Object
org.scictrl.mp.orbitcorrect.epics.EControlSystemEngine
- All Implemented Interfaces:
IConfigurable,IControlSystemEngine
EControlSystemEngine class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(org.apache.commons.configuration.Configuration conf) configure.connect.<T> org.scictrl.csshell.Connection<?, T, ?> connect.<T> IDataConnector<T> connect(IBindedElement<T> el) connect.org.scictrl.csshell.epics.EPICSConnectorGetter for the fieldconnector.org.scictrl.csshell.epics.server.ServergetSimulator.<T> TgetValue.org.scictrl.remotestate.RemoteStateNotifierGetter for the fieldwatchdogAuto.org.scictrl.remotestate.RemoteStateNotifierGetter for the fieldwatchdogCorrect.org.scictrl.remotestate.RemoteStateNotifierGetter for the fieldwatchdogRunning.booleanisReady(org.scictrl.csshell.epics.EPICSConnection<?> connection) isReady.voidsignalAutomaticOrbitCorrectionEnded.voidsignalAutomaticOrbitCorrectionStarted.voidsignalOrbitCorrectionEnded.voidsignalOrbitCorrectionRunning.voidsignalOrbitCorrectionShuttingDown.voidsignalOrbitCorrectionStarted.voidsetFast(IWriteConnector<Double>[] properties, double[] values) setFast.booleantest(org.scictrl.csshell.epics.EPICSConnection<?> connection) test.booleantestPowerSupply(org.scictrl.csshell.epics.EPICSConnection<?> connection) testPowerSupply.booleantestRF(org.scictrl.csshell.epics.EPICSConnection<?> connection) testRF.
-
Field Details
-
BEAM_CURRENT_NAME
ConstantBEAM_CURRENT_NAME="A:SR:BeamInfo:01:Current" -
RF_STEPPING_NAME
ConstantRF_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.CAExceptiongetSimulator.
- Returns:
- a
Serverobject - 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.RemoteExceptionGetter for the field
connector.- Returns:
- a
EPICSConnectorobject - Throws:
org.scictrl.csshell.RemoteException- if any.
-
getWatchdogAuto
public org.scictrl.remotestate.RemoteStateNotifier getWatchdogAuto()Getter for the field
watchdogAuto.- Returns:
- a
RemoteStateNotifierobject
-
getWatchdogRunning
public org.scictrl.remotestate.RemoteStateNotifier getWatchdogRunning()Getter for the field
watchdogRunning.- Returns:
- a
RemoteStateNotifierobject
-
getWatchdogCorrect
public org.scictrl.remotestate.RemoteStateNotifier getWatchdogCorrect()Getter for the field
watchdogCorrect.- Returns:
- a
RemoteStateNotifierobject
-
connect
connect.
- Specified by:
connectin interfaceIControlSystemEngine- Parameters:
name- aStringobjectblock- a boolean- Returns:
- a
IDataConnectorobject - Throws:
ControlSystemException- if any.
-
connect
connect.
- Specified by:
connectin interfaceIControlSystemEngine- Type Parameters:
T- a T class- Parameters:
el- aIBindedElementobject- Returns:
- a
IDataConnectorobject - Throws:
ControlSystemException- if any.
-
setFast
public void setFast(IWriteConnector<Double>[] properties, double[] values) throws ControlSystemException setFast.
- Specified by:
setFastin interfaceIControlSystemEngine- Parameters:
properties- an array ofIWriteConnectorobjectsvalues- an array ofobjectsinvalid reference
double- Throws:
ControlSystemException- if any.
-
test
public boolean test(org.scictrl.csshell.epics.EPICSConnection<?> connection) test.
- Parameters:
connection- aEPICSConnectionobject- Returns:
- a boolean
-
testPowerSupply
public boolean testPowerSupply(org.scictrl.csshell.epics.EPICSConnection<?> connection) testPowerSupply.
- Parameters:
connection- aEPICSConnectionobject- Returns:
- a boolean
-
testRF
public boolean testRF(org.scictrl.csshell.epics.EPICSConnection<?> connection) testRF.
- Parameters:
connection- aEPICSConnectionobject- Returns:
- a boolean
-
isReady
public boolean isReady(org.scictrl.csshell.epics.EPICSConnection<?> connection) isReady.
- Parameters:
connection- aEPICSConnectionobject- Returns:
- a boolean
-
notifyOrbitCorrectionEnded
public void notifyOrbitCorrectionEnded()signalOrbitCorrectionEnded.
- Specified by:
notifyOrbitCorrectionEndedin interfaceIControlSystemEngine
-
notifyOrbitCorrectionStarted
public void notifyOrbitCorrectionStarted()signalOrbitCorrectionStarted.
- Specified by:
notifyOrbitCorrectionStartedin interfaceIControlSystemEngine
-
notifyOrbitCorrectionRunning
public void notifyOrbitCorrectionRunning()signalOrbitCorrectionRunning.
- Specified by:
notifyOrbitCorrectionRunningin interfaceIControlSystemEngine
-
notifyOrbitCorrectionShuttingDown
public void notifyOrbitCorrectionShuttingDown()signalOrbitCorrectionShuttingDown.
- Specified by:
notifyOrbitCorrectionShuttingDownin interfaceIControlSystemEngine
-
notifyAutomaticOrbitCorrectionEnded
public void notifyAutomaticOrbitCorrectionEnded()signalAutomaticOrbitCorrectionEnded.
- Specified by:
notifyAutomaticOrbitCorrectionEndedin interfaceIControlSystemEngine
-
notifyAutomaticOrbitCorrectionStarted
public void notifyAutomaticOrbitCorrectionStarted()signalAutomaticOrbitCorrectionStarted.
- Specified by:
notifyAutomaticOrbitCorrectionStartedin interfaceIControlSystemEngine
-
configure
public void configure(org.apache.commons.configuration.Configuration conf) configure.
- Specified by:
configurein interfaceIConfigurable- Parameters:
conf- aConfigurationobject
-
getValue
getValue.
- Specified by:
getValuein interfaceIControlSystemEngine- Type Parameters:
T- a T class- Parameters:
pv- aStringobjecttype- aClassobject- 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- aStringobjecttype- aClassobject- Returns:
- a
Connectionobject - Throws:
ControlSystemException- if any.
-