@strato-automation/node-red-contrib-strato-automation
Version:
Strato Automation Official Node Red Library
1 lines • 3.16 kB
JavaScript
const a25_0x4d7b42=a25_0x4101;(function(_0x2f010c,_0x194283){const _0x76074c=a25_0x4101,_0x13b55f=_0x2f010c();while(!![]){try{const _0x352616=-parseInt(_0x76074c(0xce))/0x1+parseInt(_0x76074c(0xd0))/0x2*(-parseInt(_0x76074c(0xe5))/0x3)+parseInt(_0x76074c(0xdd))/0x4*(-parseInt(_0x76074c(0xd3))/0x5)+-parseInt(_0x76074c(0xe0))/0x6+-parseInt(_0x76074c(0xe2))/0x7*(parseInt(_0x76074c(0xcb))/0x8)+parseInt(_0x76074c(0xd8))/0x9*(-parseInt(_0x76074c(0xe4))/0xa)+parseInt(_0x76074c(0xc7))/0xb*(parseInt(_0x76074c(0xcc))/0xc);if(_0x352616===_0x194283)break;else _0x13b55f['push'](_0x13b55f['shift']());}catch(_0x27efa8){_0x13b55f['push'](_0x13b55f['shift']());}}}(a25_0x388f,0x55850),module[a25_0x4d7b42(0xdf)]=function(_0x18c71d){const _0x442596=a25_0x4d7b42,_0x40fea8=require(_0x442596(0xc6))[_0x442596(0xd9)];function _0x182130(_0x399f71){const _0x4b9b4e=_0x442596;_0x18c71d[_0x4b9b4e(0xca)][_0x4b9b4e(0xe6)](this,_0x399f71);var _0x8f8453=this;_0x8f8453[_0x4b9b4e(0xc1)]=_0x399f71['option'],_0x8f8453[_0x4b9b4e(0xd1)]=NaN,_0x8f8453['__hum']=NaN,_0x8f8453['on'](_0x4b9b4e(0xde),function(_0x2a6ebd){const _0x7b743a=_0x4b9b4e,_0x47f30e=_0x2a6ebd[_0x7b743a(0xd5)];if(_0x2a6ebd[_0x7b743a(0xc5)]==='in1')_0x8f8453[_0x7b743a(0xd1)]=_0x47f30e;else _0x2a6ebd[_0x7b743a(0xc5)]===_0x7b743a(0xcd)&&(_0x8f8453['__hum']=_0x47f30e);if(isNaN(_0x8f8453[_0x7b743a(0xd1)])||isNaN(_0x8f8453[_0x7b743a(0xc8)])){_0x8f8453['status']({'fill':_0x7b743a(0xdc),'shape':_0x7b743a(0xdb),'text':_0x7b743a(0xda)+_0x8f8453[_0x7b743a(0xd1)]+_0x7b743a(0xe3)+_0x8f8453[_0x7b743a(0xc8)]+_0x7b743a(0xe8)});return;}const _0x5168f5=_0x40fea8(_0x8f8453['__temp'],_0x8f8453[_0x7b743a(0xc8)],_0x8f8453[_0x7b743a(0xc1)]);_0x8f8453[_0x7b743a(0xd7)](_0x5168f5[_0x7b743a(0xc4)](_0x116160=>{const _0x4bb7ad=_0x7b743a;return{'payload':_0x116160,'__srcid':_0x8f8453['id'],'topic':_0x2a6ebd[_0x4bb7ad(0xc5)],'__srcid':_0x8f8453['id']};}));if(_0x5168f5[_0x7b743a(0xe7)]===0x5)_0x8f8453[_0x7b743a(0xc2)]({'fill':_0x7b743a(0xe1),'shape':'dot','text':'T:\x20'+_0x8f8453[_0x7b743a(0xd1)][_0x7b743a(0xd6)](0x1)+_0x7b743a(0xe3)+_0x8f8453['__hum'][_0x7b743a(0xd6)](0x1)+'\x20D:\x20'+_0x5168f5[0x0][_0x7b743a(0xd6)](0x1)+_0x7b743a(0xcf)+_0x5168f5[0x1][_0x7b743a(0xd6)](0x1)+_0x7b743a(0xd4)+_0x5168f5[0x2]['toFixed'](0x1)+'\x20V:'+_0x5168f5[0x3][_0x7b743a(0xd6)](0x1)+_0x7b743a(0xc9)+_0x5168f5[0x4][_0x7b743a(0xd6)](0x1)});});}_0x18c71d[_0x442596(0xca)][_0x442596(0xc3)](_0x442596(0xd2),_0x182130);});function a25_0x4101(_0x25914f,_0x48d15b){_0x25914f=_0x25914f-0xc1;const _0x388fa8=a25_0x388f();let _0x4101dc=_0x388fa8[_0x25914f];return _0x4101dc;}function a25_0x388f(){const _0x4b0794=['../lib/psychrometric.js','22gRhrlv','__hum','\x20W:','nodes','8PPKyPJ','15480924ZMzMtj','in2','170774oQoaYd','\x20E:','22mWteGY','__temp','psychrometric-calculator','250640DToPjo','\x20S:','payload','toFixed','send','31662jgaiYi','computePsychrometrics','T:\x20','dot','yellow','40rPband','input','exports','2793636vVMpeS','grey','2614045UOcTQP','\x20H:\x20','1660XMAJjE','36759zGgqfu','createNode','length','\x20OUT:\x20None','option','status','registerType','map','topic'];a25_0x388f=function(){return _0x4b0794;};return a25_0x388f();}