Skip to content
Snippets Groups Projects
Commit be4451be authored by François Grand's avatar François Grand
Browse files

fix: MacroRugoRemous constructor: set property if target nub is provided

refs #325
parent 5d3e1ef0
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@ export class MacroRugoRemous extends CourbeRemous {
this.setSection(s);
this._nubMacroRugo = nubMacroRugo;
if (this._nubMacroRugo !== undefined) {
this.setPropValue(MacroRugoRemous.NubMacroRugoProp, this._nubMacroRugo.uid);
}
}
public get nubMacroRugo(): MacroRugo {
......@@ -91,4 +94,4 @@ export class MacroRugoRemous extends CourbeRemous {
this.section.prms.Ks.v = this._nubMacroRugo.result.resultElement.values.Strickler;
return super.Calc_Y(Y);
}
}
}
\ No newline at end of file
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