Package xal.smf.impl
Class WireHarp.DevStatus
java.lang.Object
xal.smf.scada.ScadaRecord
xal.smf.impl.profile.ParameterSet
xal.smf.impl.WireHarp.DevStatus
- All Implemented Interfaces:
Cloneable
,DataListener
- Enclosing class:
- WireHarp
Contains device status parameters.
- Since:
- Mar 20, 2014
- Author:
- Christopher K. Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class xal.smf.scada.ScadaRecord
ScadaRecord.IFieldDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Result code of the latest harp user command.static final ScadaFieldMap
Map of field names to field SCADA descriptors for this structureint
Flag indicating harp is insertedint
Flag indicating harp is retractedint
Flag indicating harp is stoppedint
Manual control status indicatorint
Alarm flag for wire signal; it indicates correct operations.int
Machine Protection System status flag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WireHarp.DevStatus
Convenience method for retrieving a new initialized data structure populated from the given device state.Methods inherited from class xal.smf.impl.profile.ParameterSet
dataLabel
Methods inherited from class xal.smf.scada.ScadaRecord
clone, getFieldDescriptor, getFieldDescriptorMap, getFieldDescriptors, loadHardwareValues, setFieldFromPV, setHardwareValues, setPvFromField, toString, update, write
-
Field Details
-
FLD_MAP
Map of field names to field SCADA descriptors for this structure -
statDev
Alarm flag for wire signal; it indicates correct operations.
status: 0=OK, 1=Saturated -
statMps
Machine Protection System status flag -
statCtrl
Manual control status indicator -
hrpIns
Flag indicating harp is inserted -
hrpRetr
Flag indicating harp is retracted -
hrpStop
Flag indicating harp is stopped -
cmdResult
Result code of the latest harp user command.
-
-
Constructor Details
-
DevStatus
public DevStatus()Create a newDevStatus
object.- Since:
- Jan 21, 2010
-
DevStatus
Create a newDevStatus
object containing the status information of the given device.- Parameters:
smfHarp
- wire harp device under query- Throws:
ConnectionException
- unable to connect parameter read back channelGetException
- general field initialization exception- Since:
- Jan 21, 2010
-
-
Method Details
-
acquire
Convenience method for retrieving a new initialized data structure populated from the given device state.- Parameters:
smfHarp
- data acquisition device- Returns:
- current set of device status parameters
- Throws:
ConnectionException
- unable to connect parameter read back channelGetException
- general field initialization exception- Since:
- Mar 20, 2014
-