예제 #1
0
    internal TIME_SERIES_2(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "VEG_PROP_FILES":
          _vEG_PROP_FILES = new VEG_PROP_FILES2(sub);
          break;
          default:
            if (sub.Name.Substring(0,6).Equals("TIME_S"))
            {
              _tIME_SERIES_FILE_1s.Add(new DFS_2D_DATA_FILE(sub));
              break;
            }
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
예제 #2
0
        internal TIME_SERIES_2(PFSSection Section)
        {
            _pfsHandle = Section;

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

                default:
                    if (sub.Name.Substring(0, 6).Equals("TIME_S"))
                    {
                        _tIME_SERIES_FILE_1s.Add(new DFS_2D_DATA_FILE(sub));
                        break;
                    }
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }