Commit e7f5737e authored by Grand Francois's avatar Grand Francois
Browse files

regime_uniforme.ts :

modif des appels AddVarEq dans le constructeur pour être conforme aux variables traitées par Equation()
suppression du membre oP (type cParam), utilisation à la place des paramètres attachés à la classe acSection
Showing with 1 addition and 8 deletions
+1 -8
...@@ -5,22 +5,15 @@ import { acSection, cParamsCanal } from "./section/section_type"; ...@@ -5,22 +5,15 @@ import { acSection, cParamsCanal } from "./section/section_type";
export class RegimeUniforme extends Nub { export class RegimeUniforme extends Nub {
private Sn: acSection; ///< Objet section private Sn: acSection; ///< Objet section
// private oP: cParamsCanal; ///< Objet paramètres de section
// constructor(s: acSection, pCanal: cParamsCanal) {
constructor(s: acSection) { constructor(s: acSection) {
let paramsEq: { [key: string]: number } = {}; let paramsEq: { [key: string]: number } = {};
// params = {};
super(paramsEq); super(paramsEq);
this.Sn = s; this.Sn = s;
//this.oP = pCanal;
this.AddVarEq("Q"); this.AddVarEq("Q");
this.AddVarEq("D"); this.AddVarEq("Y");
this.AddVarEq("J");
this.AddVarEq("Lg");
this.AddVarEq("nu");
} }
/** /**
......
Supports Markdown
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