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 Details

    • DBR_Helper

      public DBR_Helper()
  • Method Details

    • 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)