Package xal.plugin.epics7
Class Epics7ChannelTimeRecord
java.lang.Object
xal.ca.ChannelRecordImpl
xal.plugin.epics7.Epics7ChannelRecord
xal.plugin.epics7.Epics7ChannelStatusRecord
xal.plugin.epics7.Epics7ChannelTimeRecord
- All Implemented Interfaces:
ChannelRecord,ChannelStatusRecord,ChannelTimeRecord
ChannelTimeRecord implementation for Epics7.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected Timestampstatic final StringFields inherited from class xal.plugin.epics7.Epics7ChannelStatusRecord
ALARM_FIELD_NAME, severity, SEVERITY_FIELD_NAME, status, STATUS_FIELD_NAMEFields inherited from class xal.plugin.epics7.Epics7ChannelRecord
fieldName, pvStructureStore, VALUE_FIELD_NAMEFields inherited from class xal.ca.ChannelRecordImpl
store -
Constructor Summary
ConstructorsConstructorDescriptionEpics7ChannelTimeRecord(org.epics.pvdata.pv.PVStructure pvStructure) Creates new Epics7ChannelStatusRecord -
Method Summary
Modifier and TypeMethodDescriptionGet the timestamp.doubleGet the time stamp in seconds since the Java epoch epoch.toString()Override the inherited method to return a description of this object.Methods inherited from class xal.plugin.epics7.Epics7ChannelStatusRecord
severity, statusMethods inherited from class xal.plugin.epics7.Epics7ChannelRecord
applyTransform, arrayValue, byteArray, byteValue, byteValueAt, doubleArray, doubleValue, doubleValueAt, floatArray, floatValue, floatValueAt, getCount, getCountArray, getFieldName, getStore, getType, intArray, intValue, intValueAt, longArray, longValue, longValueAt, shortArray, shortValue, shortValueAt, stringArray, stringValue, stringValueAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface xal.ca.ChannelRecord
applyTransform, arrayValue, byteArray, byteValue, byteValueAt, doubleArray, doubleValue, doubleValueAt, floatArray, floatValue, floatValueAt, getCount, getType, intArray, intValue, intValueAt, longArray, longValue, longValueAt, shortArray, shortValue, shortValueAt, stringArray, stringValue, stringValueAtMethods inherited from interface xal.ca.ChannelStatusRecord
severity, status
-
Field Details
-
timestamp
-
TIMESTAMP_FIELD_NAME
- See Also:
-
SECONDS_FIELD_NAME
- See Also:
-
NANOSECONDS_FIELD_NAME
- See Also:
-
-
Constructor Details
-
Epics7ChannelTimeRecord
public Epics7ChannelTimeRecord(org.epics.pvdata.pv.PVStructure pvStructure) Creates new Epics7ChannelStatusRecord- Parameters:
pvStructure-
-
-
Method Details
-
getTimestamp
Get the timestamp.- Specified by:
getTimestampin interfaceChannelTimeRecord- 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:
timeStampInSecondsin interfaceChannelTimeRecord- Returns:
- The time stamp in seconds as a double.
-
toString
Override the inherited method to return a description of this object.- Specified by:
toStringin interfaceChannelRecord- Overrides:
toStringin classEpics7ChannelStatusRecord- Returns:
- A description of this object.
-