Пример #1
0
        internal OutputModflow(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "OutputTimesteps":
                    _outputTimesteps = new OutputDates(sub);
                    break;

                case "PackagesOutput":
                    _packagesOutput = new PackagesOutput(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Пример #2
0
    internal OutputModflow(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "OutputDates":
          _outputDates = new OutputDates(sub);
          break;
        case "OutputTimesteps":
          _outputTimesteps = new OutputDates(sub);
          break;
        case "PackagesOutput":
          _packagesOutput = new PackagesOutput(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }