public void setParserPath(string csvPath, string xmlPath) { this.csvPath = csvPath; parser = new csvParser(csvPath); parser.setXMLCol(xmlPath); // if xmlPath is null, parser a default XML file. parser.scanCsv(); Start(); this.NotifyPropertyChanged("timeSimulator"); }
// Constructor public ModelGraphs(SharedLinestep linestep, csvParser parser) { this.linestep = linestep; this.parser = parser; }