本文整理汇总了C#中PFSSection.GetSectionsNo方法的典型用法代码示例。如果您正苦于以下问题:C# PFSSection.GetSectionsNo方法的具体用法?C# PFSSection.GetSectionsNo怎么用?C# PFSSection.GetSectionsNo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PFSSection
的用法示例。
在下文中一共展示了PFSSection.GetSectionsNo方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: WEL_CFG
internal WEL_CFG(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "WELLDATA":
WELLDATA = new WELLDATA(sub);
break;
case "WELLFIELD":
WELLFIELD = new WELLFIELD(sub);
break;
case "Foreground":
Foreground = new Foreground(sub);
break;
case "Background":
Background = new Foreground(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例2: CALIBRATION_SPECIFICATION
internal CALIBRATION_SPECIFICATION(PFSSection Section)
{
_pfsHandle = Section;
MODEL_As = new List<MOUSE_Catchments>();
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "GLOBAL_PARAMETERS":
GLOBAL_PARAMETERS = new GLOBAL_PARAMETERS(sub);
break;
case "MEASUREMENTS":
MEASUREMENTS = new Model_B(sub);
break;
default:
if (sub.Name.Substring(0,6).Equals("MODEL_"))
{
MODEL_As.Add(new MOUSE_Catchments(sub));
break;
}
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例3: Drainage
internal Drainage(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "Level":
_level = new Bathymetry(sub);
break;
case "TimeConstant":
_timeConstant = new Topography(sub);
break;
case "DrainCode":
_drainCode = new Topography(sub);
break;
case "DistributedOptionCode":
_distributedOptionCode = new Topography(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例4: Result
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;
}
}
}
示例5: CommandAreas
internal CommandAreas(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "DFS_2D_DATA_FILE":
_dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
break;
case "SHAPE_FILE":
_sHAPE_FILE = new SHAPE_FILE(sub);
break;
default:
if (sub.Name.Substring(0,6).Equals("Comman"))
{
_commandAreas.Add(new CommandArea(sub));
break;
}
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例6: MOUSE_T_Results
internal MOUSE_T_Results(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "Nodes":
Nodes = new Nodes(sub);
break;
case "Links":
Links = new Links(sub);
break;
case "Emissions":
Emissions = new Links(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例7: TwoLayerUZSoilProperties
internal TwoLayerUZSoilProperties(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "DFS_2D_DATA_FILE":
_dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
break;
case "SHAPE_FILE":
_sHAPE_FILE = new SHAPE_FILE(sub);
break;
default:
if (sub.Name.Substring(0,6).Equals("UZSoil"))
{
_uZSoilProps.Add(new UZSoilProp(sub));
break;
}
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例8: Initial_Conditions
internal Initial_Conditions(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "Initial_Matrix_Potential":
_initial_Matrix_Potential = new Initial_Matrix_Potential(sub);
break;
case "Initial_Water_Content":
_initial_Water_Content = new Initial_Matrix_Potential(sub);
break;
case "Initial_Soil_Temperature":
_initial_Soil_Temperature = new Initial_Matrix_Potential(sub);
break;
case "Initial_Concentration":
_initial_Concentration = new InitialMass(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例9: VegNo_1
internal VegNo_1(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "UserDefVegDevelopment":
_userDefVegDevelopment = new UserDefVegDevelopment(sub);
break;
case "GrowthModVegDevelopment":
_growthModVegDevelopment = new GrowthModVegDevelopment(sub);
break;
case "Irrigation":
_irrigation = new Irrigation(sub);
break;
default:
if (sub.Name.Substring(0,6).Equals("Stage_"))
{
_stage_1s.Add(new Stage_13(sub));
break;
}
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例10: COMPUTATIONAL_ENGINE_CONTROL
internal COMPUTATIONAL_ENGINE_CONTROL(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "RO_POSTPROCESS_LEVEL":
RO_POSTPROCESS_LEVEL = new RO_POSTPROCESS_LEVEL(sub);
break;
case "HD_RUNTIME_LEVEL":
HD_RUNTIME_LEVEL = new HD_RUNTIME_LEVEL(sub);
break;
case "EVALUATION_MATRIX":
EVALUATION_MATRIX = new EVALUATION_MATRIX(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例11: LandUse
internal LandUse(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "VEGETATION":
_vEGETATION = new VEGETATION(sub);
break;
case "CommandAreas":
_commandAreas = new CommandAreas(sub);
break;
case "Demands":
_demands = new Demands(sub);
break;
case "Priorities":
_priorities = new Priorities(sub);
break;
case "PavedRunoffCoefficient":
_pavedRunoffCoefficient = new Topography(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例12: CompControlParaSZ
internal CompControlParaSZ(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "CompControlParaSZPCGTrans":
_compControlParaSZPCGTrans = new CompControlParaSZPCGTrans(sub);
break;
case "CompControlParaSZPCGSteady":
_compControlParaSZPCGSteady = new CompControlParaSZPCGTrans(sub);
break;
case "CompControlParaSZSOR":
_compControlParaSZSOR = new CompControlParaSZSOR(sub);
break;
case "CompControlParaRivEx":
_compControlParaRivEx = new CompControlParaRivEx(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例13: OverlayItem_1
internal OverlayItem_1(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "OverlayBMP":
_overlayBMP = new OverlayBMP(sub);
break;
case "OverlayGrid":
_overlayGrid = new OverlayGrid(sub);
break;
case "OverlayShape":
_overlayShape = new OverlayShape(sub);
break;
case "OverlayRiver":
_overlayRiver = new OverlayRiver(sub);
break;
case "OverlayWell":
_overlayWell = new OverlayWell(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例14: VEG_PROP_FILES1
internal VEG_PROP_FILES1(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "VegNo_1":
_vegNo_1 = new VegNo_11(sub);
break;
case "VegNo_2":
_vegNo_2 = new VegNo_2(sub);
break;
case "VegNo_3":
_vegNo_3 = new VegNo_3(sub);
break;
case "VegNo_4":
_vegNo_4 = new VegNo_4(sub);
break;
case "VegNo_5":
_vegNo_5 = new VegNo_5(sub);
break;
case "VegNo_6":
_vegNo_6 = new VegNo_6(sub);
break;
case "VegNo_7":
_vegNo_7 = new VegNo_7(sub);
break;
case "VegNo_8":
_vegNo_8 = new VegNo_8(sub);
break;
case "VegNo_9":
_vegNo_9 = new VegNo_9(sub);
break;
case "VegNo_10":
_vegNo_10 = new VegNo_10(sub);
break;
case "VegNo_11":
_vegNo_11 = new VegNo_111(sub);
break;
case "VegNo_12":
_vegNo_12 = new VegNo_12(sub);
break;
case "VegNo_13":
_vegNo_13 = new VegNo_13(sub);
break;
case "VegNo_14":
_vegNo_14 = new VegNo_14(sub);
break;
case "VegNo_15":
_vegNo_15 = new VegNo_15(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}
示例15: ModelCompWQ
internal ModelCompWQ(PFSSection Section)
{
_pfsHandle = Section;
for (int i = 1; i <= Section.GetSectionsNo(); i++)
{
PFSSection sub = Section.GetSection(i);
switch (sub.Name)
{
case "SimTitleWQ":
_simTitleWQ = new SimTitle(sub);
break;
case "SimulationPeriodWQ":
_simulationPeriodWQ = new SimulationPeriodWQ(sub);
break;
case "WQTSC":
_wQTSC = new WQTSC(sub);
break;
case "ColloidControlPara":
_colloidControlPara = new ColloidControlPara(sub);
break;
default:
_unMappedSections.Add(sub.Name);
break;
}
}
}