diff options
Diffstat (limited to 'js/Hydraulics/Flowmeter.js')
-rw-r--r-- | js/Hydraulics/Flowmeter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Hydraulics/Flowmeter.js b/js/Hydraulics/Flowmeter.js index 170c1783..8d7a5bbc 100644 --- a/js/Hydraulics/Flowmeter.js +++ b/js/Hydraulics/Flowmeter.js @@ -37,7 +37,7 @@ function Flowmeter() { this.model.rpar = new ScilabDouble([PrametersValue]); mo.parameters = list(ParametersName,PrametersValue,zeros(ParametersName)); var exprs = "1"; - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Flowmeter\",sz(1),sz(2));"]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([false,true]); mo.model = ModelName; |