From b8191304f33121ac687cdf7a7c1f88eadfa67bd8 Mon Sep 17 00:00:00 2001
From: "francois.grand" <francois.grand@irstea.fr>
Date: Thu, 19 Apr 2018 15:19:43 +0200
Subject: [PATCH] =?UTF-8?q?=20#77=20modifs=20suite=20=C3=A0=20la=20suppres?=
 =?UTF-8?q?sion=20de=20l'enum=20ComputeNodeType.StructureKIVI?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../parallel-structures/parallel-structures.config.json     | 6 +++---
 src/app/formulaire/fieldset.ts                              | 5 -----
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/app/calculators/parallel-structures/parallel-structures.config.json b/src/app/calculators/parallel-structures/parallel-structures.config.json
index 20c22185c..6b9030e2b 100644
--- a/src/app/calculators/parallel-structures/parallel-structures.config.json
+++ b/src/app/calculators/parallel-structures/parallel-structures.config.json
@@ -210,7 +210,7 @@
                 "type": "input",
                 "id": "alpha",
                 "unit": "",
-                "nodeType": "StructureKIVI",
+                "nodeType": "StructureRectangle",
                 "dep_exist": [
                     {
                         "refid": "select_loidebit1",
@@ -222,7 +222,7 @@
                 "type": "input",
                 "id": "beta",
                 "unit": "",
-                "nodeType": "StructureKIVI",
+                "nodeType": "StructureRectangle",
                 "dep_exist": [
                     {
                         "refid": "select_loidebit1",
@@ -234,7 +234,7 @@
                 "type": "input",
                 "id": "ZRAM",
                 "unit": "",
-                "nodeType": "StructureKIVI",
+                "nodeType": "StructureRectangle",
                 "dep_exist": [
                     {
                         "refid": "select_loidebit1",
diff --git a/src/app/formulaire/fieldset.ts b/src/app/formulaire/fieldset.ts
index 3a78e8802..9e7f18af5 100644
--- a/src/app/formulaire/fieldset.ts
+++ b/src/app/formulaire/fieldset.ts
@@ -144,11 +144,6 @@ export class FieldSet extends FormulaireElement implements Observer {
                 structType = StructureType.VanneRectangulaire;
                 loiDebit = LoiDebit.Cem88v;
                 break;
-
-            case ComputeNodeType.StructureKIVI:
-                structType = StructureType.SeuilRectangulaire;
-                loiDebit = LoiDebit.KIVI;
-                break;
         }
         return [structType, loiDebit];
     }
-- 
GitLab