Exemple #1
0
 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);
     }
 }
Exemple #2
0
 public AtmosphericScanner(ModuleKresScanner scanner)
 {
     this.scanner = scanner;
     this.scanner.presence = " (vol/vol):";
     this.scanner.location = "Atmospheric";
 }
Exemple #3
0
 public OceanicScanner(ModuleKresScanner scanner)
 {
     this.scanner = scanner;
     this.scanner.presence = " (vol/vol):";
     this.scanner.location = "Oceanic";
 }
Exemple #4
0
 public OrbitalScanner(ModuleKresScanner scanner)
 {
     this.scanner = scanner;
     this.scanner.presence = " (surface%):";
     this.scanner.location = "Extractable";
 }