public abstract class FloatingDecimalProcessVariable extends NumericProcessVariable
NumericProcessVariable - adds precision support.
Implementation does not handle status, severity and alarms.ackS, ackT, channelCount, eventCallback, interest, name| Constructor and Description |
|---|
FloatingDecimalProcessVariable(String name,
ProcessVariableEventCallback eventCallback)
Floating decimal PV constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fillInDBR(DBR value)
Set data (units, limits, ...) and precision to DBR.
|
abstract short |
getPrecision()
Get precision (number of digits after decimal point).
|
getLowerAlarmLimit, getLowerCtrlLimit, getLowerDispLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDispLimit, getUpperWarningLimit, read, readValue, write, writeValuecreateChannel, destroy, getAckS, getDimensionSize, getEnumLabels, getEventCallback, getMaxDimension, getName, getType, interestDelete, interestRegister, isAckT, printInfo, printInfo, registerChannel, setAckS, setAckT, setEventCallback, unregisterChannelpublic FloatingDecimalProcessVariable(String name, ProcessVariableEventCallback eventCallback)
name - process variable name.eventCallback - event callback, can be null.public abstract short getPrecision()
-1 value as undefined precision.public void fillInDBR(DBR value)
fillInDBR in class NumericProcessVariablevalue - DBR to fill-in.Copyright © 2004-2020 EPICS. All Rights Reserved.