internal TwoLayerUZSoilProperties(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: if (sub.Name.Substring(0,6).Equals("UZSoil")) { _uZSoilProps.Add(new UZSoilProp(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal CommandAreas(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: if (sub.Name.Substring(0,6).Equals("Comman")) { _commandAreas.Add(new CommandArea(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal STATION_BASED(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }