internal SimSpec(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "ModelComp": _modelComp = new ModelComp(sub); break; case "ModModelComp": _modModelComp = new ModModelComp(sub); break; case "SimTitle": _simTitle = new SimTitle(sub); break; case "SimulationPeriod": _simulationPeriod = new SimulationPeriod(sub); break; case "STRESSPERIODS": _sTRESSPERIODS = new STRESSPERIODS(sub); break; case "CompControlParaTimeStep": _compControlParaTimeStep = new CompControlParaTimeStep(sub); break; case "CompControlParaOL": _compControlParaOL = new CompControlParaOL(sub); break; case "CompControlParaUZ": _compControlParaUZ = new CompControlParaUZ(sub); break; case "CompControlParaSZ": _compControlParaSZ = new CompControlParaSZ(sub); break; case "CompControlParaModPackage": _compControlParaModPackage = new CompControlParaModPackage(sub); break; case "AirFlowSimulationParametersMod": _airFlowSimulationParametersMod = new AirFlowSimulationParametersMod(sub); break; case "CompControlParaModSZ": _compControlParaModSZ = new CompControlParaModSZ(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }