summaryrefslogtreecommitdiff
path: root/js/Linear/PID.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/PID.js')
-rw-r--r--js/Linear/PID.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Linear/PID.js b/js/Linear/PID.js
index 8759a559..18a396f6 100644
--- a/js/Linear/PID.js
+++ b/js/Linear/PID.js
@@ -170,4 +170,12 @@ function PID() {
PID.prototype.get_popup_title = function PID() {
return this.set_param_popup_title;
}
+ PID.prototype.importset = function PID() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.p = ary[0];
+ this.i = ary[1];
+ this.d = ary[2];
+ }
+ PID.prototype.getContainer = function PID() { return new BasicBlock(this.x); }
}