//default constructor public RMI() { fileDescription = new RMIFileDescription(); ampData = new List <RMIAmpData>(); pickData = new List <RMIPickData>(); geoData = new RMIGeoData(); fileNames = new List <string>(); }
//param constructor for when declared in main public RMI(IList <SeisData> src, GeometryData geoSrc) { fileNames = new List <string>(); ampData = new List <RMIAmpData>(); pickData = new List <RMIPickData>(); fileDescription = new RMIFileDescription(src); geoData = new RMIGeoData(geoSrc); foreach (var file in src) { ampData.Add(new RMIAmpData(file)); pickData.Add(new RMIPickData(file)); } }