Exemple #1
0
 private void updateProcessParameters(Model.CompoundProcess compoundProcess, CompoundProcess batchCompoundProcess)
 {
     foreach (var parameterValue in batchCompoundProcess.ParameterValues)
     {
         var parameter = compoundProcess.Parameter(parameterValue.Key);
         if (parameter == null)
         {
             _batchLogger.AddWarning($"Parameter '{parameterValue.Key}' not found in process '{compoundProcess.InternalName}'");
             continue;
         }
         parameter.Value = parameterValue.Value;
         _batchLogger.AddParameterValueToDebug(parameter);
     }
 }