public bool applySolution(FlowCalculationData baseData, FlowDriverModifier modifier, bool lastTime) { if (solutionApplied) return true; //If we have already successfully sent all our data, then we shouldn't do it again... SettingResponseData sourceResponse = setSourceValues(baseData, null, pumpingPercent * mcrRating * modifier.flowPercent, lastTime); if (sourceResponse != null) { baseData.applySourceResponse(sourceResponse); setDeliveryValues(baseData, null, pumpingPercent * mcrRating * modifier.flowPercent, lastTime); solutionApplied = true; } return solutionApplied; }