Class EControlSystemEngine
java.lang.Object
org.scictrl.mp.orbitcorrect.epics.EControlSystemEngine
- All Implemented Interfaces:
IConfigurable
,IControlSystemEngine
EControlSystemEngine class.
- Author:
- igor@scictrl.com
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(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.EPICSConnector
Getter for the fieldconnector
.org.scictrl.csshell.epics.server.Server
getSimulator.<T> T
getValue.org.scictrl.remotestate.RemoteStateNotifier
Getter for the fieldwatchdogAuto
.org.scictrl.remotestate.RemoteStateNotifier
Getter for the fieldwatchdogCorrect
.org.scictrl.remotestate.RemoteStateNotifier
Getter for the fieldwatchdogRunning
.boolean
isReady
(org.scictrl.csshell.epics.EPICSConnection<?> connection) isReady.void
signalAutomaticOrbitCorrectionEnded.void
signalAutomaticOrbitCorrectionStarted.void
signalOrbitCorrectionEnded.void
signalOrbitCorrectionRunning.void
signalOrbitCorrectionShuttingDown.void
signalOrbitCorrectionStarted.void
setFast
(IWriteConnector<Double>[] properties, double[] values) setFast.boolean
test
(org.scictrl.csshell.epics.EPICSConnection<?> connection) test.boolean
testPowerSupply
(org.scictrl.csshell.epics.EPICSConnection<?> connection) testPowerSupply.boolean
testRF
(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
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.RemoteExceptionGetter 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
connect.
- Specified by:
connect
in interfaceIControlSystemEngine
- Parameters:
name
- aString
objectblock
- a boolean- Returns:
- a
IDataConnector
object - Throws:
ControlSystemException
- if any.
-
connect
connect.
- Specified by:
connect
in interfaceIControlSystemEngine
- Type Parameters:
T
- a T class- Parameters:
el
- aIBindedElement
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 interfaceIControlSystemEngine
- Parameters:
properties
- an array ofIWriteConnector
objectsvalues
- an array ofinvalid reference
double
- Throws:
ControlSystemException
- if any.
-
test
public boolean test(org.scictrl.csshell.epics.EPICSConnection<?> connection) test.
- Parameters:
connection
- aEPICSConnection
object- Returns:
- a boolean
-
testPowerSupply
public boolean testPowerSupply(org.scictrl.csshell.epics.EPICSConnection<?> connection) testPowerSupply.
- Parameters:
connection
- aEPICSConnection
object- Returns:
- a boolean
-
testRF
public boolean testRF(org.scictrl.csshell.epics.EPICSConnection<?> connection) testRF.
- Parameters:
connection
- aEPICSConnection
object- Returns:
- a boolean
-
isReady
public boolean isReady(org.scictrl.csshell.epics.EPICSConnection<?> connection) isReady.
- Parameters:
connection
- aEPICSConnection
object- Returns:
- a boolean
-
notifyOrbitCorrectionEnded
public void notifyOrbitCorrectionEnded()signalOrbitCorrectionEnded.
- Specified by:
notifyOrbitCorrectionEnded
in interfaceIControlSystemEngine
-
notifyOrbitCorrectionStarted
public void notifyOrbitCorrectionStarted()signalOrbitCorrectionStarted.
- Specified by:
notifyOrbitCorrectionStarted
in interfaceIControlSystemEngine
-
notifyOrbitCorrectionRunning
public void notifyOrbitCorrectionRunning()signalOrbitCorrectionRunning.
- Specified by:
notifyOrbitCorrectionRunning
in interfaceIControlSystemEngine
-
notifyOrbitCorrectionShuttingDown
public void notifyOrbitCorrectionShuttingDown()signalOrbitCorrectionShuttingDown.
- Specified by:
notifyOrbitCorrectionShuttingDown
in interfaceIControlSystemEngine
-
notifyAutomaticOrbitCorrectionEnded
public void notifyAutomaticOrbitCorrectionEnded()signalAutomaticOrbitCorrectionEnded.
- Specified by:
notifyAutomaticOrbitCorrectionEnded
in interfaceIControlSystemEngine
-
notifyAutomaticOrbitCorrectionStarted
public void notifyAutomaticOrbitCorrectionStarted()signalAutomaticOrbitCorrectionStarted.
- Specified by:
notifyAutomaticOrbitCorrectionStarted
in interfaceIControlSystemEngine
-
configure
public void configure(org.apache.commons.configuration.Configuration conf) configure.
- Specified by:
configure
in interfaceIConfigurable
- Parameters:
conf
- aConfiguration
object
-
getValue
getValue.
- Specified by:
getValue
in interfaceIControlSystemEngine
- Type Parameters:
T
- a T class- Parameters:
pv
- aString
objecttype
- aClass
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
- aString
objecttype
- aClass
object- Returns:
- a
Connection
object - Throws:
ControlSystemException
- if any.
-