当前位置: 首页>>代码示例>>C#>>正文


C# PFSSection类代码示例

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


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


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