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/Sources/SampleCLK.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'js/Sources/SampleCLK.js') diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js index acee4c3c..55e66961 100644 --- a/js/Sources/SampleCLK.js +++ b/js/Sources/SampleCLK.js @@ -64,4 +64,11 @@ function SampleCLK() { SampleCLK.prototype.get_popup_title = function SampleCLK() { return this.set_param_popup_title; } + SampleCLK.prototype.importset = function SampleCLK() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.frequ = ary[0]; + this.offset = ary[1]; + } + SampleCLK.prototype.getContainer = function SampleCLK() { return new BasicBlock(this.x); } } -- cgit