Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
titleTrendingDataChannel.java
borderStylesolid

public interface TrendingDataChannel {

    
    public static String VALUE        = "value";
    public static String ERROR        = "error";
    public static String ERROR_PLUS   = "error_plus";
    public static String ERROR_MINUS  = "error_minus";
    public static String MEAN         = "mean";
    public static String RMS          = "rms";
    public static String MAX_VALUE    = "max_value";
    public static String MIN_VALUE    = "min_value";
    public static String TIME         = "time";
    public static String WARNING_LOW  = "warning_low";
    public static String WARNING_HIGH = "warning_high";
    public static String ALARM_LOW    = "alarm_low";
    public static String ALARM_HIGH   = "alarm_high";
    
    
    /**
     * The name of this channel.
     *
     */
    public String getName();
    
    /**
     * Check if a given channel can provide raw TrendingData.
     *
     **/
    public boolean getHasRawTrendingData();
    
    /**
     * Get the names of the provided raw data and metadata.
     *
     */
    public String[] getRawTrendingDataNames();
    public String[] getRawTrendingMetaDataNames();
    
    /**
     * Get the types of the provided raw data and metadata.
     *
     */
    public Class[] getRawTrendingDataTypes();
    public Class[] getRawTrendingMetaDataTypes();

    /**
     * Get the names of the provided statistical data and metadata.
     *
     */
    public String[] getStatisticalTrendingDataNames();
    public String[] getStatisticalTrendingMetaDataNames();
    
    /**
     * Get the types of the provided statistical data and metadata.
     *
     */
    public Class[] getStatisticalTrendingDataTypes();
    public Class[] getStatisticalTrendingMetaDataTypes();

    /**
     * Get the names of the time axis for this channel.
     *
     */
    public String[] getTrendingAxisNames();
    
    /**
     * Get the types of the time axis for this channel.
     *
     */
    public Class[] getTrendingAxisTypes();
    
    /**
     * Get the TrendingData for a given TrendingAxisSelection.
     * The TrendingData is contained in a TrendingDataResult object.
     *
     */
    public TrendingDataResult getTrendingData(TrendingAxisSelection selection);
     
}

...