public DataBody GetDataBody(ModuleKresScanner scanner) { if (DataSet) { return DataManager.Current.data.Find(d => d.Type == scanner.scannerType).GetBody(scanner.body.Name); } else { return new DataType(scanner.type).GetBody(scanner.body.Name); } }
public AtmosphericScanner(ModuleKresScanner scanner) { this.scanner = scanner; this.scanner.presence = " (vol/vol):"; this.scanner.location = "Atmospheric"; }
public OceanicScanner(ModuleKresScanner scanner) { this.scanner = scanner; this.scanner.presence = " (vol/vol):"; this.scanner.location = "Oceanic"; }
public OrbitalScanner(ModuleKresScanner scanner) { this.scanner = scanner; this.scanner.presence = " (surface%):"; this.scanner.location = "Extractable"; }