public void ChooseFilter(FilterType filterType)
 {
     _filter.Detach(_alarm);
     _filter.Detach(_log);
     _filter = FilterFactory.CreateFilter(filterType);
     _filter.Attach(_alarm);
     _filter.Attach(_log);
 }