public Elevation_Parameters(string pfsname) { _pfsHandle = new PFSSection(pfsname); QH_Relations = new WEIR("QH_Relations"); _pfsHandle.AddSection(QH_Relations._pfsHandle); }
public Elevation_Parameters(string pfsname) { _pfsHandle = new PFSSection(pfsname); QH_Relations = new WEIR("QH_Relations" ); _pfsHandle.AddSection(QH_Relations._pfsHandle); }
internal STRUCTURE_MODULE(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "CROSSSECTIONS": CROSSSECTIONS = new CROSSSECTIONS(sub); break; case "WEIR": WEIR = new WEIR(sub); break; case "CULVERTS": CULVERTS = new WEIR(sub); break; case "PUMPS": PUMPS = new WEIR(sub); break; case "REGULATING_STR": REGULATING_STR = new WEIR(sub); break; case "CONTROL_STR": CONTROL_STR = new WEIR(sub); break; case "DAMBREAK_STR": DAMBREAK_STR = new WEIR(sub); break; case "BRIDGE": BRIDGE = new WEIR(sub); break; case "USER_DEFINED": USER_DEFINED = new WEIR(sub); break; case "TABULATED": TABULATED = new WEIR(sub); break; case "ENERGYBALANCE": ENERGYBALANCE = new WEIR(sub); break; case "MIKE12_HYDRAU": MIKE12_HYDRAU = new WEIR(sub); break; default: _unMappedSections.Add(sub.Name); break; } } Structure_Version = new Structure_Version(_pfsHandle.GetKeyword("Structure_Version", 1)); }
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); }
internal Elevation_Parameters(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "QH_Relations": QH_Relations = new WEIR(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal Elevation_Parameters(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "QH_Relations": QH_Relations = new WEIR(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
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); }
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); }
internal STRUCTURE_MODULE(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "CROSSSECTIONS": CROSSSECTIONS = new CROSSSECTIONS(sub); break; case "WEIR": WEIR = new WEIR(sub); break; case "CULVERTS": CULVERTS = new WEIR(sub); break; case "PUMPS": PUMPS = new WEIR(sub); break; case "REGULATING_STR": REGULATING_STR = new WEIR(sub); break; case "CONTROL_STR": CONTROL_STR = new WEIR(sub); break; case "DAMBREAK_STR": DAMBREAK_STR = new WEIR(sub); break; case "BRIDGE": BRIDGE = new WEIR(sub); break; case "USER_DEFINED": USER_DEFINED = new WEIR(sub); break; case "TABULATED": TABULATED = new WEIR(sub); break; case "ENERGYBALANCE": ENERGYBALANCE = new WEIR(sub); break; case "MIKE12_HYDRAU": MIKE12_HYDRAU = new WEIR(sub); break; default: _unMappedSections.Add(sub.Name); break; } } Structure_Version = new Structure_Version(_pfsHandle.GetKeyword("Structure_Version", 1)); }
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); }
internal MIKE_11_Network_editor(PFSSection Section) { _pfsHandle = Section; FLOOD_QQs = new List<WEIR>(); for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "FORMAT_VERSION": FORMAT_VERSION = new FORMAT_VERSION(sub); break; case "DATA_AREA": DATA_AREA = new DATA_AREA(sub); break; case "POINTS": POINTS = new POINTS(sub); break; case "BRANCHES": BRANCHES = new BRANCHES(sub); break; case "STRUCTURE_MODULE": STRUCTURE_MODULE = new STRUCTURE_MODULE(sub); break; case "CATCHMENT": CATCHMENT = new WEIR(sub); break; case "COMPUTATIONAL_SETUP": COMPUTATIONAL_SETUP = new COMPUTATIONAL_SETUP(sub); break; case "MIKESHECOUPLING": MIKESHECOUPLING = new MIKESHECOUPLING1(sub); break; case "CHANNELROUTING": CHANNELROUTING = new WEIR(sub); break; case "DIVERSION": DIVERSION = new WEIR(sub); break; case "ALIGNMENTLINE": ALIGNMENTLINE = new WEIR(sub); break; case "JUNCTION": JUNCTION = new WEIR(sub); break; case "MIKE11_ROUTING": MIKE11_ROUTING = new MIKE11_ROUTING(sub); break; case "MODFLOW": MODFLOW = new MODFLOW(sub); break; case "LAYER_FILES": LAYER_FILES = new LAYER_FILES(sub); break; default: if (sub.Name.Length>5 && sub.Name.Substring(0,6).Equals("FLOOD_")) { FLOOD_QQs.Add(new WEIR(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal MIKE_11_Network_editor(PFSSection Section) { _pfsHandle = Section; FLOOD_QQs = new List <WEIR>(); for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "FORMAT_VERSION": FORMAT_VERSION = new FORMAT_VERSION(sub); break; case "DATA_AREA": DATA_AREA = new DATA_AREA(sub); break; case "POINTS": POINTS = new POINTS(sub); break; case "BRANCHES": BRANCHES = new BRANCHES(sub); break; case "STRUCTURE_MODULE": STRUCTURE_MODULE = new STRUCTURE_MODULE(sub); break; case "CATCHMENT": CATCHMENT = new WEIR(sub); break; case "COMPUTATIONAL_SETUP": COMPUTATIONAL_SETUP = new COMPUTATIONAL_SETUP(sub); break; case "MIKESHECOUPLING": MIKESHECOUPLING = new MIKESHECOUPLING1(sub); break; case "CHANNELROUTING": CHANNELROUTING = new WEIR(sub); break; case "DIVERSION": DIVERSION = new WEIR(sub); break; case "ALIGNMENTLINE": ALIGNMENTLINE = new WEIR(sub); break; case "JUNCTION": JUNCTION = new WEIR(sub); break; case "MIKE11_ROUTING": MIKE11_ROUTING = new MIKE11_ROUTING(sub); break; case "MODFLOW": MODFLOW = new MODFLOW(sub); break; case "LAYER_FILES": LAYER_FILES = new LAYER_FILES(sub); break; default: if (sub.Name.Length > 5 && sub.Name.Substring(0, 6).Equals("FLOOD_")) { FLOOD_QQs.Add(new WEIR(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }