diff options
author | Sunil Shetye | 2018-07-02 20:21:14 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 21:20:51 +0530 |
commit | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (patch) | |
tree | 15164190cae390d0a701fcd7ce99fa3addb4134c /js/Misc/scifunc_block.js | |
parent | 468de187d0ad59613aa73384976b58b78200ae43 (diff) | |
download | sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.gz sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.bz2 sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.zip |
add set block
Diffstat (limited to 'js/Misc/scifunc_block.js')
-rw-r--r-- | js/Misc/scifunc_block.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js index 18865a9b..783ab8f9 100644 --- a/js/Misc/scifunc_block.js +++ b/js/Misc/scifunc_block.js @@ -35,6 +35,16 @@ function scifunc_block() { scifunc_block.prototype.get = function scifunc_block() { } scifunc_block.prototype.set = function scifunc_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.deptime = parseFloat((arguments[0]["deptime"])) + this.lab = parseFloat((arguments[0]["lab"])) needcompile = 0; this.x = arg1; model = arg1.model; |