public final class DBRHelper extends Object
DBRHelper provides utility methods to extract data from JCA types and pack them into PV types.| Modifier and Type | Method and Description |
|---|---|
static IMetaData |
decodeMetaData(gov.aps.jca.dbr.DBR dbr)
Extracts the meta data from the dbr.
|
static IValue |
decodeValue(IMetaData meta,
gov.aps.jca.dbr.DBR dbr)
Decodes the data.
|
static gov.aps.jca.dbr.DBRType |
getCtrlType(gov.aps.jca.dbr.DBRType type)
The CTRL or normal type of the given DBRType.
|
static gov.aps.jca.dbr.DBRType |
getTimeType(gov.aps.jca.dbr.DBRType type)
Returns the plain or TIME type for the given dbr type.
|
public static gov.aps.jca.dbr.DBRType getCtrlType(gov.aps.jca.dbr.DBRType type)
type - the source from which the new type is generatedpublic static IMetaData decodeMetaData(gov.aps.jca.dbr.DBR dbr)
dbr - the source of datapublic static gov.aps.jca.dbr.DBRType getTimeType(gov.aps.jca.dbr.DBRType type)
type - the sourceCopyright © 2023 European Spallation Source. All rights reserved.