예제 #1
0
        internal CompControlParaSZ(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "CompControlParaSZPCGSteady":
                    _compControlParaSZPCGSteady = new CompControlParaSZPCGTrans(sub);
                    break;

                case "CompControlParaSZSOR":
                    _compControlParaSZSOR = new CompControlParaSZSOR(sub);
                    break;

                case "CompControlParaRivEx":
                    _compControlParaRivEx = new CompControlParaRivEx(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
예제 #2
0
    internal CompControlParaSZ(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "CompControlParaSZPCGTrans":
          _compControlParaSZPCGTrans = new CompControlParaSZPCGTrans(sub);
          break;
        case "CompControlParaSZPCGSteady":
          _compControlParaSZPCGSteady = new CompControlParaSZPCGTrans(sub);
          break;
        case "CompControlParaSZSOR":
          _compControlParaSZSOR = new CompControlParaSZSOR(sub);
          break;
        case "CompControlParaRivEx":
          _compControlParaRivEx = new CompControlParaRivEx(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }