Пример #1
0
        public MSM_BITEM(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            BITEMs = new List <BITEM>();
            _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));

            _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));

            BITEMHeader = new BITEMHeader("BITEMHeader");
            _pfsHandle.AddKeyword(BITEMHeader._keyword);
        }
Пример #2
0
    public MSM_BITEM(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      BITEMs = new List<BITEM>();
      _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));

      BITEMHeader = new BITEMHeader("BITEMHeader");
      _pfsHandle.AddKeyword(BITEMHeader._keyword);
    }
Пример #3
0
    internal MSM_BITEM(PFSSection Section)
    {
      _pfsHandle = Section;

      BITEMs = new List<BITEM>();
      for (int i = 1; i <= Section.GetKeywordsNo("BITEM"); i++)
        BITEMs.Add(new BITEM(Section.GetKeyword("BITEM",i)));
      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }

      BITEMHeader = new BITEMHeader(_pfsHandle.GetKeyword("BITEMHeader", 1));
    }
Пример #4
0
        internal MSM_BITEM(PFSSection Section)
        {
            _pfsHandle = Section;

            BITEMs = new List <BITEM>();
            for (int i = 1; i <= Section.GetKeywordsNo("BITEM"); i++)
            {
                BITEMs.Add(new BITEM(Section.GetKeyword("BITEM", i)));
            }
            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }

            BITEMHeader = new BITEMHeader(_pfsHandle.GetKeyword("BITEMHeader", 1));
        }