public ScenarioReader( IScenarioFile dairyScenario, IScenarioFile cropSystScenario, string fieldDirName = "Fields") { this.dDp = dairyScenario; this.fDp = cropSystScenario; this.fieldDirName = fieldDirName; }
public ScenarioWriter( IScenarioFile dairyScenario, IScenarioFile cropSystScenario, IScenarioDefaults defaults, IWeatherExtractor weatherExtractor, string fieldDirName = "Fields", string dairyScenarioFilename = ".NIFA_dairy_scenario", string fieldScenarioFilename = ".CropSyst_scenario" ) { this.dDp = dairyScenario; this.fDp = cropSystScenario; this.defaults = defaults; this.weatherExtractor = weatherExtractor; this.fieldDirName = fieldDirName; this.dairyScenarioFilename = dairyScenarioFilename; this.fieldScenarioFilename = fieldScenarioFilename; }