Class DBR_Helper
- java.lang.Object
-
- org.epics.archiverappliance.engine.pv.DBR_Helper
-
public class DBR_Helper extends Object
Helper for dealing with DBR.. types.JCA provides up to "...Int", returning an int/Integer. IValue uses long for future protocol support.
- Author:
- Kay Kasemir
-
-
Constructor Summary
Constructors Constructor Description DBR_Helper()
-
Method Summary
Modifier and Type Method Description static boolean
decodeBooleanValue(gov.aps.jca.dbr.DBR dbr)
static gov.aps.jca.dbr.DBRType
getControlType(gov.aps.jca.dbr.DBRType type)
static gov.aps.jca.dbr.DBRType
getTimeType(boolean plain, gov.aps.jca.dbr.DBRType type)
-
-
-
Method Detail
-
getTimeType
public static gov.aps.jca.dbr.DBRType getTimeType(boolean plain, gov.aps.jca.dbr.DBRType type)
- Parameters:
plain
-type
- DBRType- Returns:
- DBRType TIME_... type for this channel.
-
decodeBooleanValue
public static boolean decodeBooleanValue(gov.aps.jca.dbr.DBR dbr) throws Exception
- Throws:
Exception
-
getControlType
public static gov.aps.jca.dbr.DBRType getControlType(gov.aps.jca.dbr.DBRType type)
-
-