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