Example #1
0
        public WellFile(string SheFileName)
            : base(SheFileName)
        {
            for (int i = 1; i <= _pfsClass.GetTargetsNo(); i++)
            {
                PFSSection sub = _pfsClass.GetTarget(i);
                switch (sub.Name)
                {
                case "MAP":
                    MAP = new MAP(sub);
                    break;

                case "SOIL":
                    SOIL = new SOIL(sub);
                    break;

                case "WEL_CFG":
                    WEL_CFG = new WEL_CFG(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Example #2
0
    public WellFile(string SheFileName)
      : base(SheFileName)
    {

      for (int i = 1; i <= _pfsClass.GetTargetsNo(); i++)
      {
        PFSSection sub = _pfsClass.GetTarget(i);
        switch (sub.Name)
        {
        case "MAP":
          MAP = new MAP(sub);
          break;
        case "SOIL":
          SOIL = new SOIL(sub);
          break;
        case "WEL_CFG":
          WEL_CFG = new WEL_CFG(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }

    }