コード例 #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;
        }
      }
    }