summaryrefslogtreecommitdiff
path: root/js/Misc/MBLOCK.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/MBLOCK.js')
-rw-r--r--js/Misc/MBLOCK.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js
index ae8d0cb9..ba9db08e 100644
--- a/js/Misc/MBLOCK.js
+++ b/js/Misc/MBLOCK.js
@@ -36,6 +36,16 @@ function MBLOCK() {
return this.x;
}
MBLOCK.prototype.get = function MBLOCK() {
+ var options = {
+ Tin:["Input variables: ",this.Tin],
+ Tintype:["Input variables types: ",this.Tintype],
+ Tout:["Output variables: ",this.Tout],
+ Touttype:["Output variables types:",this.Touttype],
+ Tparam:["Parameters in Modelica:",this.Tparam],
+ pprop:["Parameters properties: ",this.pprop],
+ Tfunam:["Function name: ",this.Tfunam],
+ }
+ return options;
}
MBLOCK.prototype.set = function MBLOCK() {
this.Tin = parseFloat((arguments[0]["Tin"]))