Package ch.psi.wica.services.channel
Class WicaChannelValueFilteringService
java.lang.Object
ch.psi.wica.services.channel.WicaChannelValueFilteringService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterLastValues
(List<WicaChannelValue> wicaChannelValues) Filters the supplied list of channel values directly using a last value filter.filterValues
(WicaChannel wicaChannel, List<WicaChannelValue> wicaChannelValues) Filters the supplied list of channel values of according to the properties defined for channel monitoring.
-
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
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.
-