From f389f174481df676c841ebcc87a7b8b313921bbc Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 17 Sep 2018 16:11:31 +0530 Subject: add importset and getContainer to combined.js --- js/Hydraulics/VanneReglante.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'js/Hydraulics/VanneReglante.js') diff --git a/js/Hydraulics/VanneReglante.js b/js/Hydraulics/VanneReglante.js index a52ab470..bdbc8f1f 100644 --- a/js/Hydraulics/VanneReglante.js +++ b/js/Hydraulics/VanneReglante.js @@ -59,4 +59,11 @@ function VanneReglante() { VanneReglante.prototype.get_popup_title = function VanneReglante() { return this.set_param_popup_title; } + VanneReglante.prototype.importset = function VanneReglante() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Cvmax = ary[0]; + this.p_rho = ary[1]; + } + VanneReglante.prototype.getContainer = function VanneReglante() { return new BasicBlock(this.x); } } -- cgit