예제 #1
0
        public override void Start()
        {
            Dictionary <long, ElectricalHierarchyData> parentChild = GDAHelper.GetContainerHeirarchy(GdaQuery, new List <ModelCode>(), HierarchyNetworkType);

            containerHierarchyTree = new HierarchicalFilter(parentChild, HierarchyNetworkType);
            lfMeasureQuality       = new Dictionary <long, MeasurementValueQuality>();

            if (NetworkModelQuery == null)
            {
                NetworkModelQuery = JobService.OpenNetworkModelQuery();
            }

            JobResult result = CreateResult();

            ResultsReady(Guid, result);
        }
예제 #2
0
        private void RefreshHierarhy()
        {
            Dictionary <long, ElectricalHierarchyData> parentChild = GDAHelper.GetContainerHeirarchy(GdaQuery, new List <ModelCode>(), HierarchyNetworkType);

            containerHierarchyTree = new HierarchicalFilter(parentChild, HierarchyNetworkType);
        }