public class DBR_GR_Double extends DBR_TIME_Double implements GR, PRECISION
| Modifier and Type | Field and Description |
|---|---|
protected Double |
_lal |
protected Double |
_ldl |
protected Double |
_lwl |
protected short |
_precision |
protected Double |
_ual |
protected Double |
_udl |
protected String |
_unit |
protected Double |
_uwl |
static DBRType |
TYPE |
_stamp_severity, _status| Constructor and Description |
|---|
DBR_GR_Double() |
DBR_GR_Double(double[] value) |
DBR_GR_Double(int count) |
| Modifier and Type | Method and Description |
|---|---|
DBR |
convert(DBRType convertType) |
Number |
getLowerAlarmLimit()
Get lower alarm limit.
|
Number |
getLowerDispLimit()
Get lower display limit.
|
Number |
getLowerWarningLimit()
Get lower warning limit.
|
short |
getPrecision() |
TimeStamp |
getTimeStamp()
NOTE: this method will always return
null timestamp if
called from CA client. |
DBRType |
getType() |
String |
getUnits()
Get units.
|
Number |
getUpperAlarmLimit()
Get upper alarm limit.
|
Number |
getUpperDispLimit()
Get upper display limit.
|
Number |
getUpperWarningLimit()
Get upper warning limit.
|
void |
printInfo(PrintStream out) |
void |
setLowerAlarmLimit(Number limit) |
void |
setLowerDispLimit(Number limit) |
void |
setLowerWarningLimit(Number limit) |
void |
setPrecision(short prec) |
void |
setTimeStamp(TimeStamp stamp)
Set timestamp.
|
void |
setUnits(String unit) |
void |
setUpperAlarmLimit(Number limit) |
void |
setUpperDispLimit(Number limit) |
void |
setUpperWarningLimit(Number limit) |
getSeverity, getStatus, setSeverity, setSeverity, setStatus, setStatusgetDoubleValueconvert, 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, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSeverity, getStatus, setSeverity, setSeverity, setStatus, setStatuspublic static final DBRType TYPE
protected String _unit
protected Double _udl
protected Double _ldl
protected Double _ual
protected Double _uwl
protected Double _lwl
protected Double _lal
protected short _precision
public DBR_GR_Double()
public DBR_GR_Double(int count)
public DBR_GR_Double(double[] value)
public DBRType getType()
getType in class DBR_TIME_Doublepublic short getPrecision()
getPrecision in interface PRECISIONpublic void setPrecision(short prec)
setPrecision in interface PRECISIONpublic Number getUpperDispLimit()
GRgetUpperDispLimit in interface GRnon-null.public void setUpperDispLimit(Number limit)
setUpperDispLimit in interface GRpublic Number getLowerDispLimit()
GRgetLowerDispLimit in interface GRnon-null.public void setLowerDispLimit(Number limit)
setLowerDispLimit in interface GRpublic Number getUpperAlarmLimit()
GRgetUpperAlarmLimit in interface GRnon-null.public void setUpperAlarmLimit(Number limit)
setUpperAlarmLimit in interface GRpublic Number getUpperWarningLimit()
GRgetUpperWarningLimit in interface GRnon-null.public void setUpperWarningLimit(Number limit)
setUpperWarningLimit in interface GRpublic Number getLowerWarningLimit()
GRgetLowerWarningLimit in interface GRnon-null.public void setLowerWarningLimit(Number limit)
setLowerWarningLimit in interface GRpublic Number getLowerAlarmLimit()
GRgetLowerAlarmLimit in interface GRnon-null.public void setLowerAlarmLimit(Number limit)
setLowerAlarmLimit in interface GRpublic void printInfo(PrintStream out)
printInfo in class DBR_TIME_Doublepublic DBR convert(DBRType convertType) throws CAStatusException
convert in class DBR_TIME_DoubleCAStatusExceptionDBR_Byte.convert(gov.aps.jca.dbr.DBRType)public TimeStamp getTimeStamp()
null timestamp if
called from CA client. GR DBR type does not carry
timestamp. This method is used only by CA Server side.getTimeStamp in interface TIMEgetTimeStamp in class DBR_TIME_Doublepublic void setTimeStamp(TimeStamp stamp)
setTimeStamp in interface TIMEsetTimeStamp in class DBR_TIME_DoubleCopyright © 2004-2020 EPICS. All Rights Reserved.