public MOUSE_LINKS(string pfsname) { _pfsHandle = new PFSSection(pfsname); Links = new List<Link>(); _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0)); _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0)); LinkHeader = new LinkHeader("LinkHeader"); _pfsHandle.AddKeyword(LinkHeader._keyword); }
public MOUSE_LINKS(string pfsname) { _pfsHandle = new PFSSection(pfsname); Links = new List <Link>(); _pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0)); _pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0)); LinkHeader = new LinkHeader("LinkHeader"); _pfsHandle.AddKeyword(LinkHeader._keyword); }
internal MOUSE_LINKS(PFSSection Section) { _pfsHandle = Section; Links = new List<Link>(); for (int i = 1; i <= Section.GetKeywordsNo("Link"); i++) Links.Add(new Link(Section.GetKeyword("Link",i))); for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } LinkHeader = new LinkHeader(_pfsHandle.GetKeyword("LinkHeader", 1)); }
internal MOUSE_LINKS(PFSSection Section) { _pfsHandle = Section; Links = new List <Link>(); for (int i = 1; i <= Section.GetKeywordsNo("Link"); i++) { Links.Add(new Link(Section.GetKeyword("Link", i))); } for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } LinkHeader = new LinkHeader(_pfsHandle.GetKeyword("LinkHeader", 1)); }