Exemple #1
0
    internal LandUse(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "VEGETATION":
          _vEGETATION = new VEGETATION(sub);
          break;
        case "CommandAreas":
          _commandAreas = new CommandAreas(sub);
          break;
        case "Demands":
          _demands = new Demands(sub);
          break;
        case "Priorities":
          _priorities = new Priorities(sub);
          break;
        case "PavedRunoffCoefficient":
          _pavedRunoffCoefficient = new Topography(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Exemple #2
0
        internal LandUse(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "VEGETATION":
                    _vEGETATION = new VEGETATION(sub);
                    break;

                case "CommandAreas":
                    _commandAreas = new CommandAreas(sub);
                    break;

                case "Demands":
                    _demands = new Demands(sub);
                    break;

                case "Priorities":
                    _priorities = new Priorities(sub);
                    break;

                case "PavedRunoffCoefficient":
                    _pavedRunoffCoefficient = new Topography(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }