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

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "CUZSoilProfilePropLayerListPfs":
          _cUZSoilProfilePropLayerListPfs = new CUZSoilProfilePropLayerListPfs(sub);
          break;
        case "CUZSoilProfilePropDiscrListPfs":
          _cUZSoilProfilePropDiscrListPfs = new CUZSoilProfilePropDiscrListPfs(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Пример #2
0
        internal UZSoilProfileProp(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "CUZSoilProfilePropDiscrListPfs":
                    _cUZSoilProfilePropDiscrListPfs = new CUZSoilProfilePropDiscrListPfs(sub);
                    break;

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