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/Branching/SWITCH2_m.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'js/Branching/SWITCH2_m.js') diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js index efdaac6e..6d3db25c 100644 --- a/js/Branching/SWITCH2_m.js +++ b/js/Branching/SWITCH2_m.js @@ -93,4 +93,13 @@ function SWITCH2_m() { SWITCH2_m.prototype.get_popup_title = function SWITCH2_m() { return this.set_param_popup_title; } + SWITCH2_m.prototype.importset = function SWITCH2_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.ot = ary[0]; + this.rule = ary[1]; + this.thra = ary[2]; + this.nzz = ary[3]; + } + SWITCH2_m.prototype.getContainer = function SWITCH2_m() { return new BasicBlock(this.x); } } -- cgit