Class WicaChannelValueFilteringService

java.lang.Object
ch.psi.wica.services.channel.WicaChannelValueFilteringService

@Immutable @Service public class WicaChannelValueFilteringService extends Object
  • Constructor Details

    • WicaChannelValueFilteringService

      public WicaChannelValueFilteringService()
  • Method Details

    • filterValues

      public List<WicaChannelValue> filterValues(WicaChannel wicaChannel, List<WicaChannelValue> wicaChannelValues)
      Filters the supplied list of channel values of according to the properties defined for channel monitoring.
      Parameters:
      wicaChannel - object which provides access to the filtering properties.
      wicaChannelValues - the list of values to filter.
      Returns:
      the filtered output.
    • filterLastValues

      public List<WicaChannelValue> filterLastValues(List<WicaChannelValue> wicaChannelValues)
      Filters the supplied list of channel values directly using a last value filter.
      Parameters:
      wicaChannelValues - the list of values to filter.
      Returns:
      the filtered output.