Esempio n. 1
0
    internal ModelCompWQ(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "SimTitleWQ":
          _simTitleWQ = new SimTitle(sub);
          break;
        case "SimulationPeriodWQ":
          _simulationPeriodWQ = new SimulationPeriodWQ(sub);
          break;
        case "WQTSC":
          _wQTSC = new WQTSC(sub);
          break;
        case "ColloidControlPara":
          _colloidControlPara = new ColloidControlPara(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Esempio n. 2
0
        internal ModelCompWQ(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "SimulationPeriodWQ":
                    _simulationPeriodWQ = new SimulationPeriodWQ(sub);
                    break;

                case "WQTSC":
                    _wQTSC = new WQTSC(sub);
                    break;

                case "ColloidControlPara":
                    _colloidControlPara = new ColloidControlPara(sub);
                    break;

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