using System.Collections.Generic;
using TINK.Model.Connector;
using TINK.ViewModel.Map;
using TINK.ViewModel.Settings;
namespace TINK.Model
{
/// Holds collection of filters to filter options (TINK, Konrad, ....).
/// Former name: FilterCollection.
public static class GroupFilterHelper
{
/// Gets default filter set.
public static IGroupFilterSettings GetSettingsFilterDefaults
{
get
{
return new GroupFilterSettings(new Dictionary {
{ FilterHelper.CARGOBIKE, FilterState.On },
{FilterHelper.CITYBIKE, FilterState.On }
});
}
}
/// Gets default filter set.
public static IGroupFilterMapPage GetMapPageFilterDefaults
{
get
{
return new GroupFilterMapPage(new Dictionary {
{ FilterHelper.CARGOBIKE, FilterState.On },
{FilterHelper.CITYBIKE, FilterState.Off }
});
}
}
}
/// Holds value whether filter (on TINK, Konrad, ....) is on or off.
public enum FilterState
{
/// Option (TINK, Konrad, ....) is available.
On,
/// Option is off
Off,
}
}