public FacilitySearchFilter PopulateFilter() { // Assign search parameters to filter (avoid use of session, request from EPRTR) // create new filter instance FacilitySearchFilter filter = new FacilitySearchFilter(); filter.AreaFilter = this.ucAreaSearchOptionEPER.PopulateFilter(); filter.YearFilter = this.ucYearSearchOptionEPER.PopulateFilter(); filter.FacilityLocationFilter = this.ucFacilityLocationSearchOption.PopulateFilter(); filter.ActivityFilter = this.ucAdvancedActivitySearchOptionEPER.PopulateFilter(); //pollutant filters PollutantFilter pollutantFilter; MediumFilter mediumFilter; this.ucAdvancedPollutantSearchOptionEPER.PopulateFilters(out pollutantFilter, out mediumFilter); filter.PollutantFilter = pollutantFilter; filter.MediumFilter = mediumFilter; // store settings in cookies CookieStorage.SetFilter(Response, filter.AreaFilter); CookieStorage.SetFilter(Response, filter.YearFilter); return(filter); }
public AreaOverviewSearchFilter PopulateFilter() { AreaOverviewSearchFilter filter = new AreaOverviewSearchFilter(); filter.AreaFilter = this.ucAreaSearchOption.PopulateFilter(); filter.YearFilter = this.ucYearSearchOption.PopulateFilter(); // store settings in cookies CookieStorage.SetFilter(Response, filter.AreaFilter); CookieStorage.SetFilter(Response, filter.YearFilter); return(filter); }
public IndustrialActivitySearchFilter PopulateFilter() { IndustrialActivitySearchFilter filter = new IndustrialActivitySearchFilter(); filter.AreaFilter = this.ucAreaSearchOption.PopulateFilter(); filter.YearFilter = this.ucYearSearchOption.PopulateFilter(); filter.ActivityFilter = this.ucActivitySearchOption.PopulateFilter(); // store settings in cookies CookieStorage.SetFilter(Response, filter.AreaFilter); CookieStorage.SetFilter(Response, filter.YearFilter); return(filter); }
public PollutantTransfersSearchFilter PopulateFilter() { PollutantTransfersSearchFilter filter = new PollutantTransfersSearchFilter(); filter.YearFilter = this.ucYearSearchOption.PopulateFilter(); filter.AreaFilter = this.ucAreaSearchOption.PopulateFilter(); filter.PollutantFilter = this.ucPollutantSearchOption.PopulateFilter(); filter.ActivityFilter = this.ucAdvancedActivitySearchOption.PopulateFilter(); // store settings in cookies CookieStorage.SetFilter(Response, filter.AreaFilter); CookieStorage.SetFilter(Response, filter.YearFilter); return(filter); }
public PollutantTransferTimeSeriesFilter PopulateFilter() { PollutantTransferTimeSeriesFilter filter = new PollutantTransferTimeSeriesFilter(); filter.PeriodFilter = new PeriodFilter(); filter.PeriodFilter.StartYear = 2007; //EPER years are not included. filter.AreaFilter = this.ucAreaSearchOption.PopulateFilter(); filter.PollutantFilter = this.ucPollutantSearchOption.PopulateFilter(); filter.ActivityFilter = this.ucAdvancedActivitySearchOption.PopulateFilter(); // store settings in cookies CookieStorage.SetFilter(Response, filter.AreaFilter); return(filter); }
public WasteTransferTimeSeriesFilter PopulateFilter() { WasteTransferTimeSeriesFilter filter = new WasteTransferTimeSeriesFilter(); filter.AreaFilter = this.ucAreaSearchOption.PopulateFilter(); filter.PeriodFilter = new PeriodFilter(); filter.PeriodFilter.StartYear = 2007; filter.ActivityFilter = this.ucAdvancedActivitySearchOption.PopulateFilter(); filter.WasteTypeFilter = this.ucWasteTypeSearchOption.PopulateFilter(); // store settings in cookies CookieStorage.SetFilter(Response, filter.AreaFilter); return(filter); }