Class FastModeOCServer
java.lang.Object
org.scictrl.mp.orbitcorrect.server.app.AbstractOCAppServer
org.scictrl.mp.orbitcorrect.server.app.FastModeOCServer
- All Implemented Interfaces:
IDataBushServer
This is top level application server, loads configuration which binds published PV names with underlying functionality. Among other things loads correct Databush machine physics engine.
It has own application name and associated configuration, which is distinct from MachinePhysics engine (Databush).
- Author:
- igor@scictrl.com
-
Field Summary
FieldsFields inherited from class org.scictrl.mp.orbitcorrect.server.app.AbstractOCAppServer
CMD_ABORT, CMD_BPMS_H_SELECT_ALL, CMD_BPMS_H_SELECT_NONE, CMD_BPMS_V_SELECT_ALL, CMD_BPMS_V_SELECT_NONE, CMD_CALC_CORR, CMD_CORR_H_SELECT_ALL, CMD_CORR_H_SELECT_NONE, CMD_CORR_V_SELECT_ALL, CMD_CORR_V_SELECT_NONE, CMD_DUMP_DATA, CMD_START_CONTINUOUS, CMD_START_SINGLE_LOOP, CMD_START_SINGLE_STEP, CMD_STOP, CMD_TEST_ALL, CMD_UNDO, CONTROL_BPMS_H_SEL, CONTROL_BPMS_NAMES, CONTROL_BPMS_POS, CONTROL_BPMS_V_SEL, CONTROL_CORR_H_NAMES, CONTROL_CORR_H_POS, CONTROL_CORR_H_SEL, CONTROL_CORR_V_NAMES, CONTROL_CORR_V_POS, CONTROL_CORR_V_SEL, CONTROL_CORRECT_H, CONTROL_CORRECT_V, CONTROL_DEBUG_DATA_ENABLE, CONTROL_MAX_STEP_H, CONTROL_MAX_STEP_V, CONTROL_MINIMAL_EIGENVALUE_H, CONTROL_MINIMAL_EIGENVALUE_V, CONTROL_MODEL_H, CONTROL_MODEL_V, CONTROL_OPTIC_NAMES, CONTROL_OPTIC_POS, CONTROL_SCALE, DATA_ALPHA_H, DATA_ALPHA_V, DATA_BETA_H, DATA_BETA_V, DATA_DISPERSION, DATA_DISPERSION_DP, DATA_EIGENVAL_H, DATA_EIGENVAL_USED_H, DATA_EIGENVAL_USED_V, DATA_EIGENVAL_V, DATA_ENERGY, DATA_QBAD, DATA_TUNE_H, DATA_TUNE_V, INFO_ID, PROPERTY_OC_AVAILABLE_CORR_MODELS_H, PROPERTY_OC_AVAILABLE_CORR_MODELS_V, PROPERTY_OC_BPM_NAMES_PV, PROPERTY_OC_CONFIGURABLE_REMOTELY, PROPERTY_OC_CORRECTION_MODEL_H, PROPERTY_OC_CORRECTION_MODEL_V, PROPERTY_OC_CORRECTION_SCALE, PROPERTY_OC_PV_PREFIX, PROPERTY_OC_REFERENCE_ORBIT_PV, PROPERTY_OC_SEMAPHORE_PV, STATUS_AUTO_MODE, STATUS_CAN_UNDO, STATUS_CONFIG_REMOTE, STATUS_CORRECTING, STATUS_LOG, STATUS_MESSAGE, STATUS_STATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigure(IOrbitCorrectionModel model) configure.getAutomaticOC.voidinitialize.protected voidDoes initialization for specific correction model.static voidmain.protected voidnotifyRecordChange.protected voidnotifyRecordWrite.Methods inherited from class org.scictrl.mp.orbitcorrect.server.app.AbstractOCAppServer
abortCorrection, getController, getDataBush, getDataModel, getEngine, getOperator, getRecord, getServer, isActive, isConfigurableRemotely, reportElementsUsage, shutdown, startCalcCorr, startContinunous, startSingleLoop, startSingleStep, stopCorrection, testAll, undoCorrection, updateReference
-
Field Details
-
APP_NAME
ConstantAPP_NAME="FastModeOC"- See Also:
-
-
Constructor Details
-
FastModeOCServer
Constructor for FastModeOCServer.
- Parameters:
name- aStringobject
-
-
Method Details
-
getAutomaticOC
getAutomaticOC.
Getter for the field
automaticOC.- Specified by:
getAutomaticOCin classAbstractOCAppServer- Returns:
- a
IAutomaticOCModelobject
-
main
main.
- Parameters:
args- an array ofStringobjects
-
initialize
public void initialize()initialize.
initialize.
initialize.
- Specified by:
initializein interfaceIDataBushServer- Overrides:
initializein classAbstractOCAppServer
-
initializeFor
Does initialization for specific correction model. Does initialization for specific correction model.- Overrides:
initializeForin classAbstractOCAppServer- Parameters:
m- aIOrbitCorrectionModelobject
-
notifyRecordChange
notifyRecordChange.
- Overrides:
notifyRecordChangein classAbstractOCAppServer- Parameters:
evt- aPropertyChangeEventobject
-
notifyRecordWrite
notifyRecordWrite.
- Overrides:
notifyRecordWritein classAbstractOCAppServer- Parameters:
evt- aPropertyChangeEventobject
-
configure
configure.
- Specified by:
configurein classAbstractOCAppServer- Parameters:
model- aIOrbitCorrectionModelobject
-