Skip to content
Snippets Groups Projects
Commit e8c4f8fe authored by francois.grand's avatar francois.grand
Browse files

#46 suppresion de ComputeNode.initParametersValueMode()

parent 17222955
No related branches found
No related tags found
No related merge requests found
......@@ -62,17 +62,6 @@ export abstract class ComputeNode extends Debug {
return undefined;
}
public initParametersValueMode(computedParam: ParamDefinition, variatedParam?: ParamDefinition, variatedMode?: ParamValueMode) {
for (const p of this.parameterIterator) {
if (p.symbol === computedParam.symbol)
p.paramValues.valueMode = ParamValueMode.CALCUL;
else if (variatedParam && p.symbol == variatedParam.symbol)
p.paramValues.valueMode = variatedMode;
else
p.paramValues.valueMode = ParamValueMode.SINGLE;
}
}
public get parameterIterator(): IParamDefinitionIterator {
return this._prms.iterator;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment