Class LegacyConversions
java.lang.Object
com.inductiveautomation.historian.gateway.interop.LegacyConversions
Conversions between legacy tag history query flags and annotations and their Historian types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertySetfromLegacyQueryFlags(Flags flags) Maps each tag history query flag to its property.static AnnotationChangePointtoAnnotationChangePoint(Annotation annotation) Converts anAnnotationto anAnnotationChangePointfrom its storage id, path, range start and state.static AnnotationPointtoAnnotationPoint(Annotation annotation) Converts anAnnotationto anAnnotationPoint.static AnnotationConverts anAnnotationPointto anAnnotation.
-
Method Details
-
fromLegacyQueryFlags
Maps each tag history query flag to its property.- Parameters:
flags- the flags to convert- Returns:
- the equivalent properties
-
toLegacyAnnotation
Converts anAnnotationPointto anAnnotation.- Parameters:
point- the point to convert- Returns:
- the equivalent annotation
-
toAnnotationPoint
Converts anAnnotationto anAnnotationPoint.- Parameters:
annotation- the annotation to convert- Returns:
- the equivalent point
-
toAnnotationChangePoint
Converts anAnnotationto anAnnotationChangePointfrom its storage id, path, range start and state.- Parameters:
annotation- the annotation to convert- Returns:
- the equivalent change point
-