Package gov.aps.jca.dbr
Class DBR_GR_Double
- java.lang.Object
-
- gov.aps.jca.dbr.DBR
-
- gov.aps.jca.dbr.DBR_Double
-
- gov.aps.jca.dbr.DBR_STS_Double
-
- gov.aps.jca.dbr.DBR_TIME_Double
-
- gov.aps.jca.dbr.DBR_GR_Double
-
- Direct Known Subclasses:
DBR_CTRL_Double
public class DBR_GR_Double extends DBR_TIME_Double implements GR, PRECISION
-
-
Field Summary
Fields Modifier and Type Field Description protected Double_lalprotected Double_ldlprotected Double_lwlprotected short_precisionprotected Double_ualprotected Double_udlprotected String_unitprotected Double_uwlstatic DBRTypeTYPE-
Fields inherited from class gov.aps.jca.dbr.DBR_TIME_Double
_stamp
-
Fields inherited from class gov.aps.jca.dbr.DBR_STS_Double
_severity, _status
-
-
Constructor Summary
Constructors Constructor Description DBR_GR_Double()DBR_GR_Double(double[] value)DBR_GR_Double(int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DBRconvert(DBRType convertType)NumbergetLowerAlarmLimit()Get lower alarm limit.NumbergetLowerDispLimit()Get lower display limit.NumbergetLowerWarningLimit()Get lower warning limit.shortgetPrecision()TimeStampgetTimeStamp()NOTE: this method will always returnnulltimestamp if called from CA client.DBRTypegetType()StringgetUnits()Get units.NumbergetUpperAlarmLimit()Get upper alarm limit.NumbergetUpperDispLimit()Get upper display limit.NumbergetUpperWarningLimit()Get upper warning limit.voidprintInfo(PrintStream out)voidsetLowerAlarmLimit(Number limit)voidsetLowerDispLimit(Number limit)voidsetLowerWarningLimit(Number limit)voidsetPrecision(short prec)voidsetTimeStamp(TimeStamp stamp)Set timestamp.voidsetUnits(String unit)voidsetUpperAlarmLimit(Number limit)voidsetUpperDispLimit(Number limit)voidsetUpperWarningLimit(Number limit)-
Methods inherited from class gov.aps.jca.dbr.DBR_STS_Double
getSeverity, getStatus, setSeverity, setSeverity, setStatus, setStatus
-
Methods inherited from class gov.aps.jca.dbr.DBR_Double
getDoubleValue
-
Methods inherited from class gov.aps.jca.dbr.DBR
convert, getCount, getValue, isBYTE, isBYTE, isCTRL, isCTRL, isDOUBLE, isDOUBLE, isENUM, isENUM, isFLOAT, isFLOAT, isGR, isGR, isINT, isINT, isLABELS, isLABELS, isPRECISION, isPRECSION, isSHORT, isSHORT, isSTRING, isSTRING, isSTS, isSTS, isTIME, isTIME, printInfo, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, printValue, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.aps.jca.dbr.STS
getSeverity, getStatus, setSeverity, setSeverity, setStatus, setStatus
-
-
-
-
Method Detail
-
getType
public DBRType getType()
- Overrides:
getTypein classDBR_TIME_Double
-
getPrecision
public short getPrecision()
- Specified by:
getPrecisionin interfacePRECISION
-
setPrecision
public void setPrecision(short prec)
- Specified by:
setPrecisionin interfacePRECISION
-
getUpperDispLimit
public Number getUpperDispLimit()
Description copied from interface:GRGet upper display limit.- Specified by:
getUpperDispLimitin interfaceGR- Returns:
- upper display limit,
non-null.
-
setUpperDispLimit
public void setUpperDispLimit(Number limit)
- Specified by:
setUpperDispLimitin interfaceGR
-
getLowerDispLimit
public Number getLowerDispLimit()
Description copied from interface:GRGet lower display limit.- Specified by:
getLowerDispLimitin interfaceGR- Returns:
- lower display limit,
non-null.
-
setLowerDispLimit
public void setLowerDispLimit(Number limit)
- Specified by:
setLowerDispLimitin interfaceGR
-
getUpperAlarmLimit
public Number getUpperAlarmLimit()
Description copied from interface:GRGet upper alarm limit.- Specified by:
getUpperAlarmLimitin interfaceGR- Returns:
- upper alarm limit,
non-null.
-
setUpperAlarmLimit
public void setUpperAlarmLimit(Number limit)
- Specified by:
setUpperAlarmLimitin interfaceGR
-
getUpperWarningLimit
public Number getUpperWarningLimit()
Description copied from interface:GRGet upper warning limit.- Specified by:
getUpperWarningLimitin interfaceGR- Returns:
- upper warning limit,
non-null.
-
setUpperWarningLimit
public void setUpperWarningLimit(Number limit)
- Specified by:
setUpperWarningLimitin interfaceGR
-
getLowerWarningLimit
public Number getLowerWarningLimit()
Description copied from interface:GRGet lower warning limit.- Specified by:
getLowerWarningLimitin interfaceGR- Returns:
- lower warning limit,
non-null.
-
setLowerWarningLimit
public void setLowerWarningLimit(Number limit)
- Specified by:
setLowerWarningLimitin interfaceGR
-
getLowerAlarmLimit
public Number getLowerAlarmLimit()
Description copied from interface:GRGet lower alarm limit.- Specified by:
getLowerAlarmLimitin interfaceGR- Returns:
- lower alarm limit,
non-null.
-
setLowerAlarmLimit
public void setLowerAlarmLimit(Number limit)
- Specified by:
setLowerAlarmLimitin interfaceGR
-
printInfo
public void printInfo(PrintStream out)
- Overrides:
printInfoin classDBR_TIME_Double
-
convert
public DBR convert(DBRType convertType) throws CAStatusException
- Overrides:
convertin classDBR_TIME_Double- Throws:
CAStatusException- See Also:
DBR_Byte.convert(gov.aps.jca.dbr.DBRType)
-
getTimeStamp
public TimeStamp getTimeStamp()
NOTE: this method will always returnnulltimestamp if called from CA client.GRDBR type does not carry timestamp. This method is used only by CA Server side.- Specified by:
getTimeStampin interfaceTIME- Overrides:
getTimeStampin classDBR_TIME_Double
-
setTimeStamp
public void setTimeStamp(TimeStamp stamp)
Set timestamp. To be used only by CA Server side.- Specified by:
setTimeStampin interfaceTIME- Overrides:
setTimeStampin classDBR_TIME_Double
-
-