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

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "OverlayBMP":
          _overlayBMP = new OverlayBMP(sub);
          break;
        case "OverlayGrid":
          _overlayGrid = new OverlayGrid(sub);
          break;
        case "OverlayShape":
          _overlayShape = new OverlayShape(sub);
          break;
        case "OverlayRiver":
          _overlayRiver = new OverlayRiver(sub);
          break;
        case "OverlayWell":
          _overlayWell = new OverlayWell(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Пример #2
0
        internal OverlayItem_1(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "OverlayGrid":
                    _overlayGrid = new OverlayGrid(sub);
                    break;

                case "OverlayShape":
                    _overlayShape = new OverlayShape(sub);
                    break;

                case "OverlayRiver":
                    _overlayRiver = new OverlayRiver(sub);
                    break;

                case "OverlayWell":
                    _overlayWell = new OverlayWell(sub);
                    break;

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