• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# PFSSection类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中PFSSection的典型用法代码示例。如果您正苦于以下问题:C# PFSSection类的具体用法?C# PFSSection怎么用?C# PFSSection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



PFSSection类属于命名空间,在下文中一共展示了PFSSection类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: SRC_SELECTION_CRITERION

    public SRC_SELECTION_CRITERION(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      SRC_FLOW = new SRC_FLOW("SRC_FLOW");
      _pfsHandle.AddKeyword(SRC_FLOW._keyword);
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:7,代码来源:SRC_SELECTION_CRITERION.cs


示例2: AddNewSingleWellCommandArea

        /// <summary>
        /// Adds a new command area that only contains the necessary sections and keywords for a single well.
        /// </summary>
        public void AddNewSingleWellCommandArea()
        {
            PFSSection Nc = new PFSSection("CommandArea");
              Nc.AddKeyword(new PFSKeyword("AreaName", PFSParameterType.String,""));
              Nc.AddKeyword(new PFSKeyword("AreaCodeID", PFSParameterType.String, ""));
              Nc.AddKeyword(new PFSKeyword("AreaCode", PFSParameterType.Integer, 0));
              PFSSection Sources = new PFSSection("Sources");
              Sources.AddKeyword(new PFSKeyword("NumberOfSources", PFSParameterType.Integer, 1));

              PFSSection Source1 = new PFSSection("Source1");
              Source1.AddKeyword(new PFSKeyword("SourceTypeCode", PFSParameterType.Integer, 2));
              Source1.AddKeyword(new PFSKeyword("WaterApplication", PFSParameterType.Integer, 1));
              Source1.AddKeyword(new PFSKeyword("DirectApplication", PFSParameterType.Integer, 1));
              Source1.AddKeyword(new PFSKeyword("WellXposSIWS", PFSParameterType.Double, 1));
              Source1.AddKeyword(new PFSKeyword("WellYposSIWS", PFSParameterType.Double, 1));
              Source1.AddKeyword(new PFSKeyword("ScreenTopDepthSIWS", PFSParameterType.Double, 1));
              Source1.AddKeyword(new PFSKeyword("CapacitySIWS", PFSParameterType.Double, 100));
              Source1.AddKeyword(new PFSKeyword("ThresholdDepthSIWS", PFSParameterType.Double, 1));
              Source1.AddKeyword(new PFSKeyword("ScreenBottomDepthSIWS", PFSParameterType.Double, 1));
              Source1.AddKeyword(new PFSKeyword("IrrigationLicenseIncluded", PFSParameterType.Integer, 0));
              Source1.AddKeyword(new PFSKeyword("TYPE", PFSParameterType.Integer, 2));

              Sources.AddSection(Source1);
              Nc.AddSection(Sources);

              CommandArea CA = new CommandArea(Nc);
              _commandAreas.Add(CA);
              _pfsHandle.AddSection(Nc);

              NO_AREAS++;
        }
开发者ID:shobaravi,项目名称:mikeshewrapper,代码行数:34,代码来源:CommandAreas.cs


示例3: FORMAT_VERSION

    public FORMAT_VERSION(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("verno", PFSParameterType.Integer, 0));

    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:7,代码来源:FORMAT_VERSION.cs


示例4: 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;
            }
              }
        }
开发者ID:shobaravi,项目名称:mikeshewrapper,代码行数:27,代码来源:Drainage.cs


示例5: Links

    public Links(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      Event_definition = new Event_definition("Event_definition");
      _pfsHandle.AddKeyword(Event_definition._keyword);
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:7,代码来源:Links.cs


示例6: MODFLOW

    public MODFLOW(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("CalculateLevels", PFSParameterType.Integer, 0));

    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:7,代码来源:MODFLOW.cs


示例7: 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;
        }
      }

    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:28,代码来源:WEL_CFG.cs


示例8: Discharge_Parameters

    public Discharge_Parameters(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      Muskingum = new Muskingum("Muskingum");
      _pfsHandle.AddKeyword(Muskingum._keyword);
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:7,代码来源:Discharge_Parameters.cs


示例9: 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;
        }
      }

    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:28,代码来源:CALIBRATION_SPECIFICATION.cs


示例10: 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;
        }
      }
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:30,代码来源:Result.cs


示例11: 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;
        }
      }
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:29,代码来源:VegNo_1.cs


示例12: CompControlParaModSZ

    internal CompControlParaModSZ(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "CompControlParaModLMG":
          _compControlParaModLMG = new CompControlParaModLMG(sub);
          break;
        case "CompControlParaModPCG2":
          _compControlParaModPCG2 = new CompControlParaModPCG2(sub);
          break;
        case "CompControlParaModPCG4":
          _compControlParaModPCG4 = new CompControlParaModPCG4(sub);
          break;
        case "CompControlParaModSIP":
          _compControlParaModSIP = new CompControlParaModSIP(sub);
          break;
        case "CompControlParaModSOR":
          _compControlParaModSOR = new CompControlParaModSOR(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:30,代码来源:CompControlParaModSZ.cs


示例13: MOUSE_RUNOFF_parameters

    public MOUSE_RUNOFF_parameters(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("TRAP_Computation", PFSParameterType.Boolean, true));

      _pfsHandle.AddKeyword(new PFSKeyword("Simulation_start", PFSParameterType.String, ""));

      _pfsHandle.AddKeyword(new PFSKeyword("Simulation_end", PFSParameterType.String, ""));

      _pfsHandle.AddKeyword(new PFSKeyword("Dt_FixedSec", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Dt_WetPeriodSec", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Dt_DryPeriodSec", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("RDII_dtSRC_hour", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("RDII_dtFRC_sec", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Allow_OverWrite", PFSParameterType.Boolean, true));

      Model_type = new Model_type("Model_type");
      _pfsHandle.AddKeyword(Model_type._keyword);
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:25,代码来源:MOUSE_RUNOFF_parameters.cs


示例14: 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;
            }
              }
        }
开发者ID:shobaravi,项目名称:mikeshewrapper,代码行数:27,代码来源:ModelCompWQ.cs


示例15: 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;
        }
      }

    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:25,代码来源:MOUSE_T_Results.cs


示例16: 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;
        }
      }
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:30,代码来源:OverlayItem_1.cs


示例17: 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;
            }
              }
        }
开发者ID:shobaravi,项目名称:mikeshewrapper,代码行数:27,代码来源:CompControlParaSZ.cs


示例18: 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;
        }
      }
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:60,代码来源:VEG_PROP_FILES1.cs


示例19: 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;
            }
              }
        }
开发者ID:shobaravi,项目名称:mikeshewrapper,代码行数:27,代码来源:Initial_Conditions.cs


示例20: MIKEZero_Shape_Polygon_Object

    public MIKEZero_Shape_Polygon_Object(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("Base_Title", PFSParameterType.String, ""));

      _pfsHandle.AddKeyword(new PFSKeyword("Base_Reg_Key", PFSParameterType.String, ""));

      _pfsHandle.AddKeyword(new PFSKeyword("Base_Col_Red", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Base_Col_Green", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Base_Col_Blue", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Base_Display_On", PFSParameterType.Boolean, true));

      _pfsHandle.AddKeyword(new PFSKeyword("Line_Thickness", PFSParameterType.Double, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Line_Style", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Line_Polygon_Style", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Draw_Text", PFSParameterType.Boolean, true));

      _pfsHandle.AddKeyword(new PFSKeyword("Text_Color_Style", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Text_Bk_Mode", PFSParameterType.Integer, 0));

      Text_Color = new Text_Color("Text_Color");
      _pfsHandle.AddKeyword(Text_Color._keyword);
    }
开发者ID:XiBeichuan,项目名称:hydronumerics,代码行数:31,代码来源:MIKEZero_Shape_Polygon_Object.cs



注:本文中的PFSSection类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# PHP类代码示例发布时间:2022-05-24
下一篇:
C# PExp类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap