public void Transfer(ModuleScienceExperiment baseExperiment, IScienceDataContainer moduleScienceContainer) { var currentExperiment = baseExperiment as DMModuleScienceAnimate; Log(currentExperiment.experimentID, ": transfering"); moduleScienceContainer.StoreData(currentExperiment, _AutomatedScienceSamplerInstance.craftSettings.dumpDuplicates); }
public virtual void Transfer(ModuleScienceExperimentWrapper <T> baseExperiment, IScienceDataContainer moduleScienceContainer) { Log(baseExperiment.experimentID, ": transfering"); try { moduleScienceContainer.StoreData(baseExperiment.BaseObject, _AutomatedScienceSamplerInstance.craftSettings.dumpDuplicates, this); Log(baseExperiment.experimentID, ": transferred"); } catch (Exception e2) { Log(baseExperiment.experimentID, ": error transferring ", e2); throw; } }