|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.aps.jca.cas.ProcessVariable
com.cosylab.epics.caj.cas.util.NumericProcessVariable
com.cosylab.epics.caj.cas.util.FloatingDecimalProcessVariable
public abstract class FloatingDecimalProcessVariable
Abstract convenient floating decimal process variable implementation.
This implementation specializes NumericProcessVariable - adds precision support.
Implementation does not handle status, severity and alarms.
| Field Summary |
|---|
| Fields inherited from class gov.aps.jca.cas.ProcessVariable |
|---|
ackS, ackT, channelCount, eventCallback, interest, name |
| Constructor Summary | |
|---|---|
FloatingDecimalProcessVariable(String name,
gov.aps.jca.cas.ProcessVariableEventCallback eventCallback)
Floating decimal PV constructor. |
|
| Method Summary | |
|---|---|
void |
fillInDBR(gov.aps.jca.dbr.DBR value)
Set data (units, limits, ...) and precision to DBR. |
abstract short |
getPrecision()
Get precision (number of digits after decimal point). |
| Methods inherited from class com.cosylab.epics.caj.cas.util.NumericProcessVariable |
|---|
getLowerAlarmLimit, getLowerCtrlLimit, getLowerDispLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDispLimit, getUpperWarningLimit, read, readValue, write, writeValue |
| Methods inherited from class gov.aps.jca.cas.ProcessVariable |
|---|
createChannel, destroy, getAckS, getDimensionSize, getEnumLabels, getEventCallback, getMaxDimension, getName, getType, interestDelete, interestRegister, isAckT, printInfo, printInfo, registerChannel, setAckS, setAckT, setEventCallback, unregisterChannel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FloatingDecimalProcessVariable(String name,
gov.aps.jca.cas.ProcessVariableEventCallback eventCallback)
name - process variable name.eventCallback - event callback, can be null.| Method Detail |
|---|
public abstract short getPrecision()
-1 value as undefined precision.
public void fillInDBR(gov.aps.jca.dbr.DBR value)
fillInDBR in class NumericProcessVariablevalue - DBR to fill-in.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||