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

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "WELLDATA":
          WELLDATA = new WELLDATA(sub);
          break;
        case "WELLFIELD":
          WELLFIELD = new WELLFIELD(sub);
          break;
        case "Foreground":
          Foreground = new Foreground(sub);
          break;
        case "Background":
          Background = new Foreground(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }

    }
예제 #2
0
    public WEL_CFG(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      WELLDATA = new WELLDATA("WELLDATA" );
      _pfsHandle.AddSection(WELLDATA._pfsHandle);

      WELLFIELD = new WELLFIELD("WELLFIELD" );
      _pfsHandle.AddSection(WELLFIELD._pfsHandle);

      Foreground = new Foreground("Foreground" );
      _pfsHandle.AddSection(Foreground._pfsHandle);

      Background = new Foreground("Background" );
      _pfsHandle.AddSection(Background._pfsHandle);

    }