Logic Machine Forum
What is lib.js.gz and core.js.gz - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: What is lib.js.gz and core.js.gz (/showthread.php?tid=2251)



What is lib.js.gz and core.js.gz - turbosasa - 23.09.2019

Please explain for what is lib.js.gz and core.js.gz from /scada/resources/..?
Can I include lib.js.gz in my custom app I need some functions from this script?

PS. What mean Scada?


RE: What is lib.js.gz and core.js.gz - admin - 24.09.2019

You can include them but there's no guarantee that it will work as there might be some dependencies. Which functions do you want to use in your app?


RE: What is lib.js.gz and core.js.gz - turbosasa - 24.09.2019

At the moment:
1. Scada.reqUrl
2. Scada.decodeGroupAddress
3. Scada.dt
4. Scada.normalizeDt


RE: What is lib.js.gz and core.js.gz - admin - 26.09.2019

What kind of functionality do you need in your app? If you want to monitor object value changes have a look at this thread: https://forum.logicmachine.net/showthread.php?tid=525


RE: What is lib.js.gz and core.js.gz - turbosasa - 28.09.2019

I need simple select box with object values, and in this scripts are some useful functions.


RE: What is lib.js.gz and core.js.gz - admin - 01.10.2019

You should use localbus from apps as I've suggested earlier. It has data type list localbus.dt, address decoding localbus.decodega() etc.