From 50558401d846294843bc0f74a51681ea8c68703c Mon Sep 17 00:00:00 2001 From: "francois.grand" <francois.grand@irstea.fr> Date: Thu, 29 Mar 2018 15:41:15 +0200 Subject: [PATCH] =?UTF-8?q?=20#46=20ajout=20d'un=20squelette=20de=20classe?= =?UTF-8?q?=20pour=20le=20Nub=20des=20sections=20param=C3=A9tr=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/section/section_nub.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/section/section_nub.ts diff --git a/src/section/section_nub.ts b/src/section/section_nub.ts new file mode 100644 index 00000000..50250f7d --- /dev/null +++ b/src/section/section_nub.ts @@ -0,0 +1,22 @@ +import { Nub } from "../nub"; +import { acSection } from "./section_type"; +import { Result } from "../util/result"; + +/** + * Nub sur les sections paramétrées + */ +export class SectionParametree extends Nub { + constructor(sect: acSection, dbg: boolean = false) { + super(sect.prms, dbg); + } + + /** + * paramétrage de la calculabilité des paramètres + */ + protected setParametersCalculability() { + } + + Equation(sVarCalc: string): Result { + throw new Error(`SectionParam.Equation() : calcul sur ${sVarCalc} non implémenté`); + } +} -- GitLab