Class TagHistoryBindingConfig

java.lang.Object
com.inductiveautomation.perspective.common.config.binding.TagHistoryBindingConfig

public class TagHistoryBindingConfig extends Object
  • Field Details

    • startDate

      public final String startDate
    • endDate

      public final String endDate
    • mostRecent

      public final String mostRecent
    • mostRecentUnits

      public final TimeUnits mostRecentUnits
    • tags

    • tagsExpr

      public final String tagsExpr
    • returnFormat

      public final ReturnFormat returnFormat
    • returnSize

      public final TagHistoryBindingConfig.ReturnSize returnSize
    • returnSizeExtra

      public final String returnSizeExtra
    • returnSizeExtraUnits

      public final TimeUnits returnSizeExtraUnits
    • polling

      public final PollingConfig polling
    • aggregate

      public final Aggregate aggregate
    • ignoreBadQuality

      public final boolean ignoreBadQuality
    • preventInterpolation

      public final boolean preventInterpolation
    • avoidScanClassValidation

      public final boolean avoidScanClassValidation
    • valueFormat

      public final TagHistoryBindingConfig.ValueFormat valueFormat
    • calculations

      public final List<Aggregate> calculations
    • enableValueCache

      public final boolean enableValueCache
  • Method Details

    • isHistoricalMode

      public boolean isHistoricalMode()
      A binding config is considered to be in historical mode if the startDate and endDate expressions are both specified.
    • isRealtimeMode

      public boolean isRealtimeMode()
      A binding config is considered to be in realtime mode if the mostRecent expression is specified.
    • fromJson

      @Nonnull public static TagHistoryBindingConfig fromJson(@Nonnull com.inductiveautomation.ignition.common.gson.JsonObject jsonObject) throws ConfigurationException
      Throws:
      ConfigurationException