Example #1
0
        internal Result(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "ResultDetailedTS":
              _resultDetailedTS = new STRESSPERIOD_PROPPAGE(sub);
              break;
            case "ResultViewer":
              _resultViewer = new ResultViewer(sub);
              break;
            case "ResultM11DetailedTS":
              _resultM11DetailedTS = new STRESSPERIOD_PROPPAGE(sub);
              break;
            case "RunStatistics":
              _runStatistics = new RunStatistics(sub);
              break;
            case "GeoScene3D":
              _geoScene3D = new GeoScene3D(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal STRESSPERIODS(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "STRESSPERIOD_PROPPAGE":
              _sTRESSPERIOD_PROPPAGE = new STRESSPERIOD_PROPPAGE(sub);
              break;
            case "Item_1":
              _item_1 = new Item_1(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal MIKESHE_FLOWMODEL(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "FlowModelDocVersion":
              _flowModelDocVersion = new FlowModelDocVersion(sub);
              break;
            case "ViewSettings":
              _viewSettings = new ViewSettings(sub);
              break;
            case "Overlays":
              _overlays = new Overlays(sub);
              break;
            case "SimSpec":
              _simSpec = new SimSpec(sub);
              break;
            case "ModelCompWQ":
              _modelCompWQ = new ModelCompWQ(sub);
              break;
            case "Species":
              _species = new Species(sub);
              break;
            case "Processes":
              _processes = new Processes(sub);
              break;
            case "Catchment":
              _catchment = new Catchment(sub);
              break;
            case "Subcatchments":
              _subcatchments = new Subcatchments(sub);
              break;
            case "Topography":
              _topography = new Topography(sub);
              break;
            case "Climate":
              _climate = new Climate(sub);
              break;
            case "LandUse":
              _landUse = new LandUse(sub);
              break;
            case "River":
              _river = new River(sub);
              break;
            case "RiverMF":
              _riverMF = new RiverMF(sub);
              break;
            case "Overland":
              _overland = new Overland(sub);
              break;
            case "OverlandSubcatchment":
              _overlandSubcatchment = new Subcatchments(sub);
              break;
            case "Unsatzone":
              _unsatzone = new Unsatzone(sub);
              break;
            case "SaturatedZone":
              _saturatedZone = new SaturatedZone(sub);
              break;
            case "SaturatedZoneSubCatchment":
              _saturatedZoneSubCatchment = new SaturatedZoneSubCatchment(sub);
              break;
            case "GroundwaterTable":
              _groundwaterTable = new Bathymetry(sub);
              break;
            case "Sources":
              _sources = new Sources1(sub);
              break;
            case "StoringOfResults":
              _storingOfResults = new StoringOfResults(sub);
              break;
            case "OutputModflow":
              _outputModflow = new OutputModflow(sub);
              break;
            case "ExtraParams":
              _extraParams = new ExtraParams(sub);
              break;
            case "ExecuteEngineFlagsPfs":
              _executeEngineFlagsPfs = new ExecuteEngineFlagsPfs(sub);
              break;
            case "Result":
              _result = new Result(sub);
              break;
            case "Overview":
              _overview = new STRESSPERIOD_PROPPAGE(sub);
              break;
            case "GeoScene3D":
              _geoScene3D = new GeoScene3D(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }