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


C# PFSSection.AddSection方法代码示例

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


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

示例1: msm_SWQLocTreat_Coeff

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

      Metadata = new Metadata("Metadata" );
      _pfsHandle.AddSection(Metadata._pfsHandle);

      Rows = new Rows1("Rows" );
      _pfsHandle.AddSection(Rows._pfsHandle);

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

示例2: RO_POSTPROCESS_LEVEL

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

      START_CRITERION = new START_CRITERION("START_CRITERION" );
      _pfsHandle.AddSection(START_CRITERION._pfsHandle);

      STOP_CRITERION = new STOP_CRITERION("STOP_CRITERION" );
      _pfsHandle.AddSection(STOP_CRITERION._pfsHandle);

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

示例3: msm_ADDispersion

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

      Metadata = new Metadata("Metadata" );
      _pfsHandle.AddSection(Metadata._pfsHandle);

      Rows = new Rows("Rows" );
      _pfsHandle.AddSection(Rows._pfsHandle);

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

示例4: CALIBRATION_SPECIFICATION

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

      MODEL_As = new List<MOUSE_Catchments>();
      GLOBAL_PARAMETERS = new GLOBAL_PARAMETERS("GLOBAL_PARAMETERS" );
      _pfsHandle.AddSection(GLOBAL_PARAMETERS._pfsHandle);

      MEASUREMENTS = new Model_B("MEASUREMENTS" );
      _pfsHandle.AddSection(MEASUREMENTS._pfsHandle);

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

示例5: MOUSE_T_Results

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

      Nodes = new Nodes("Nodes" );
      _pfsHandle.AddSection(Nodes._pfsHandle);

      Links = new Links("Links" );
      _pfsHandle.AddSection(Links._pfsHandle);

      Emissions = new Links("Emissions" );
      _pfsHandle.AddSection(Emissions._pfsHandle);

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

示例6: Routing_Data

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

      Location = new Location("Location");
      _pfsHandle.AddKeyword(Location._keyword);
      Attributes = new Attributes("Attributes");
      _pfsHandle.AddKeyword(Attributes._keyword);
      Elevation_Parameters = new Elevation_Parameters("Elevation_Parameters" );
      _pfsHandle.AddSection(Elevation_Parameters._pfsHandle);

      Discharge_Parameters = new Discharge_Parameters("Discharge_Parameters" );
      _pfsHandle.AddSection(Discharge_Parameters._pfsHandle);

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

示例7: COMPUTATIONAL_ENGINE_CONTROL

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

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

      RO_POSTPROCESS_LEVEL = new RO_POSTPROCESS_LEVEL("RO_POSTPROCESS_LEVEL" );
      _pfsHandle.AddSection(RO_POSTPROCESS_LEVEL._pfsHandle);

      HD_RUNTIME_LEVEL = new HD_RUNTIME_LEVEL("HD_RUNTIME_LEVEL" );
      _pfsHandle.AddSection(HD_RUNTIME_LEVEL._pfsHandle);

      EVALUATION_MATRIX = new EVALUATION_MATRIX("EVALUATION_MATRIX" );
      _pfsHandle.AddSection(EVALUATION_MATRIX._pfsHandle);

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

示例8: 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

示例9: MAP

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

      GEOMETRY = new GEOMETRY("GEOMETRY" );
      _pfsHandle.AddSection(GEOMETRY._pfsHandle);

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

示例10: HD_RUNTIME_LEVEL

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

      STOP_CRITERION = new STOP_CRITERION1("STOP_CRITERION" );
      _pfsHandle.AddSection(STOP_CRITERION._pfsHandle);

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

示例11: SOIL

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

      DEFAULT_DATA = new DEFAULT_DATA("DEFAULT_DATA" );
      _pfsHandle.AddSection(DEFAULT_DATA._pfsHandle);

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

示例12: WEL_CFG

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

      WELLDATA = new WELLDATA("WELLDATA" );
      _pfsHandle.AddSection(WELLDATA._pfsHandle);

      WELLFIELD = new WELLFIELD("WELLFIELD" );
      _pfsHandle.AddSection(WELLFIELD._pfsHandle);

      Foreground = new Foreground("Foreground" );
      _pfsHandle.AddSection(Foreground._pfsHandle);

      Background = new Foreground("Background" );
      _pfsHandle.AddSection(Background._pfsHandle);

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

示例13: Elevation_Parameters

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

      QH_Relations = new WEIR("QH_Relations" );
      _pfsHandle.AddSection(QH_Relations._pfsHandle);

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

示例14: FRC_INFLOW1

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

      Q_LIMIT = new Q_LIMIT("Q_LIMIT");
      _pfsHandle.AddKeyword(Q_LIMIT._keyword);
      OPERATOR = new OPERATOR("OPERATOR" );
      _pfsHandle.AddSection(OPERATOR._pfsHandle);

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

示例15: branch1

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

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

      points = new POINTS("points" );
      _pfsHandle.AddSection(points._pfsHandle);

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


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