Commit ea71f0c8 authored by Dorchies David's avatar Dorchies David
Browse files

feat(macrorugo): add links capabilities for Strickler

Refs #287
parent e38f62bd
......@@ -204,9 +204,10 @@ export class MacroRugo extends FishPass {
ZF2: ParamFamily.ELEVATIONS,
Vdeb: ParamFamily.SPEEDS,
Vmax: ParamFamily.SPEEDS,
Vg: ParamFamily.SPEEDS,
Fr: undefined,
PV: undefined,
Strickler: undefined
Strickler: ParamFamily.STRICKLERS
};
}
......
......@@ -23,7 +23,7 @@ export abstract class ParamsSection extends ParamsEquation {
rYB: number
) {
super();
this._Ks = new ParamDefinition(this, "Ks", ParamDomainValue.POS, "SI", rKs);
this._Ks = new ParamDefinition(this, "Ks", ParamDomainValue.POS, "SI", rKs, ParamFamily.STRICKLERS);
this._Q = new ParamDefinition(this, "Q", ParamDomainValue.POS_NULL, "m³/s", rQ, ParamFamily.FLOWS);
this._If = new ParamDefinition(this, "If", ParamDomainValue.ANY, "m/m", rIf, ParamFamily.SLOPES);
this._YB = new ParamDefinition(this, "YB", ParamDomainValue.POS, "m", rYB, ParamFamily.HEIGHTS);
......
......@@ -44,7 +44,7 @@ export class ParParams extends ParamsEquation {
this._Z2 = new ParamDefinition(this, "Z2", ParamDomainValue.ANY, "m", rZ2, ParamFamily.ELEVATIONS);
this.addParamDefinition(this.Z2);
// géométrie de la passe
this._ha = new ParamDefinition(this, "ha", ParamDomainValue.POS_NULL, "m", rha);
this._ha = new ParamDefinition(this, "ha", ParamDomainValue.POS_NULL, "m", rha, ParamFamily.HEIGHTS);
this.addParamDefinition(this.ha);
this._S = new ParamDefinition(this, "S", ParamDomainValue.POS_NULL, "m/m", rS, ParamFamily.SLOPES);
this.addParamDefinition(this.S);
......
......@@ -41,7 +41,8 @@ export enum ParamFamily {
VOLUMES,
FLOWS, // débit
DIAMETERS,
SPEEDS // vitesses, seulement des résultats
SPEEDS, // vitesses, seulement des résultats
STRICKLERS
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment