internal InternalBoundaryProp(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "TIME_SERIES_FILE":
              _tIME_SERIES_FILE = new DFS_2D_DATA_FILE(sub);
              break;
            case "DFS_2D_DATA_FILE":
              _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
              break;
            case "LeakCoef":
              _leakCoef = new Topography(sub);
              break;
            case "Conductance":
              _conductance = new Topography(sub);
              break;
            case "RiverBottomElevation":
              _riverBottomElevation = new Bathymetry(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal TwoLayerUZSoilProperties(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "DFS_2D_DATA_FILE":
              _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
              break;
            case "SHAPE_FILE":
              _sHAPE_FILE = new SHAPE_FILE(sub);
              break;
              default:
            if (sub.Name.Substring(0,6).Equals("UZSoil"))
            {
              _uZSoilProps.Add(new UZSoilProp(sub));
              break;
            }
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal CommandAreas(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "DFS_2D_DATA_FILE":
              _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
              break;
            case "SHAPE_FILE":
              _sHAPE_FILE = new SHAPE_FILE(sub);
              break;
              default:
            if (sub.Name.Substring(0,6).Equals("Comman"))
            {
              _commandAreas.Add(new CommandArea(sub));
              break;
            }
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal Initial_Matrix_Potential(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "DFS_3D_DATA_FILE":
              _dFS_3D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
Exemple #5
0
        internal Item_11(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "TIME_SERIES_FILE":
              _tIME_SERIES_FILE = new DFS_2D_DATA_FILE(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal FULLY_DISTRIBUTED(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "DFS_2D_DATA_FILE":
              _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
        internal STATION_BASED(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "DFS_2D_DATA_FILE":
              _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
              break;
            case "SHAPE_FILE":
              _sHAPE_FILE = new SHAPE_FILE(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }