Class Epics7ChannelTimeRecord

All Implemented Interfaces:
ChannelRecord, ChannelStatusRecord, ChannelTimeRecord

public class Epics7ChannelTimeRecord extends Epics7ChannelStatusRecord implements ChannelTimeRecord
ChannelTimeRecord implementation for Epics7.
Author:
Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
  • Field Details

  • Constructor Details

    • Epics7ChannelTimeRecord

      public Epics7ChannelTimeRecord(org.epics.pvdata.pv.PVStructure pvStructure)
      Creates new Epics7ChannelStatusRecord
      Parameters:
      pvStructure -
  • Method Details

    • getTimestamp

      public Timestamp getTimestamp()
      Get the timestamp.
      Specified by:
      getTimestamp in interface ChannelTimeRecord
      Returns:
      the timestamp
    • timeStampInSeconds

      public double timeStampInSeconds()
      Get the time stamp in seconds since the Java epoch epoch. Some precision is lost as we move away from the epoch since the double precision number cannot hold the full native precision.
      Specified by:
      timeStampInSeconds in interface ChannelTimeRecord
      Returns:
      The time stamp in seconds as a double.
    • toString

      public String toString()
      Override the inherited method to return a description of this object.
      Specified by:
      toString in interface ChannelRecord
      Overrides:
      toString in class Epics7ChannelStatusRecord
      Returns:
      A description of this object.