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

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "Decay_Processes":
          _decay_Processes = new Decay_Processes(sub);
          break;
        case "Sorption_Processes":
          _sorption_Processes = new Sorption_Processes(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Пример #2
0
        internal Processes(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "Sorption_Processes":
                    _sorption_Processes = new Sorption_Processes(sub);
                    break;

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