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

classe FormulaireService : modif suite à la suppression du paramèter cLog du...

classe FormulaireService : modif suite à la suppression du paramèter cLog du constructeur des sections
parent d2f540a8
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ export class FormulaireService {
let LargeurFond = f.getNodeParameterValue(nt, "LargeurFond"); // Largeur au fond
let Fruit = f.getNodeParameterValue(nt, "Fruit"); // Fruit des berges
let prms = new ParamsSectionTrapez(LargeurFond, Fruit, Y, Ks, Q, If, Prec, YB);
let cn = new cSnTrapez(undefined, prms);
let cn = new cSnTrapez(prms);
return [cn, prms];
}
......@@ -165,7 +165,7 @@ export class FormulaireService {
{
let LargeurFond = f.getNodeParameterValue(nt, "LargeurBerge"); // Largeur au fond
let prms = new ParamsSectionRectang(Y, LargeurFond, Ks, Q, If, Prec, YB);
let cn = new cSnRectang(undefined, prms);
let cn = new cSnRectang(prms);
return [cn, prms];
}
......@@ -175,7 +175,7 @@ export class FormulaireService {
{
let D = f.getNodeParameterValue(nt, "D"); // Largeur au fond
let prms = new ParamsSectionCirc(D, Y, Ks, Q, If, Prec, YB);
let cn = new cSnCirc(undefined, prms);
let cn = new cSnCirc(prms);
return [cn, prms];
}
......@@ -186,7 +186,7 @@ export class FormulaireService {
let k = f.getNodeParameterValue(nt, "k"); // coefficient
let LargeurBerge = f.getNodeParameterValue(nt, "LargeurBerge"); // Largeur au niveau des berges
let prms = new ParamsSectionPuiss(k, Y, LargeurBerge, Ks, Q, If, Prec, YB);
let cn = new cSnPuiss(undefined, prms);
let cn = new cSnPuiss(prms);
return [cn, prms];
}
......
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