public static class WireHarp.DevStatus extends ParameterSet
ScadaRecord.IFieldDescriptor
Modifier and Type | Field and Description |
---|---|
int |
cmdResult
Result code of the latest harp user command.
|
static ScadaFieldMap |
FLD_MAP
Map of field names to field SCADA descriptors for this structure
|
int |
hrpIns
Flag indicating harp is inserted
|
int |
hrpRetr
Flag indicating harp is retracted
|
int |
hrpStop
Flag indicating harp is stopped
|
int |
statCtrl
Manual control status indicator
|
int |
statDev
Alarm flag for wire signal; it indicates correct operations.
|
int |
statMps
Machine Protection System status flag
|
Constructor and Description |
---|
DevStatus()
Create a new
DevStatus object. |
DevStatus(WireHarp smfHarp)
Create a new
DevStatus object containing the status
information of the given device. |
Modifier and Type | Method and Description |
---|---|
static WireHarp.DevStatus |
acquire(WireHarp smfHarp)
Convenience method for retrieving a new initialized data structure
populated from the given device state.
|
dataLabel
clone, getFieldDescriptor, getFieldDescriptorMap, getFieldDescriptors, loadHardwareValues, setFieldFromPV, setHardwareValues, setPvFromField, toString, update, write
public static final ScadaFieldMap FLD_MAP
@AScada.Field(type=int.class, ctrl=false, hndRb="StatDevStatus") public int statDev
@AScada.Field(type=int.class, ctrl=false, hndRb="StatMpsStatus") public int statMps
@AScada.Field(type=int.class, ctrl=false, hndRb="StatCtrlStatus") public int statCtrl
@AScada.Field(type=int.class, ctrl=false, hndRb="StatHarpInsert") public int hrpIns
@AScada.Field(type=int.class, ctrl=false, hndRb="StatHarpRetract") public int hrpRetr
@AScada.Field(type=int.class, ctrl=false, hndRb="StatHarpStop") public int hrpStop
@AScada.Field(type=int.class, ctrl=false, hndRb="StatCmdResult") public int cmdResult
public DevStatus()
DevStatus
object.public DevStatus(WireHarp smfHarp) throws ConnectionException, GetException
DevStatus
object containing the status
information of the given device.smfHarp
- wire harp device under queryConnectionException
- unable to connect parameter read back channelGetException
- general field initialization exceptionpublic static WireHarp.DevStatus acquire(WireHarp smfHarp) throws ConnectionException, GetException
smfHarp
- data acquisition deviceConnectionException
- unable to connect parameter read back channelGetException
- general field initialization exception