コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
    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);

    }
コード例 #5
0
    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);

    }
コード例 #6
0
    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);

    }
コード例 #7
0
        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);
        }
コード例 #8
0
    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);

    }
コード例 #9
0
        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);
        }
コード例 #10
0
        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);
        }
コード例 #11
0
    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);

    }
コード例 #12
0
    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);

    }
コード例 #13
0
        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);
        }
コード例 #14
0
        /// <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++;
        }
コード例 #15
0
ファイル: MAP.cs プロジェクト: msruzy/hydronumerics
        public MAP(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            GEOMETRY = new GEOMETRY("GEOMETRY");
            _pfsHandle.AddSection(GEOMETRY._pfsHandle);
        }
コード例 #16
0
    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);

    }
コード例 #17
0
        public Elevation_Parameters(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            QH_Relations = new WEIR("QH_Relations");
            _pfsHandle.AddSection(QH_Relations._pfsHandle);
        }
コード例 #18
0
ファイル: SOIL.cs プロジェクト: msruzy/hydronumerics
        public SOIL(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            DEFAULT_DATA = new DEFAULT_DATA("DEFAULT_DATA");
            _pfsHandle.AddSection(DEFAULT_DATA._pfsHandle);
        }
コード例 #19
0
        public HD_RUNTIME_LEVEL(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            STOP_CRITERION = new STOP_CRITERION1("STOP_CRITERION");
            _pfsHandle.AddSection(STOP_CRITERION._pfsHandle);
        }
コード例 #20
0
    public HD_RUNTIME_LEVEL(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

    }
コード例 #21
0
ファイル: WEL_CFG.cs プロジェクト: msruzy/hydronumerics
    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);

    }
コード例 #22
0
    public Elevation_Parameters(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

    }
コード例 #23
0
ファイル: SOIL.cs プロジェクト: XiBeichuan/hydronumerics
    public SOIL(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

    }
コード例 #24
0
ファイル: MAP.cs プロジェクト: XiBeichuan/hydronumerics
    public MAP(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

    }
コード例 #25
0
        public TOTAL_VOLUME(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            VOL_LIMIT = new VOL_LIMIT("VOL_LIMIT");
            _pfsHandle.AddKeyword(VOL_LIMIT._keyword);
            OPERATOR = new OPERATOR("OPERATOR");
            _pfsHandle.AddSection(OPERATOR._pfsHandle);
        }
コード例 #26
0
        public INITIAL_CONDITION_SELECTION(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            HOTSTART_FILE = new HOTSTART_FILE("HOTSTART_FILE");
            _pfsHandle.AddSection(HOTSTART_FILE._pfsHandle);
        }
コード例 #27
0
ファイル: branch1.cs プロジェクト: msruzy/hydronumerics
        public branch1(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            points = new POINTS("points");
            _pfsHandle.AddSection(points._pfsHandle);
        }
コード例 #28
0
        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);
        }
コード例 #29
0
        public STOP_CRITERION(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            FRC_INFLOW = new FRC_INFLOW1("FRC_INFLOW");
            _pfsHandle.AddSection(FRC_INFLOW._pfsHandle);
        }
コード例 #30
0
        public STOP_CRITERION1(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            TOTAL_VOLUME = new TOTAL_VOLUME("TOTAL_VOLUME");
            _pfsHandle.AddSection(TOTAL_VOLUME._pfsHandle);
        }
コード例 #31
0
        public MOUSE_Computation(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

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

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

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

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

            MOUSE_RUNOFF_parameters = new MOUSE_RUNOFF_parameters("MOUSE_RUNOFF_parameters");
            _pfsHandle.AddSection(MOUSE_RUNOFF_parameters._pfsHandle);
        }
コード例 #32
0
    public STOP_CRITERION(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

      FRC_INFLOW = new FRC_INFLOW1("FRC_INFLOW" );
      _pfsHandle.AddSection(FRC_INFLOW._pfsHandle);

    }
コード例 #33
0
    public STOP_CRITERION1(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

    }
コード例 #34
0
    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);

    }
コード例 #35
0
    public TOTAL_VOLUME(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

    }
コード例 #36
0
ファイル: branch1.cs プロジェクト: XiBeichuan/hydronumerics
    public branch1(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

    }
コード例 #37
0
    public STRUCTURE_MODULE(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      Structure_Version = new Structure_Version("Structure_Version");
      _pfsHandle.AddKeyword(Structure_Version._keyword);
      CROSSSECTIONS = new CROSSSECTIONS("CROSSSECTIONS" );
      _pfsHandle.AddSection(CROSSSECTIONS._pfsHandle);

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

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

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

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

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

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

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

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

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

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

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

    }
コード例 #38
0
    public INITIAL_CONDITION_SELECTION(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

    }
コード例 #39
0
        public FILTERDATA(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

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

            FILTERITEM_1 = new FILTERITEM_1("FILTERITEM_1");
            _pfsHandle.AddSection(FILTERITEM_1._pfsHandle);
        }
コード例 #40
0
    public MOUSE_Computation(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

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

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

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

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

    }
コード例 #41
0
ファイル: LAYER_FILES.cs プロジェクト: msruzy/hydronumerics
        public LAYER_FILES(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            DataFileName = new DataFileName("DataFileName");
            _pfsHandle.AddKeyword(DataFileName._keyword);
            PROPERTIES = new PROPERTIES("PROPERTIES");
            _pfsHandle.AddSection(PROPERTIES._pfsHandle);
        }
コード例 #42
0
ファイル: PROPERTIES.cs プロジェクト: msruzy/hydronumerics
        public PROPERTIES(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

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

            MIKEZero_Shape_Polygon_Object = new MIKEZero_Shape_Polygon_Object("MIKEZero_Shape_Polygon_Object");
            _pfsHandle.AddSection(MIKEZero_Shape_Polygon_Object._pfsHandle);
        }
コード例 #43
0
    public PROPERTIES(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

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

    }
コード例 #44
0
    public LAYER_FILES(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

      DataFileName = new DataFileName("DataFileName");
      _pfsHandle.AddKeyword(DataFileName._keyword);
      PROPERTIES = new PROPERTIES("PROPERTIES" );
      _pfsHandle.AddSection(PROPERTIES._pfsHandle);

    }
コード例 #45
0
    public FILTERDATA(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

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

    }
コード例 #46
0
        public HOTSTART_FILE(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

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

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

            SRC_SELECTION_CRITERION = new SRC_SELECTION_CRITERION("SRC_SELECTION_CRITERION");
            _pfsHandle.AddSection(SRC_SELECTION_CRITERION._pfsHandle);
        }
コード例 #47
0
ファイル: FRC_INFLOW.cs プロジェクト: msruzy/hydronumerics
        public FRC_INFLOW(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

            _pfsHandle.AddKeyword(new PFSKeyword("LOCATION", PFSParameterType.Missing, ""));

            Q_LIMIT = new Q_LIMIT("Q_LIMIT");
            _pfsHandle.AddKeyword(Q_LIMIT._keyword);
            OPERATOR = new OPERATOR("OPERATOR");
            _pfsHandle.AddSection(OPERATOR._pfsHandle);
        }
コード例 #48
0
        public WELLNO_1(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

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

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

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

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

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

            FILTERDATA = new FILTERDATA1("FILTERDATA");
            _pfsHandle.AddSection(FILTERDATA._pfsHandle);

            LITOGRAFIDATA = new LITOGRAFIDATA("LITOGRAFIDATA");
            _pfsHandle.AddSection(LITOGRAFIDATA._pfsHandle);
        }
コード例 #49
0
    public HOTSTART_FILE(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

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

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

    }
コード例 #50
0
ファイル: WellItem.cs プロジェクト: XiBeichuan/hydronumerics
    public WELLNO_1(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

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

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

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

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

      FILTERDATA = new FILTERDATA1("FILTERDATA" );
      _pfsHandle.AddSection(FILTERDATA._pfsHandle);

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

    }
コード例 #51
0
    public FRC_INFLOW(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

      _pfsHandle.AddKeyword(new PFSKeyword("LOCATION", PFSParameterType.Missing, ""));

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

    }
コード例 #52
0
ファイル: PFSMapper.cs プロジェクト: XiBeichuan/hydronumerics
    /// <summary>
    /// Returns a deep clone of the section. Does not clone any parents;
    /// </summary>
    /// <param name="SectionToClone"></param>
    /// <returns></returns>
    public static PFSSection DeepClone(PFSSection SectionToClone)
    {
      PFSSection ps = new PFSSection(SectionToClone.Name);

      int NumberOfKeywords = SectionToClone.GetKeywordsNo();
      for (int i = 1; i <= NumberOfKeywords; i++)
        ps.AddKeyword(PFSMapper.DeepClone(SectionToClone.GetKeyword(i)));

      int NumberOfSections = SectionToClone.GetSectionsNo();
      for (int i = 1; i <= NumberOfSections; i++)
        ps.AddSection(PFSMapper.DeepClone(SectionToClone.GetSection(i)));

      return ps;
    }
コード例 #53
0
ファイル: FILTERITEM_1.cs プロジェクト: msruzy/hydronumerics
        public FILTERITEM_1(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

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

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

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

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

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

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

            TIME_SERIES_FILE = new TIME_SERIES_FILE("TIME_SERIES_FILE");
            _pfsHandle.AddSection(TIME_SERIES_FILE._pfsHandle);
        }
コード例 #54
0
        /// <summary>
        /// Returns a deep clone of the section. Does not clone any parents;
        /// </summary>
        /// <param name="SectionToClone"></param>
        /// <returns></returns>
        public static PFSSection DeepClone(PFSSection SectionToClone)
        {
            PFSSection ps = new PFSSection(SectionToClone.Name);

            int NumberOfKeywords = SectionToClone.GetKeywordsNo();

            for (int i = 1; i <= NumberOfKeywords; i++)
            {
                ps.AddKeyword(PFSMapper.DeepClone(SectionToClone.GetKeyword(i)));
            }

            int NumberOfSections = SectionToClone.GetSectionsNo();

            for (int i = 1; i <= NumberOfSections; i++)
            {
                ps.AddSection(PFSMapper.DeepClone(SectionToClone.GetSection(i)));
            }

            return(ps);
        }
コード例 #55
0
    public FILTERITEM_1(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

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

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

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

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

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

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

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

    }
コード例 #56
0
        /// <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++;
        }
コード例 #57
0
    public MIKE_11_Network_editor(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      FLOOD_QQs = new List<WEIR>();
      FORMAT_VERSION = new FORMAT_VERSION("FORMAT_VERSION" );
      _pfsHandle.AddSection(FORMAT_VERSION._pfsHandle);

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

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

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

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

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

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

      MIKESHECOUPLING = new MIKESHECOUPLING1("MIKESHECOUPLING" );
      _pfsHandle.AddSection(MIKESHECOUPLING._pfsHandle);

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

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

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

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

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

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

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

    }
コード例 #58
0
        public MIKE_11_Network_editor(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            FLOOD_QQs      = new List <WEIR>();
            FORMAT_VERSION = new FORMAT_VERSION("FORMAT_VERSION");
            _pfsHandle.AddSection(FORMAT_VERSION._pfsHandle);

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

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

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

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

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

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

            MIKESHECOUPLING = new MIKESHECOUPLING1("MIKESHECOUPLING");
            _pfsHandle.AddSection(MIKESHECOUPLING._pfsHandle);

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

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

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

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

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

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

            LAYER_FILES = new LAYER_FILES("LAYER_FILES");
            _pfsHandle.AddSection(LAYER_FILES._pfsHandle);
        }
コード例 #59
0
        public STRUCTURE_MODULE(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            Structure_Version = new Structure_Version("Structure_Version");
            _pfsHandle.AddKeyword(Structure_Version._keyword);
            CROSSSECTIONS = new CROSSSECTIONS("CROSSSECTIONS");
            _pfsHandle.AddSection(CROSSSECTIONS._pfsHandle);

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

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

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

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

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

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

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

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

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

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

            MIKE12_HYDRAU = new WEIR("MIKE12_HYDRAU");
            _pfsHandle.AddSection(MIKE12_HYDRAU._pfsHandle);
        }