Ejemplo n.º 1
0
    /// <summary>
    /// update header
    /// </summary>
    private void updateHeader()
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetTimeSeriesWasteTransferHeader(SearchFilter);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = String.Empty;
    }
Ejemplo n.º 2
0
    /// <summary>
    /// create header
    /// </summary>
    /// <param name="countTotal">The total number of facilities fullfilling the search critieria</param>
    /// <param name="countSheet">The number of facilites fullfilling the search criteria for the selected sheet (e.g. Pollutant releases)</param>
    private void updateHeader(IndustrialActivitySearchFilter filter, int countTotal, int countSheet, bool includeFacilityCount, string text)
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetIndustrialActivitySearchHeader(filter, countTotal, countSheet);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
Ejemplo n.º 3
0
    /// <summary>
    /// create header
    /// </summary>
    private void updateHeader(AreaOverviewSearchFilter filter, string text)
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetAreaOverviewSearchHeader(filter);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
Ejemplo n.º 4
0
    private void updateHeader(string text)
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetFacilityDetailHeader(FacilityBasic);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
    /// <summary>
    /// create header
    /// </summary>
    private void updateHeader(PollutantReleaseSearchFilter filter, bool includeFacilityCount, string text)
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetPollutantReleaseSearchHeader(filter, includeFacilityCount);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
Ejemplo n.º 6
0
    /// <summary>
    ///
    /// </summary>
    private void updateHeader(string text)
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetFacilityDetailPollutantTrendHeader(FacilityBasic, ViewState[POLLUTANTCODE] as string);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
    /// <summary>
    /// update header
    /// </summary>
    private void updateHeader(WasteTransferSearchFilter filter, string text)
    {
        Dictionary <string, string> header = SheetHeaderBuilder.GetWasteTransferHazRecieverHeader(filter, false, CountryCode);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
Ejemplo n.º 8
0
    private void updateHeader(string text)
    {
        string PollutantCodeEPER           = (PollutantCode.EndsWith("EPER") == false) ? PollutantCode + "EPER" : PollutantCode;
        Dictionary <string, string> header = SheetHeaderBuilder.GetFacilityDetailPollutantTrendHeaderEPER(FacilityBasic, PollutantCodeEPER, PollutantCode /* ViewState[POLLUTANTCODE] as string*/);

        this.ucSheetSubHeader.PopulateHeader(header);
        this.ucSheetSubHeader.Text = text;
    }
Ejemplo n.º 9
0
    private void updateFlashMap(FacilitySearchFilter filter)
    {
        // update flash map
        MapFilter mapfilter = QueryLayer.Facility.GetMapFilter(filter);
        string    header    = MapPrintDetails.Build(SheetHeaderBuilder.GetFacilitySearchHeader(filter, false));

        MapUtils.UpdateSmallMap(MasterSearchPageEPER.MAPID, Page, this.UniqueID, mapfilter, header, Request.ApplicationPath);
        ((MasterSearchPageEPER)this.Master).UpdateExpandedScript(mapfilter, header);
    }
Ejemplo n.º 10
0
    private void updateHeader(string text)
    {
        FacilitySearchFilter filter = SearchFilter;

        // populate header
        Dictionary <string, string> header = SheetHeaderBuilder.GetFacilitySearchHeader(filter, true);

        this.ucSheetSubHeader.PopulateHeaderEPER(header);
        this.ucSheetSubHeader.Text = text;
    }