-
Nested Class Summary
Nested Classes
-
Method Summary
boolean
Pause after current command finishes
Resume executing command buffer
Stop immediately and clear command buffer
void
Perform operations that must be done after Spring initialisation i.e.
void
int
int
int
void
int
int
int
int
void
boolean
boolean
boolean
void
void
void
void
void
void
void
void
void
void
void
void
void
Set or change the name of the object (as defined in XML).
void
void
void
void
void
-
Method Details
-
-
-
-
getCommandPort
int getCommandPort()
-
getCommandSocketConnection
-
getDetDistanceIndex
int getDetDistanceIndex()
-
-
getKappaIndex
int getKappaIndex()
-
-
getLastExecutedCommand
String getLastExecutedCommand()
-
-
-
getName
Description copied from interface: Findable
Get the object name. Used by Castor to check if the object name has been set before calling the
Findable.setName(String) method.
- Specified by:
getName in interface Findable
- Returns:
- a String containing the object name.
-
getOmegaIndex
int getOmegaIndex()
-
getPhiIndex
int getPhiIndex()
-
getBufferCount
- Returns:
- number of commands remaining be executed in buffer
-
getBufferNext
- Returns:
- next command to be executed in buffer
-
getBufferList
- Returns:
- semi-colon separated list of unexecuted commands remaining in buffer
-
getPosition
Double getPosition(int axisIndex)
-
-
-
-
getStatusPort
int getStatusPort()
-
getStatusSocketConnection
-
getTwoThetaIndex
int getTwoThetaIndex()
-
-
-
-
-
-
-
-
-
setCommandPort
void setCommandPort(int port)
-
setCommandSocketConnection
-
setDetDistanceIndex
void setDetDistanceIndex(int detDistanceIndex)
-
-
setKappaIndex
void setKappaIndex(int kappaIndex)
-
-
-
-
setName
Description copied from interface: Findable
Set or change the name of the object (as defined in XML).
- Specified by:
setName in interface Findable
- Parameters:
name - the object name
-
setOmegaIndex
void setOmegaIndex(int omegaIndex)
-
setPhiIndex
void setPhiIndex(int phiIndex)
-
setStatusPort
void setStatusPort(int statusPort)
-
setStatusSocketConnection
-
setTwoThetaIndex
void setTwoThetaIndex(int twoThetaIndex)
-
cmdClearBuffer
Clear command buffer
- Returns:
- status
- Throws:
DeviceException
-
cmdPauseOnNext
Pause after current command finishes
- Returns:
- status
- Throws:
DeviceException
-
cmdResume
Resume executing command buffer
- Returns:
- status
- Throws:
DeviceException
-
cmdStopAll
Stop immediately and clear command buffer
- Returns:
- status
- Throws:
DeviceException