18 using System.Collections.Generic;
23 namespace TraceLab.Components.Library.Importers.Generics
25 [Component(Name =
"Doubles Importer",
26 Description =
"Imports each line of a file as a double.",
27 Author =
"SEMERU; Evan Moritz",
29 ConfigurationType = typeof(GenericImporterConfig))]
30 [IOSpec(IOSpecType.Output,
"ListOfDoubles", typeof(List<double>))]
31 [Tag(
"Importers.Generics")]
40 Configuration = _config;
45 List<double> list =
new List<double>(DevelopmentKit.IO.Generics.ImportDoubles(_config.FileName.Absolute,
false));
46 Workspace.Store(
"ListOfDoubles", list);