Exemple #1
0
        private void LoadGrid(XmlNode inputNode, RasterGridPrescription prescription)
        {
            var treatmentZones = TreatmentZoneLoader.Load(inputNode, _taskDocument);
            var gridDescriptor = GridLoader.Load(inputNode, treatmentZones, _taskDocument.BaseFolder);

            if (gridDescriptor == null)
            {
                return;
            }

            LoadDefinition(gridDescriptor, prescription);
            LoadRates(inputNode, gridDescriptor, treatmentZones, prescription);
        }
Exemple #2
0
        public static Dictionary <int, TreatmentZone> Load(XmlNode inputNode, TaskDataDocument taskDocument)
        {
            var loader = new TreatmentZoneLoader(taskDocument);

            return(loader.Load(inputNode));
        }
        public static Dictionary<int, TreatmentZone> Load(XmlNode inputNode, TaskDataDocument taskDocument)
        {
            var loader = new TreatmentZoneLoader(taskDocument);

            return loader.Load(inputNode);
        }