Ejemplo n.º 1
0
        public DSPStatSourceLogisticStations()
        {
            foreach (eTAB_TYPES tabType in Enum.GetValues(typeof(eTAB_TYPES)))
            {
                TabFilters[tabType]    = new List <Filter <ResStationGroup> >();
                TabFilterInfo[tabType] = new TabFilterInfo();
            }
            TABPages = new List <eTAB_TYPES>()
            {
                eTAB_TYPES.TAB_PLANET, eTAB_TYPES.TAB_RESOURCE
            };
            InitFilters();
            UpdateSource();

            DefaultCollapsedStateLevel[1] = false;
            DefaultCollapsedStateLevel[2] = false;
            DefaultCollapsedStateLevel[3] = true;

            MaxCollapseLevel[eTAB_TYPES.TAB_PLANET]   = 2;
            MaxCollapseLevel[eTAB_TYPES.TAB_RESOURCE] = 2;
        }
        public DSPStatSourceVeinMiners()
        {
            TABPages = new List <eTAB_TYPES>()
            {
                eTAB_TYPES.TAB_PLANET, eTAB_TYPES.TAB_NETWORK, eTAB_TYPES.TAB_RESOURCE
            };
            foreach (eTAB_TYPES tabType in TABPages)
            {
                TabFilters[tabType]    = new List <Filter <MinerNotificationDetail> >();
                TabFilterInfo[tabType] = new TabFilterInfo();
            }

            InitFilters();
            UpdateSource();

            DefaultCollapsedStateLevel[1] = false;
            DefaultCollapsedStateLevel[2] = true;
            DefaultCollapsedStateLevel[3] = false;

            MaxCollapseLevel[eTAB_TYPES.TAB_PLANET]   = 2;
            MaxCollapseLevel[eTAB_TYPES.TAB_NETWORK]  = 2;
            MaxCollapseLevel[eTAB_TYPES.TAB_RESOURCE] = 2;
        }