@opcua/for-node-red 3.11.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.js +1 -1
- package/package.json +1 -1
- package/source/OpcUa-Client2-Browse/OpcUa-Client2-Browse.html +1 -1
- package/source/OpcUa-Client2-Call/OpcUa-Client2-Call.html +1 -1
- package/source/OpcUa-Client2-Explore/OpcUa-Client2-Explore.html +1 -1
- package/source/OpcUa-Client2-ExtensionObject/OpcUa-Client2-ExtensionObject.html +1 -1
- package/source/OpcUa-Client2-FileOperation/OpcUa-Client2-FileOperation.html +1 -1
- package/source/OpcUa-Client2-HistoryRead/OpcUa-Client2-HistoryRead.html +1 -1
- package/source/OpcUa-Client2-Monitor/OpcUa-Client2-Monitor.html +1 -1
- package/source/OpcUa-Client2-MonitorEvent/OpcUa-Client2-MonitorEvent.html +1 -1
- package/source/OpcUa-Client2-Read/OpcUa-Client2-Read.html +1 -1
- package/source/OpcUa-Client2-Write/OpcUa-Client2-Write.html +1 -1
- package/source/OpcUa-Endpoint2/OpcUa-Endpoint2.html +1 -1
- package/examples/coffe-machine.json +0 -367
- package/examples/explore_coffee_machine.json +0 -115
- package/examples/extension-object.json +0 -0
@@ -4,7 +4,7 @@
|
|
4
4
|
</style>
|
5
5
|
|
6
6
|
<script type="text/javascript">
|
7
|
-
(function(_0x24014c,_0x5f5b0a){const _0xef9560=_0x7a9e,_0x1a9db5=_0x24014c();while(!![]){try{const _0x5ccdf5=parseInt(_0xef9560(0x227))/0x1*(parseInt(_0xef9560(0x291))/0x2)+-parseInt(_0xef9560(0x1fb))/0x3*(-parseInt(_0xef9560(0x1da))/0x4)+-parseInt(_0xef9560(0x1e7))/0x5*(-parseInt(_0xef9560(0x255))/0x6)+parseInt(_0xef9560(0x1bf))/0x7*(-parseInt(_0xef9560(0x1bb))/0x8)+-parseInt(_0xef9560(0x284))/0x9*(parseInt(_0xef9560(0x237))/0xa)+-parseInt(_0xef9560(0x26d))/0xb*(-parseInt(_0xef9560(0x299))/0xc)+-parseInt(_0xef9560(0x279))/0xd;if(_0x5ccdf5===_0x5f5b0a)break;else _0x1a9db5['push'](_0x1a9db5['shift']());}catch(_0x3f7ba6){_0x1a9db5['push'](_0x1a9db5['shift']());}}}(_0x3748,0x99021),(function(){'use strict';const _0x4eea82=_0x7a9e;function _0x5b3c45(_0x16a7da,_0x7250c9,_0x397b41,_0x3dc281){function _0x2631e2(_0xe66497){return _0xe66497 instanceof _0x397b41?_0xe66497:new _0x397b41(function(_0x4926ea){_0x4926ea(_0xe66497);});}return new(_0x397b41||(_0x397b41=Promise))(function(_0x3a936a,_0x536aef){const _0x4bf094=_0x7a9e;function _0x23cf78(_0x31475d){const _0x52f7f1=_0x7a9e;try{_0x20bbde(_0x3dc281[_0x52f7f1(0x292)](_0x31475d));}catch(_0x2dc5c6){_0x536aef(_0x2dc5c6);}}function _0x461006(_0x1e75db){const _0x1a55fd=_0x7a9e;try{_0x20bbde(_0x3dc281[_0x1a55fd(0x290)](_0x1e75db));}catch(_0x5dc18e){_0x536aef(_0x5dc18e);}}function _0x20bbde(_0x568fa3){const _0x47513b=_0x7a9e;_0x568fa3[_0x47513b(0x217)]?_0x3a936a(_0x568fa3[_0x47513b(0x1dc)]):_0x2631e2(_0x568fa3['value'])[_0x47513b(0x25b)](_0x23cf78,_0x461006);}_0x20bbde((_0x3dc281=_0x3dc281['apply'](_0x16a7da,_0x7250c9||[]))[_0x4bf094(0x292)]());});}typeof SuppressedError===_0x4eea82(0x22e)?SuppressedError:function(_0x1c0ec6,_0x58ce2d,_0x3abc96){const _0x7b113=_0x4eea82;var _0x1d08ab=new Error(_0x3abc96);return _0x1d08ab['name']=_0x7b113(0x1ec),_0x1d08ab[_0x7b113(0x1e8)]=_0x1c0ec6,_0x1d08ab['suppressed']=_0x58ce2d,_0x1d08ab;};function _0x2d2f7b(_0x376c4e,_0x44be40,_0x1eeeed,_0x102fa5){const _0x16d096=_0x4eea82,_0x241127=$('#'+_0x376c4e+'-success'),_0x2e3e06=$('#'+_0x376c4e+_0x16d096(0x268)),_0x4c619f=$('#'+_0x376c4e+_0x16d096(0x1cc)),_0x359c42=$('#'+_0x376c4e+'-messages');let _0x521b2f=![];_0x241127['hide'](),_0x2e3e06[_0x16d096(0x28b)](),_0x4c619f['hide'](),_0x44be40['on'](_0x16d096(0x278),()=>{const _0x450d85=_0x16d096;if(_0x521b2f)return;_0x521b2f=!![],_0x4c619f[_0x450d85(0x247)](_0x450d85(0x28b)),_0x4c619f['html'](_0x450d85(0x1ea)),_0x241127[_0x450d85(0x1fa)]('hide'),_0x2e3e06[_0x450d85(0x1fa)](_0x450d85(0x28b)),_0x359c42[_0x450d85(0x261)]('');const {body:_0x25bc5e,url:_0x27c3c4}=_0x1eeeed();fetch(_0x27c3c4,{'method':_0x450d85(0x236),'headers':{'Content-Type':_0x450d85(0x288)},'body':JSON[_0x450d85(0x221)](_0x25bc5e)})[_0x450d85(0x25b)](_0xbf641d=>_0xbf641d[_0x450d85(0x28e)]())[_0x450d85(0x25b)](_0x190b54=>{const _0x467606=_0x450d85;_0x521b2f=![],_0x4c619f[_0x467606(0x28b)](),console[_0x467606(0x20e)](JSON[_0x467606(0x221)](_0x190b54,null,'\x20'));if(_0x190b54['result']==='ok')_0x241127[_0x467606(0x247)]('hide'),_0x2e3e06[_0x467606(0x1fa)]('hide'),_0x359c42[_0x467606(0x261)](_0x190b54[_0x467606(0x286)]['replace']('\x0a',_0x467606(0x1f9)));else{const _0x43d693=_0x1b3c75=>!_0x1b3c75?'':_0x1b3c75[_0x467606(0x22f)]('\x0a')[_0x467606(0x2a0)](_0x2eafe5=>_0x467606(0x235)+_0x2eafe5+_0x467606(0x1ce))[_0x467606(0x28c)]('\x0a'),_0x59e428=_0x511223=>Array[_0x467606(0x1dd)](_0x511223)?_0x511223[_0x467606(0x2a0)](_0x43d693)[_0x467606(0x28c)]('\x0a'):_0x43d693(_0x511223);_0x241127[_0x467606(0x1fa)](_0x467606(0x28b)),_0x2e3e06[_0x467606(0x247)]('hide'),_0x359c42[_0x467606(0x261)](_0x59e428(_0x190b54[_0x467606(0x286)])+_0x59e428(_0x190b54[_0x467606(0x202)])),_0x102fa5(new Error(_0x190b54['result']),_0x190b54);}})[_0x450d85(0x223)](_0xad7421=>{const _0x9c57cb=_0x450d85;_0x521b2f=![],_0x4c619f[_0x9c57cb(0x1fa)](_0x9c57cb(0x28b)),_0x241127[_0x9c57cb(0x1fa)](_0x9c57cb(0x28b)),_0x2e3e06[_0x9c57cb(0x247)](_0x9c57cb(0x28b)),_0x359c42[_0x9c57cb(0x261)]('internal\x20error\x20'+_0xad7421[_0x9c57cb(0x286)]),console[_0x9c57cb(0x20e)](_0x9c57cb(0x26f),_0xad7421);});});}var _0x15f200;(function(_0x24105d){const _0x1f467f=_0x4eea82;_0x24105d[_0x24105d[_0x1f467f(0x1e2)]=0x0]='FREEWARE',_0x24105d[_0x24105d['TRIAL']=0x1]=_0x1f467f(0x276),_0x24105d[_0x24105d[_0x1f467f(0x287)]=0x2]=_0x1f467f(0x287);}(_0x15f200||(_0x15f200={})));var _0x5b4692;(function(_0x2aca02){const _0x22bece=_0x4eea82;_0x2aca02[_0x2aca02[_0x22bece(0x1d5)]=0x18]=_0x22bece(0x1d5),_0x2aca02[_0x2aca02['FAILED']=0x17]=_0x22bece(0x26e),_0x2aca02[_0x2aca02[_0x22bece(0x1b6)]=0x16]=_0x22bece(0x1b6);}(_0x5b4692||(_0x5b4692={})));function _0x1b6d1c(_0x521b8a,_0x40c983){const _0x42695b=_0x4eea82;if(_0x40c983!==_0x5b4692[_0x42695b(0x1d5)])return _0x15f200[_0x42695b(0x1e2)];return _0x521b8a;}const _0x1bb515=0xe10*0x3e8,_0x542d20=_0x1bb515*0x18;function _0x5d500c(_0x64013f){const _0x32ec8b=_0x4eea82;return!_0x64013f?new Date(0x0):_0x64013f instanceof Date?_0x64013f:new Date(_0x64013f[_0x32ec8b(0x269)]?_0x64013f[_0x32ec8b(0x269)][_0x32ec8b(0x1cd)]:0x0);}function _0x2b93f2(_0x1bc4dc){const _0x3e125d=_0x4eea82,_0x29af3b=_0x5d500c(_0x1bc4dc),_0x386aa9=new Date(),_0x14d4b2=Math[_0x3e125d(0x263)]((_0x29af3b['getTime']()-_0x386aa9[_0x3e125d(0x1d3)]())/_0x542d20);return _0x14d4b2;}function _0x4deb7a(_0x308d8f){const _0x275144=_0x4eea82,_0x2d575e=_0x5d500c(_0x308d8f),_0x51f8b8=new Date(),_0x4de261=Math[_0x275144(0x263)]((_0x2d575e[_0x275144(0x1d3)]()-_0x51f8b8[_0x275144(0x1d3)]())/_0x1bb515);return _0x4de261;}const _0x2d014a=_0x4eea82(0x1ff),_0x30b97c=_0x4eea82(0x257);function _0x27b535(){return _0x5b3c45(this,arguments,void 0x0,function*(_0x289a44=''){const _0x41c523=_0x7a9e,_0x44d116=_0x289a44+_0x41c523(0x1cb),_0x47e30e=_0x44d116+_0x41c523(0x218),_0x1098ec=yield fetch(_0x47e30e,{'method':'POST','headers':{'Content-Type':_0x41c523(0x288)}}),_0x43ce2e=new Date()['toISOString'](),_0x5b2d60={'status':_0x41c523(0x26e),'type':_0x41c523(0x1e2),'licenceInfo':{'licenceId':_0x41c523(0x289),'licenceType':_0x41c523(0x1b7),'expiryDate':_0x43ce2e,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x1098ec[_0x41c523(0x20c)]!==0xc8)return console[_0x41c523(0x20e)](_0x41c523(0x272),_0x1098ec[_0x41c523(0x20c)],_0x1098ec['statusText']),_0x5b2d60;const _0x29665a=yield _0x1098ec[_0x41c523(0x28e)]();return _0x29665a;});}const _0x2f7628=()=>{const _0x3cf82f=_0x4eea82;$[_0x3cf82f(0x25d)]('sterfive.licenceWidget',{'options':{'baseUrl':''},'_create'(){const _0x49cc3f=_0x3cf82f,_0x14c49b=this,_0x4d65a4='<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>',_0x501856='<a\x20href=\x22https://www.sterfive.com/opcua/for-node-red\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>';_0x27b535(_0x14c49b['baseUrl'])[_0x49cc3f(0x25b)](_0x49e43f=>{const _0xc0e974=_0x49cc3f;var _0x416d1a,_0x3ace27;let _0x354335='',_0x59d15e='',_0x2f4079='';const _0x4c375c=_0x15f200[_0x49e43f['type']],_0x41fcd3=_0x5b4692[_0x49e43f[_0xc0e974(0x20c)]],_0xed111a=_0x1b6d1c(_0x4c375c,_0x41fcd3),_0x3bedd6=_0x2b93f2(((_0x416d1a=_0x49e43f[_0xc0e974(0x269)])===null||_0x416d1a===void 0x0?void 0x0:_0x416d1a[_0xc0e974(0x1cd)])?new Date(_0x49e43f[_0xc0e974(0x269)][_0xc0e974(0x1cd)]):undefined),_0x2bb3ce=_0x4deb7a(((_0x3ace27=_0x49e43f[_0xc0e974(0x269)])===null||_0x3ace27===void 0x0?void 0x0:_0x3ace27[_0xc0e974(0x1cd)])?new Date(_0x49e43f[_0xc0e974(0x269)][_0xc0e974(0x1cd)]):undefined),_0x3b1f7a=_0x3bedd6==0x0?_0x2bb3ce>0xa?_0xc0e974(0x1ee):_0xc0e974(0x29a)+_0x2bb3ce+_0xc0e974(0x26c):_0x3bedd6==0x1?_0xc0e974(0x28a):_0xc0e974(0x29a)+_0x3bedd6+'\x20days';switch(_0x41fcd3){case _0x5b4692[_0xc0e974(0x1d5)]:_0x354335=_0xc0e974(0x24b);switch(_0xed111a){case _0x15f200[_0xc0e974(0x276)]:{_0x59d15e=_0xc0e974(0x1f7),_0x2f4079='The\x20Trial\x20will\x20expire\x20'+_0x3b1f7a+'.\x0aBuy\x20online\x20and\x20visit\x20'+_0x501856+_0xc0e974(0x23d);break;}case _0x15f200['PROFESSIONAL']:_0x59d15e=_0xc0e974(0x27f);_0x3bedd6<0x5a&&_0x3bedd6>=0x0&&(_0x59d15e+=_0xc0e974(0x205)+_0x3b1f7a+'.');_0x2f4079=_0x49e43f[_0xc0e974(0x269)]['licenceType']+_0xc0e974(0x1b5)+(_0x49e43f[_0xc0e974(0x269)][_0xc0e974(0x293)]||'');break;case _0x15f200[_0xc0e974(0x1e2)]:_0x59d15e=_0xc0e974(0x27b),_0x2f4079=_0xc0e974(0x1c8)+_0x501856+_0xc0e974(0x1ca);break;}break;case _0x5b4692[_0xc0e974(0x1b6)]:_0x354335=_0xc0e974(0x251);switch(_0x4c375c){case _0x15f200[_0xc0e974(0x276)]:_0x59d15e=_0xc0e974(0x25e),_0x2f4079=_0xc0e974(0x24a)+_0x501856+_0xc0e974(0x23d);break;case _0x15f200[_0xc0e974(0x1e2)]:_0x59d15e=_0xc0e974(0x1ef),_0x2f4079='Your\x20freeware\x20license\x20has\x20expired.\x0a'+_0x501856+_0xc0e974(0x1ca);break;case _0x15f200[_0xc0e974(0x287)]:default:_0x59d15e=_0xc0e974(0x214),_0x2f4079=_0xc0e974(0x234)+_0x4d65a4+_0xc0e974(0x209);}break;case _0x5b4692[_0xc0e974(0x26e)]:default:_0x354335=_0xc0e974(0x1d0),_0x59d15e=_0xc0e974(0x25f),_0x2f4079=_0xc0e974(0x242)+_0x4d65a4+_0xc0e974(0x21e);break;}this[_0xc0e974(0x267)]['addClass'](_0xc0e974(0x1db)),this[_0xc0e974(0x267)]['addClass'](_0xc0e974(0x230)+_0x41fcd3),this[_0xc0e974(0x267)][_0xc0e974(0x204)]($(_0xc0e974(0x254))[_0xc0e974(0x1fa)](_0xc0e974(0x273))[_0xc0e974(0x204)]($('<i>')['addClass'](_0x354335))),this[_0xc0e974(0x267)][_0xc0e974(0x204)]($('<span>')[_0xc0e974(0x1fa)]('licence-widget-msg')['text'](_0x59d15e)),this[_0xc0e974(0x267)][_0xc0e974(0x204)]($(_0xc0e974(0x1f9))),this[_0xc0e974(0x267)][_0xc0e974(0x204)]($(_0xc0e974(0x254))[_0xc0e974(0x1fa)](_0xc0e974(0x1bc))[_0xc0e974(0x204)](_0x2f4079));if(_0x41fcd3===_0x5b4692[_0xc0e974(0x1b6)]||_0x41fcd3===_0x5b4692['FAILED']||_0xed111a===_0x15f200[_0xc0e974(0x1e2)]||_0xed111a===_0x15f200['TRIAL']){this['element'][_0xc0e974(0x204)]($('<br>'));const _0x1978ad=$(_0xc0e974(0x1ed));_0x1978ad['attr']('id','subscribe-button'),_0x1978ad[_0xc0e974(0x258)](_0xc0e974(0x20d),'btn\x20btn-primary'),_0x1978ad[_0xc0e974(0x258)](_0xc0e974(0x25c),_0xc0e974(0x260)),_0x1978ad['text'](_0xc0e974(0x1d9)),this[_0xc0e974(0x267)][_0xc0e974(0x204)](_0x1978ad);const _0x5694dc=document['createElement']('script');_0x5694dc[_0xc0e974(0x1d7)]=_0xc0e974(0x1d6),_0x5694dc[_0xc0e974(0x1e0)]=!![],$('head')['append'](_0x5694dc);const _0x231cdf=$(_0xc0e974(0x229));_0x231cdf[_0xc0e974(0x258)](_0xc0e974(0x1f0),_0x2d014a),_0x231cdf[_0xc0e974(0x258)](_0xc0e974(0x1bd),_0x30b97c),_0x231cdf[_0xc0e974(0x258)]('style',_0xc0e974(0x249)),_0x231cdf[_0xc0e974(0x28b)](),this[_0xc0e974(0x267)]['append'](_0x231cdf),_0x1978ad['on'](_0xc0e974(0x278),()=>{const _0x34149c=_0xc0e974;_0x231cdf[_0x34149c(0x226)](),_0x1978ad[_0x34149c(0x28b)](),this[_0x34149c(0x267)]['attr'](_0x34149c(0x25c),_0x34149c(0x29f));});}})[_0x49cc3f(0x223)](_0x5088ab=>{console['log'](_0x5088ab);});}});},_0x95d7f5=()=>{const _0x18f5ed=_0x4eea82,_0x42041a=$(_0x18f5ed(0x215));if(_0x42041a[_0x18f5ed(0x216)]){const _0x157205=$('<iframe></iframe>',{'src':'/opcua-for-node-red/support-frame.html','scrolling':'no','style':'background-color:transparent;overflow:hidden;border:3px','allowtransparency':'true','width':_0x18f5ed(0x1b9),'height':_0x18f5ed(0x23a)});_0x42041a[_0x18f5ed(0x204)](_0x157205),_0x157205[_0x18f5ed(0x275)]({'position':_0x18f5ed(0x27a),'right':_0x18f5ed(0x1c6),'bottom':_0x18f5ed(0x1f5)});}};_0x2f7628();function _0x513428(_0x811919){const _0x40a295=_0x4eea82;let _0x43c9d2;try{_0x43c9d2=new URL(_0x811919);}catch(_0x3c88af){return![];}return _0x43c9d2[_0x40a295(0x1fd)]==='opc.tcp:';}const _0x8d74d={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0x4eea82(0x1b8)]['registerType'](_0x4eea82(0x26a),{'category':_0x4eea82(0x250),'paletteLabel':_0x4eea82(0x200),'defaults':{'name':{'value':''},'endpoint':{'value':_0x4eea82(0x283),'required':!![],'validate':_0x513428},'securityMode':{'value':_0x4eea82(0x27c)},'securityPolicy':{'value':_0x4eea82(0x27c),'validate':_0x320f2f=>{if(!_0x320f2f)return![];return!![];}},'userIdentityType':{'value':_0x4eea82(0x1df)},'pkiName':{'value':'','validate':_0x4a0dfc=>!_0x4a0dfc||_0x4a0dfc[_0x4eea82(0x24c)](/[0-9a-zA-Z]*/)?!![]:![]},'useTransport':{'value':![],'required':![]},'maxChunkCount':{'value':0x1,'required':![]},'maxMessageSize':{'value':0x2000,'required':![]},'receiveBufferSize':{'value':0x2000,'required':![]},'sendBufferSize':{'value':0x2000,'required':![]},'subscriptions':{'value':[{'id':'s1','name':_0x4eea82(0x1e9),'isDefault':!![],'parameters':Object[_0x4eea82(0x225)]({},_0x8d74d)},{'id':'s2','name':'Slow\x20Subscription','isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':_0x4eea82(0x1f6),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':_0x4eea82(0x282),'isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':'http://opcfoundation.org/DI/','isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0x4eea82(0x281)},'password':{'type':_0x4eea82(0x28f)},'userCertificate':{'type':_0x4eea82(0x281)},'userPrivatekey':{'type':_0x4eea82(0x28f)}},'label':function(){const _0x1802c5=_0x4eea82;return this[_0x1802c5(0x27d)]||this[_0x1802c5(0x233)]||'invalid\x20endpoint';},'oneditsave'(){const _0x22b2bb=_0x4eea82,_0x277ede=$(_0x22b2bb(0x248)),_0x4ab7ab=$('#node-config-input-securityMode');_0x277ede[_0x22b2bb(0x211)]()===_0x22b2bb(0x27c)&&_0x4ab7ab[_0x22b2bb(0x281)](_0x22b2bb(0x27c));{const _0x13c428=$('#subscriptions-container')[_0x22b2bb(0x23e)](_0x22b2bb(0x253)),_0x2a9718=[],_0x5bdd92=_0x19468e=>_0x19468e;_0x13c428[_0x22b2bb(0x206)](function(_0x522c8c,_0xaf1d63){const _0x55cbec=_0x22b2bb,_0xf80640=$(this),_0x10f738={'id':'s'+_0x522c8c,'name':_0xf80640[_0x55cbec(0x270)](_0x55cbec(0x297))[_0x55cbec(0x211)](),'isDefault':!!_0xf80640[_0x55cbec(0x270)]('.input-isDefault')[_0x55cbec(0x211)](),'parameters':{'publishingEnabled':!!_0xf80640['find']('.input-publishingEnabled')['is'](_0x55cbec(0x26b)),'requestedLifetimeCount':_0x5bdd92(_0xf80640[_0x55cbec(0x270)](_0x55cbec(0x28d))[_0x55cbec(0x211)]()),'requestedMaxKeepAliveCount':_0x5bdd92(_0xf80640['find'](_0x55cbec(0x29d))[_0x55cbec(0x211)]()),'requestedPublishingInterval':_0x5bdd92(_0xf80640['find']('.input-requestedPublishingInterval')[_0x55cbec(0x211)]()),'maxNotificationsPerPublish':_0x5bdd92(_0xf80640[_0x55cbec(0x270)](_0x55cbec(0x298))[_0x55cbec(0x211)]()),'priority':_0x5bdd92(_0xf80640[_0x55cbec(0x270)](_0x55cbec(0x295))[_0x55cbec(0x211)]())}};_0x10f738['parameters'][_0x55cbec(0x1d8)]=!![],_0x10f738[_0x55cbec(0x264)]&&_0x10f738['id']==='s0'&&(_0x10f738[_0x55cbec(0x27d)]='Default\x20Subscription'),_0x2a9718[_0x55cbec(0x1c2)](_0x10f738);}),this[_0x22b2bb(0x210)]=_0x2a9718;}{const _0x505202=$(_0x22b2bb(0x208))[_0x22b2bb(0x23e)](_0x22b2bb(0x253)),_0x1c045b=[];_0x505202['each'](function(_0x43e27a,_0x500c96){const _0xab88c3=_0x22b2bb,_0x6b6ab0=$(this),_0x3d2e82={'namespaceUri':_0x6b6ab0['find']('.node-input-alias-namespace-uri')[_0xab88c3(0x211)](),'alias':_0x6b6ab0[_0xab88c3(0x270)](_0xab88c3(0x213))[_0xab88c3(0x211)]()};_0x1c045b[_0xab88c3(0x1c2)](_0x3d2e82);}),this['namespaceAliases']=_0x1c045b;}},'oneditprepare'(){const _0x29839c=_0x4eea82,_0x3b2f0c=this;_0x95d7f5();const _0x63c68d=RED[_0x29839c(0x29c)][_0x29839c(0x271)]({'id':_0x29839c(0x1e6),'onchange':function(_0x38a7bc){const _0x3cde74=_0x29839c;$(_0x3cde74(0x1e5))[_0x3cde74(0x1f1)]()[_0x3cde74(0x28b)](),$('#'+_0x38a7bc['id'])['show']();}});_0x63c68d['addTab']({'id':_0x29839c(0x1c0),'label':'Connection'},0x0),_0x63c68d[_0x29839c(0x1e3)]({'id':_0x29839c(0x24d),'label':_0x29839c(0x252)},0x1),_0x63c68d[_0x29839c(0x1e3)]({'id':_0x29839c(0x21d),'label':_0x29839c(0x1f8)},0x2),setTimeout(function(){const _0x4d3272=_0x29839c;_0x63c68d[_0x4d3272(0x1c1)]();},0x0);{const _0x350383=_0x562d02=>{const _0x37b6c6=_0x29839c;switch(_0x562d02){case null:case undefined:case'':case _0x37b6c6(0x27c):$(_0x37b6c6(0x262))[_0x37b6c6(0x28b)]();break;case'Sign':case _0x37b6c6(0x1de):{const _0x1349f1=$(_0x37b6c6(0x262));(_0x1349f1[_0x37b6c6(0x211)]()===_0x37b6c6(0x27c)||_0x1349f1[_0x37b6c6(0x211)]()==='')&&_0x1349f1[_0x37b6c6(0x211)](_0x37b6c6(0x294)),$('.section-securityPolicy')[_0x37b6c6(0x226)]();}break;default:console['log'](_0x37b6c6(0x24f)+_0x562d02);}};_0x350383(_0x3b2f0c[_0x29839c(0x1d2)]);const _0x148666=$(_0x29839c(0x266));_0x148666['on'](_0x29839c(0x244),()=>{const _0x1b5f7a=_0x29839c,_0x2f5c76=_0x148666[_0x1b5f7a(0x211)]();_0x350383(_0x2f5c76);});}const _0x577895=$('#licenceWidget');_0x577895['licenceWidget']({'baseUrl':''});{const _0x287f8c=$(_0x29839c(0x240)),_0x5e1330=$(_0x29839c(0x22d)),_0x486c82=_0x1a9df6=>{const _0x3b288a=_0x29839c;_0x1a9df6=_0x1a9df6||_0x3b288a(0x1df);switch(_0x1a9df6){case _0x3b288a(0x1df):$(_0x3b288a(0x1c4))[_0x3b288a(0x211)](''),$(_0x3b288a(0x23b))[_0x3b288a(0x211)](''),_0x287f8c[_0x3b288a(0x28b)](),_0x5e1330[_0x3b288a(0x28b)]();break;case _0x3b288a(0x22a):_0x287f8c['show'](),_0x5e1330[_0x3b288a(0x28b)]();break;case'Certificate':$(_0x3b288a(0x1c4))[_0x3b288a(0x211)](''),$('#node-config-input-password')[_0x3b288a(0x211)](''),_0x5e1330[_0x3b288a(0x226)](),_0x287f8c[_0x3b288a(0x28b)]();break;default:console['log'](_0x3b288a(0x24e)+_0x1a9df6);}};_0x486c82(_0x3b2f0c[_0x29839c(0x1be)]);const _0xde9a36=$(_0x29839c(0x1c3));_0xde9a36['on']('change',()=>{const _0x38a76f=_0x29839c,_0x1935cd=_0xde9a36[_0x38a76f(0x211)]();_0x486c82(_0x1935cd);});}{$(_0x29839c(0x25a))[_0x29839c(0x28b)](),$('#toggleAdvancedSection')[_0x29839c(0x239)]('checked',![]),$(_0x29839c(0x222))['on'](_0x29839c(0x244),function(){const _0x319441=_0x29839c;$(this)[_0x319441(0x239)]('checked')?$(_0x319441(0x25a))[_0x319441(0x226)]():$(_0x319441(0x25a))[_0x319441(0x28b)]();});}const _0x121638=$(_0x29839c(0x29e))[_0x29839c(0x239)]('checked');_0x121638?$('#section-TransportSettings')['show']():$(_0x29839c(0x231))[_0x29839c(0x28b)]();$(_0x29839c(0x29e))['on'](_0x29839c(0x244),function(){const _0x3d2d47=_0x29839c;$(this)[_0x3d2d47(0x239)]('checked')?$('#section-TransportSettings')[_0x3d2d47(0x226)]():$('#section-TransportSettings')[_0x3d2d47(0x28b)]();});{$(_0x29839c(0x259))['on']('click',()=>_0x5b3c45(this,void 0x0,void 0x0,function*(){const _0x2bf4b1=_0x29839c,_0x4b27b6=yield fetch('/opcua-for-node-red/client_certificate.json'),_0x4b51c7=yield _0x4b27b6['json'](),_0x563a2a=JSON[_0x2bf4b1(0x221)](_0x4b51c7,null,'\x20');alert(_0x563a2a);}));}$(_0x29839c(0x1c7))['on']('click',()=>_0x5b3c45(this,void 0x0,void 0x0,function*(){const _0x3acbe4=_0x29839c;window['open'](_0x3acbe4(0x20b),'_blank');}));function _0x2b6d1b(){const _0x783910=_0x29839c;var _0x23cd5e;return{'id':_0x3b2f0c['id'],'endpoint':$('#node-config-input-endpoint')[_0x783910(0x211)](),'name':$(_0x783910(0x201))[_0x783910(0x211)](),'pkiName':(_0x23cd5e=$('#node-config-input-pkiName'))===null||_0x23cd5e===void 0x0?void 0x0:_0x23cd5e[_0x783910(0x211)](),'securityMode':$(_0x783910(0x266))[_0x783910(0x211)](),'securityPolicy':$('#node-config-input-securityPolicy')['val'](),'userIdentityType':$('#node-config-input-userIdentityType')['val'](),'userName':$('#node-config-input-userName')[_0x783910(0x211)](),'password':$(_0x783910(0x23b))[_0x783910(0x211)](),'userCertificate':$(_0x783910(0x29b))['val'](),'userPrivatekey':$(_0x783910(0x22c))['val'](),'certificate':$(_0x783910(0x232))[_0x783910(0x211)](),'useTransport':$(_0x783910(0x212))[_0x783910(0x239)]('checked'),'maxChunkCount':$(_0x783910(0x1fc))[_0x783910(0x211)](),'maxMessageSize':$(_0x783910(0x207))['val'](),'receiveBufferSize':$('#node-input-receiveBufferSize')[_0x783910(0x211)](),'sendBufferSize':$(_0x783910(0x21c))[_0x783910(0x211)]()};}{_0x2d2f7b(_0x29839c(0x203),$('#test-connection'),()=>({'url':_0x29839c(0x1eb),'body':{'endpointNode':_0x2b6d1b()}}),()=>{});}{const _0x3ec0fb=(_0x4bce62,_0x1d5278)=>{const _0x5df3d5=_0x29839c;var _0x1f96bf=_0x4bce62[_0x5df3d5(0x22b)]()||0x64;_0x4bce62[_0x5df3d5(0x270)](_0x5df3d5(0x245))[_0x5df3d5(0x23c)](_0x5df3d5(0x22b),_0x1f96bf-0xf);},_0x2df3de=$(_0x29839c(0x285))[_0x29839c(0x275)]({'min-height':_0x29839c(0x280),'min-width':_0x29839c(0x1c5)})[_0x29839c(0x23e)]({'addItem':(_0x2aceb8,_0x57c101,_0x49efa6)=>{const _0x4d6768=_0x29839c,_0x2d4b3a=_0x49efa6,_0x278249=$('#subscription-template')[_0x4d6768(0x1f2)]()[_0x4d6768(0x20f)](_0x2aceb8);_0x278249[_0x4d6768(0x220)]('id')[_0x4d6768(0x247)]('hide')[_0x4d6768(0x247)](_0x4d6768(0x21f))[_0x4d6768(0x258)](_0x4d6768(0x27e),_0x57c101),_0x278249[_0x4d6768(0x270)](_0x4d6768(0x297))[_0x4d6768(0x211)](_0x2d4b3a[_0x4d6768(0x27d)]),_0x278249[_0x4d6768(0x270)](_0x4d6768(0x243))['val'](_0x2d4b3a['parameters'][_0x4d6768(0x228)]),_0x278249[_0x4d6768(0x270)]('.input-requestedMaxKeepAliveCount')['val'](_0x2d4b3a[_0x4d6768(0x1c9)][_0x4d6768(0x241)]),_0x278249['find'](_0x4d6768(0x28d))[_0x4d6768(0x211)](_0x2d4b3a[_0x4d6768(0x1c9)][_0x4d6768(0x21b)]),_0x278249['find']('.input-maxNotificationsPerPublish')[_0x4d6768(0x211)](_0x2d4b3a[_0x4d6768(0x1c9)][_0x4d6768(0x21a)]||0x0),_0x278249['find'](_0x4d6768(0x295))['val'](_0x2d4b3a[_0x4d6768(0x1c9)][_0x4d6768(0x1f3)]||0x0),_0x278249[_0x4d6768(0x270)](_0x4d6768(0x1e4))[_0x4d6768(0x281)](''+_0x57c101),_0x2d4b3a['isDefault']&&_0x278249[_0x4d6768(0x270)](_0x4d6768(0x297))[_0x4d6768(0x239)](_0x4d6768(0x296),!![]),_0x278249[_0x4d6768(0x270)](_0x4d6768(0x256))[_0x4d6768(0x239)](_0x4d6768(0x23f),_0x2d4b3a[_0x4d6768(0x264)]),_0x2d4b3a[_0x4d6768(0x264)]&&(_0x2aceb8[_0x4d6768(0x270)](_0x4d6768(0x246))[_0x4d6768(0x1fa)](_0x4d6768(0x28b)),setTimeout(()=>_0x278249[_0x4d6768(0x270)](_0x4d6768(0x256))[_0x4d6768(0x239)](_0x4d6768(0x1ba),!![]),0xa));},'removable':!![],'resizeItem':_0x3ec0fb}),_0x4d2038=()=>{const _0x3e3ad9=_0x29839c,_0x35e8b8=_0x3b2f0c['subscriptions']||[];_0x35e8b8['length']===0x0&&_0x35e8b8[_0x3e3ad9(0x1c2)]({'id':'s1','name':_0x3e3ad9(0x1e9),'isDefault':!![],'parameters':Object[_0x3e3ad9(0x225)]({},_0x8d74d)});_0x2df3de[_0x3e3ad9(0x23e)](_0x3e3ad9(0x265));for(const _0x49566d of _0x35e8b8){_0x2df3de[_0x3e3ad9(0x23e)](_0x3e3ad9(0x20a),_0x49566d);}};_0x4d2038();}{function _0x4cfc65(_0x451bf5,_0x44802e,_0x45271a){const _0x22eeab=_0x29839c,_0x3cf68d=_0x45271a,_0x52ed16=$(_0x22eeab(0x274))[_0x22eeab(0x20f)](_0x451bf5);$(_0x22eeab(0x1d4),{'class':_0x22eeab(0x224),'type':_0x22eeab(0x281)})[_0x22eeab(0x211)](_0x45271a[_0x22eeab(0x1d1)]||'')[_0x22eeab(0x275)]({'width':'5%'})['appendTo'](_0x52ed16)[_0x22eeab(0x211)](_0x44802e[_0x22eeab(0x1e1)]()),$('<input/>',{'class':'node-input-alias-alias','type':'text'})[_0x22eeab(0x211)](_0x45271a['alias']||'')[_0x22eeab(0x275)]({'width':'25%'})['appendTo'](_0x52ed16)['val'](_0x3cf68d[_0x22eeab(0x1d1)]),$('<input/>',{'class':_0x22eeab(0x238),'type':'text'})[_0x22eeab(0x211)](_0x45271a['namespaceUri']||'')[_0x22eeab(0x275)]({'width':_0x22eeab(0x1cf)})[_0x22eeab(0x20f)](_0x52ed16)[_0x22eeab(0x211)](_0x3cf68d[_0x22eeab(0x1fe)]);}const _0x775408=$(_0x29839c(0x208))[_0x29839c(0x275)]({'min-height':_0x29839c(0x280),'min-width':'260px'})[_0x29839c(0x23e)]({'addButton':![],'removable':![],'height':_0x29839c(0x219),'scrollOnAdd':![],'addItem'(_0x3dd730,_0x46d4b4,_0x27294f){_0x4cfc65(_0x3dd730,_0x46d4b4,_0x27294f);}});function _0x4c6867(){const _0x331d4a=_0x29839c;_0x775408['editableList'](_0x331d4a(0x253)),_0x775408['editableList'](_0x331d4a(0x265));for(const _0x4ac580 of _0x3b2f0c[_0x331d4a(0x1f4)]||[]){_0x775408[_0x331d4a(0x23e)](_0x331d4a(0x20a),_0x4ac580);}}{$(_0x29839c(0x277))['on'](_0x29839c(0x278),()=>_0x5b3c45(this,void 0x0,void 0x0,function*(){const _0x1b74d6=_0x29839c,_0x4b1cbb={'endpointNode':_0x2b6d1b(),'namespaceAliases':_0x3b2f0c[_0x1b74d6(0x1f4)]||[]},_0x221216=yield fetch('/opcua-for-node-red/extract-namespace-aliases',{'method':'POST','headers':{'Content-Type':_0x1b74d6(0x288)},'body':JSON[_0x1b74d6(0x221)](_0x4b1cbb)}),_0x994431=yield _0x221216[_0x1b74d6(0x28e)](),_0x2c927d=_0x994431['namespaceAliases'];console['log'](_0x1b74d6(0x1f4),_0x2c927d),Array['isArray'](_0x2c927d)&&(_0x3b2f0c[_0x1b74d6(0x1f4)]=_0x2c927d,_0x4c6867());})),_0x3b2f0c[_0x29839c(0x1f4)]=_0x3b2f0c[_0x29839c(0x1f4)]||[{'alias':'ua','namespaceUri':'http://opcfoundation.org/UA/','isWellKnown':!![],'isDefault':!![]}];}_0x4c6867();}}});}()));function _0x7a9e(_0x52b167,_0x46b6a8){const _0x37487e=_0x3748();return _0x7a9e=function(_0x7a9e0c,_0x276dd7){_0x7a9e0c=_0x7a9e0c-0x1b5;let _0x246765=_0x37487e[_0x7a9e0c];return _0x246765;},_0x7a9e(_0x52b167,_0x46b6a8);}function _0x3748(){const _0x42cd38=['260px','20px','#goto-config','This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a','parameters','\x20for\x20more\x20information.','/opcua-for-node-red','-pending','expiryDate','</p>','70%','fa\x20fa-exclamation-circle','alias','securityMode','getTime','<input/>','AUTHORIZED','https://js.stripe.com/v3/pricing-table.js','src','publishingEnabled','Subscribe','851968KeRdDR','licence-widget','value','isArray','SignAndEncrypt','Anonymous','async','toString','FREEWARE','addTab','.subscription-id','#node-config-endpoint-tabs-content','node-config-endpoint-tabs','5xnEDlM','error','Default\x20Subscription','Testing\x20Connection\x20...','/opcua-for-node-red/test-connection','SuppressedError','<button/>','today','Freeware\x20licence\x20expired','pricing-table-id','children','clone','priority','namespaceAliases','16px','Fast\x20Subscription','Trial\x20licence','Namespace\x20Aliases','<br>','addClass','12mkQGgq','#node-input-maxChunkCount','protocol','namespaceUri','prctbl_1OJt49BCNccbzsVzkaANOgFL','opcua\x20endpoint','#node-config-input-name','extra','connection','append','\x0aIt\x20will\x20expire\x20','each','#node-input-maxMessageSize','#editable-list-aliases-container','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','addItem','/opcua-for-node-red/config','status','class','log','appendTo','subscriptions','val','#node-input-useTransport','.node-input-alias-alias','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated','.red-ui-tray-body','length','done','/licenceInfo','auto','maxNotificationsPerPublish','requestedLifetimeCount','#node-input-sendBufferSize','endpoint-tab-namespace-aliases','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀','template','removeAttr','stringify','#toggleAdvancedSection','catch','node-input-alias-index','assign','show','1yIUqFx','requestedPublishingInterval','<stripe-pricing-table/>','UserName','width','#node-config-input-userPrivatekey','.section-userIdentityType-Certificate','function','split','licence-widget-','#section-TransportSettings','#node-input-certificate','endpoint','Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20','<p>','POST','8835870VOGqFt','node-input-alias-namespace-uri','prop','30px','#node-config-input-password','typedInput','\x20to\x20acquire\x20a\x20license.','editableList','checked','.section-userIdentityType-UserName','requestedMaxKeepAliveCount','Please\x20contact\x20','.input-requestedPublishingInterval','change','label','.red-ui-editableList-item-remove','removeClass','#node-config-input-securityPolicy','height:\x20100%;max-height:\x20100%;','Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20','fa\x20fa-check-circle','match','endpoint-tab-subscriptions','invalid\x20userIdentityType\x20','invalid\x20securityMode\x20','config','fa\x20fa-calendar-time','Subscriptions','items','<span>','3275994XLBNgc','.input-isDefault','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','attr','#checkCertificate','#section-Advanced','then','style','widget','Freeware\x20:\x20(Trial\x20licence\x20expired)','Your\x20license\x20is\x20currently\x20invalid.','margin-top:\x2020px;','html','.section-securityPolicy','floor','isDefault','empty','#node-config-input-securityMode','element','-failure','licenceInfo','OpcUa-Endpoint2',':checked','\x20hours','1720807NNUTnm','FAILED','err','find','create','fetching\x20failed\x20with\x20error','licence-widget-icon','<div\x20class=\x22alias-entry\x22>','css','TRIAL','#extract-aliases','click','3959254tCDGZA','absolute','Freeware\x20licence','None','name','data-i','Your\x20licence\x20is\x20valid.','150px','text','http://opcfoundation.org/UA/','opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','9lbFyiE','#subscriptions-container','message','PROFESSIONAL','application/json','00000000-0000-0000-0000-000000000000','tomorrow','hide','join','.input-requestedLifetimeCount','json','password','throw','737114cPBOsr','next','onPremiseServerHost','Basic256Sha256','.input-priority','readonly','.input-name','.input-maxNotificationsPerPublish','36CeeYev','in\x20','#node-config-input-userCertificate','tabs','.input-requestedMaxKeepAliveCount','#node-config-input-useTransport','height:\x20100%\x20!important;','map','\x20-\x20','EXPIRED','<unknown>','nodes','180px','disabled','552LfLAwb','licence-widget-details','publishable-key','userIdentityType','42707RAVZCS','endpoint-tab-connection','resize','push','#node-config-input-userIdentityType','#node-config-input-userName'];_0x3748=function(){return _0x42cd38;};return _0x3748();}
|
7
|
+
function _0xc1de(){const _0x21a873=['.input-requestedMaxKeepAliveCount','toISOString','password','<i>','function','FAILED','endpoint','-pending','class','readonly','<p>','.input-publishingEnabled','licenceWidget','<stripe-pricing-table/>','config','next','.input-isDefault','#node-config-input-userPrivatekey','\x20for\x20more\x20information.','AUTHORIZED','text','append','526xFPxco','in\x20','prctbl_1OJt49BCNccbzsVzkaANOgFL','endpoint-tab-namespace-aliases','.section-securityPolicy','protocol','.input-requestedLifetimeCount','<a\x20href=\x22https://www.sterfive.com/opcua/for-node-red\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>','prop','sterfive.licenceWidget','This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a','background-color:transparent;overflow:hidden;border:3px','widget','.node-input-alias-namespace-uri','namespaceAliases','items','-messages','css','Basic256Sha256','Testing\x20Connection\x20...','split','<div\x20class=\x22alias-entry\x22>','#licenceWidget','val','#node-config-input-userIdentityType','1002185xHgMrc','addClass','floor','#node-config-input-useTransport','licence-widget-details','\x20hours','6214159qkcfZh','#node-input-certificate','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀','apply','type',':checked','registerType','name','#node-config-input-endpoint','publishingEnabled','match','#section-TransportSettings','catch','.red-ui-editableList-item-remove','#node-input-sendBufferSize','alias','join','node-input-alias-namespace-uri','25%','Default\x20Subscription','#node-config-input-userCertificate','#toggleAdvancedSection','Freeware\x20licence\x20expired','Subscribe','</p>','20px','length','<span>','licenceInfo','btn\x20btn-primary','\x0aIt\x20will\x20expire\x20','namespaceUri','TRIAL','isDefault','attr','opcua\x20endpoint','result','json','extra','<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>','tabs','#section-Advanced','#node-config-input-userName','#goto-config','<br>','message','None','replace','resize','true','2485536muCjFb','checked','auto','70%','#node-config-endpoint-tabs-content','18RbOTcM','http://opcfoundation.org/DI/','html','invalid\x20userIdentityType\x20','/opcua-for-node-red/config','Namespace\x20Aliases','suppressed','baseUrl','removeClass','4tFJtwr','260px','empty','#node-input-useTransport','licence-widget-icon','nodes','#node-config-input-name','publishable-key','securityMode','.\x0aBuy\x20online\x20and\x20visit\x20','removeAttr','log','Fast\x20Subscription','pricing-table-id','hide','addItem','connection','#subscriptions-container','Anonymous','maxNotificationsPerPublish','internal\x20error\x20','-failure','<iframe></iframe>','PROFESSIONAL','.input-priority','userIdentityType','each','Certificate','change','isArray','2264056LHrBXh','stringify','value','map','priority','http://opcfoundation.org/UA/','<input/>','#node-input-receiveBufferSize','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated','parameters','head','done','licence-widget-','150px','expiryDate','3954YFfwEI','30px','740694tdFFEv','00000000-0000-0000-0000-000000000000','SuppressedError','subscribe-button','\x20-\x20','/opcua-for-node-red','Freeware\x20:\x20(Trial\x20licence\x20expired)','/opcua-for-node-red/support-frame.html','element','status','.subscription-id','getTime','https://js.stripe.com/v3/pricing-table.js','node-input-alias-alias','subscriptions','.input-maxNotificationsPerPublish','.section-userIdentityType-Certificate','tomorrow','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','.section-userIdentityType-UserName','typedInput','#node-config-input-securityPolicy','height:\x20100%;max-height:\x20100%;','#subscription-template','/opcua-for-node-red/test-connection','.input-name','then','assign','show','#checkCertificate','fetching\x20failed\x20with\x20error','#node-config-input-password','/opcua-for-node-red/client_certificate.json','src','\x20to\x20acquire\x20a\x20license.','_blank','today','requestedMaxKeepAliveCount','Subscriptions','#node-input-maxChunkCount','invalid\x20securityMode\x20','OpcUa-Endpoint2','editableList','toString','template','.red-ui-tray-body','4463570otWnlR','POST','find','createElement','/opcua-for-node-red/extract-namespace-aliases','.node-input-alias-alias','fa\x20fa-check-circle','FREEWARE','style','appendTo','Trial\x20licence','.input-requestedPublishingInterval','Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20','EXPIRED','endpoint-tab-subscriptions','Connection','throw','onPremiseServerHost','#node-config-input-securityMode','#editable-list-aliases-container','Your\x20freeware\x20license\x20has\x20expired.\x0a','application/json','click','Slow\x20Subscription','#extract-aliases','absolute'];_0xc1de=function(){return _0x21a873;};return _0xc1de();}function _0x5889(_0x56fbcf,_0x25e2bf){const _0xc1de5e=_0xc1de();return _0x5889=function(_0x58898b,_0x1fb353){_0x58898b=_0x58898b-0x19f;let _0x1835aa=_0xc1de5e[_0x58898b];return _0x1835aa;},_0x5889(_0x56fbcf,_0x25e2bf);}(function(_0x32505b,_0x43edcc){const _0x179b30=_0x5889,_0x3a801d=_0x32505b();while(!![]){try{const _0x8b8539=-parseInt(_0x179b30(0x1e9))/0x1+-parseInt(_0x179b30(0x248))/0x2*(-parseInt(_0x179b30(0x1e7))/0x3)+parseInt(_0x179b30(0x1ba))/0x4*(parseInt(_0x179b30(0x261))/0x5)+parseInt(_0x179b30(0x1ac))/0x6+-parseInt(_0x179b30(0x267))/0x7+parseInt(_0x179b30(0x1d8))/0x8+parseInt(_0x179b30(0x1b1))/0x9*(parseInt(_0x179b30(0x218))/0xa);if(_0x8b8539===_0x43edcc)break;else _0x3a801d['push'](_0x3a801d['shift']());}catch(_0xd58191){_0x3a801d['push'](_0x3a801d['shift']());}}}(_0xc1de,0x7c2c9),(function(){'use strict';const _0x155138=_0x5889;function _0x437918(_0x463c21,_0x53ceb8,_0x438090,_0x2085e8){function _0x3c4133(_0x87867a){return _0x87867a instanceof _0x438090?_0x87867a:new _0x438090(function(_0x19ef78){_0x19ef78(_0x87867a);});}return new(_0x438090||(_0x438090=Promise))(function(_0x5786a1,_0x1aef24){const _0x3d3ee7=_0x5889;function _0x391c0c(_0x295a39){const _0x1fedfc=_0x5889;try{_0x3fb9c1(_0x2085e8[_0x1fedfc(0x241)](_0x295a39));}catch(_0x2b1638){_0x1aef24(_0x2b1638);}}function _0x3f26d6(_0x4b306f){const _0x13f755=_0x5889;try{_0x3fb9c1(_0x2085e8[_0x13f755(0x228)](_0x4b306f));}catch(_0x3d41f1){_0x1aef24(_0x3d41f1);}}function _0x3fb9c1(_0x58025d){const _0x4337f9=_0x5889;_0x58025d[_0x4337f9(0x1e3)]?_0x5786a1(_0x58025d['value']):_0x3c4133(_0x58025d[_0x4337f9(0x1da)])[_0x4337f9(0x204)](_0x391c0c,_0x3f26d6);}_0x3fb9c1((_0x2085e8=_0x2085e8[_0x3d3ee7(0x26a)](_0x463c21,_0x53ceb8||[]))[_0x3d3ee7(0x241)]());});}typeof SuppressedError===_0x155138(0x236)?SuppressedError:function(_0x34f43d,_0x3bb0f8,_0x4e6a81){const _0x37bd36=_0x155138;var _0xba265d=new Error(_0x4e6a81);return _0xba265d[_0x37bd36(0x26e)]=_0x37bd36(0x1eb),_0xba265d['error']=_0x34f43d,_0xba265d[_0x37bd36(0x1b7)]=_0x3bb0f8,_0xba265d;};function _0x760a8a(_0x11f978,_0x5a1fd2,_0x4749f8,_0x5ef591){const _0x39ec66=_0x155138,_0x577a02=$('#'+_0x11f978+'-success'),_0x1f9914=$('#'+_0x11f978+_0x39ec66(0x1cf)),_0x291e34=$('#'+_0x11f978+_0x39ec66(0x239)),_0x4283f0=$('#'+_0x11f978+_0x39ec66(0x258));let _0x109b8a=![];_0x577a02['hide'](),_0x1f9914[_0x39ec66(0x1c8)](),_0x291e34['hide'](),_0x5a1fd2['on'](_0x39ec66(0x22e),()=>{const _0x8cf243=_0x39ec66;if(_0x109b8a)return;_0x109b8a=!![],_0x291e34['removeClass'](_0x8cf243(0x1c8)),_0x291e34[_0x8cf243(0x1b3)](_0x8cf243(0x25b)),_0x577a02[_0x8cf243(0x262)](_0x8cf243(0x1c8)),_0x1f9914['addClass'](_0x8cf243(0x1c8)),_0x4283f0[_0x8cf243(0x1b3)]('');const {body:_0x2ecbab,url:_0x4d0783}=_0x4749f8();fetch(_0x4d0783,{'method':'POST','headers':{'Content-Type':_0x8cf243(0x22d)},'body':JSON[_0x8cf243(0x1d9)](_0x2ecbab)})['then'](_0x519e0a=>_0x519e0a[_0x8cf243(0x19f)]())[_0x8cf243(0x204)](_0xb87244=>{const _0x4936f4=_0x8cf243;_0x109b8a=![],_0x291e34[_0x4936f4(0x1c8)](),console[_0x4936f4(0x1c5)](JSON[_0x4936f4(0x1d9)](_0xb87244,null,'\x20'));if(_0xb87244[_0x4936f4(0x28b)]==='ok')_0x577a02['removeClass'](_0x4936f4(0x1c8)),_0x1f9914[_0x4936f4(0x262)]('hide'),_0x4283f0[_0x4936f4(0x1b3)](_0xb87244['message'][_0x4936f4(0x1a9)]('\x0a',_0x4936f4(0x1a6)));else{const _0x158dd6=_0x2a117d=>!_0x2a117d?'':_0x2a117d[_0x4936f4(0x25c)]('\x0a')[_0x4936f4(0x1db)](_0x5b5cad=>_0x4936f4(0x23c)+_0x5b5cad+_0x4936f4(0x27f))['join']('\x0a'),_0x205874=_0x2fcc77=>Array[_0x4936f4(0x1d7)](_0x2fcc77)?_0x2fcc77[_0x4936f4(0x1db)](_0x158dd6)[_0x4936f4(0x277)]('\x0a'):_0x158dd6(_0x2fcc77);_0x577a02['addClass'](_0x4936f4(0x1c8)),_0x1f9914[_0x4936f4(0x1b9)](_0x4936f4(0x1c8)),_0x4283f0[_0x4936f4(0x1b3)](_0x205874(_0xb87244[_0x4936f4(0x1a7)])+_0x205874(_0xb87244[_0x4936f4(0x1a0)])),_0x5ef591(new Error(_0xb87244[_0x4936f4(0x28b)]),_0xb87244);}})[_0x8cf243(0x273)](_0x60ee71=>{const _0x2e999f=_0x8cf243;_0x109b8a=![],_0x291e34['addClass']('hide'),_0x577a02[_0x2e999f(0x262)](_0x2e999f(0x1c8)),_0x1f9914[_0x2e999f(0x1b9)](_0x2e999f(0x1c8)),_0x4283f0[_0x2e999f(0x1b3)](_0x2e999f(0x1ce)+_0x60ee71[_0x2e999f(0x1a7)]),console[_0x2e999f(0x1c5)]('err',_0x60ee71);});});}var _0x1a3363;(function(_0x18384e){const _0x40ff11=_0x155138;_0x18384e[_0x18384e[_0x40ff11(0x21f)]=0x0]=_0x40ff11(0x21f),_0x18384e[_0x18384e[_0x40ff11(0x287)]=0x1]=_0x40ff11(0x287),_0x18384e[_0x18384e[_0x40ff11(0x1d1)]=0x2]=_0x40ff11(0x1d1);}(_0x1a3363||(_0x1a3363={})));var _0x419291;(function(_0x38b4b5){const _0x22e286=_0x155138;_0x38b4b5[_0x38b4b5[_0x22e286(0x245)]=0x18]=_0x22e286(0x245),_0x38b4b5[_0x38b4b5[_0x22e286(0x237)]=0x17]=_0x22e286(0x237),_0x38b4b5[_0x38b4b5[_0x22e286(0x225)]=0x16]=_0x22e286(0x225);}(_0x419291||(_0x419291={})));function _0x1fa39d(_0x50382b,_0x288b2d){const _0x5ba610=_0x155138;if(_0x288b2d!==_0x419291[_0x5ba610(0x245)])return _0x1a3363[_0x5ba610(0x21f)];return _0x50382b;}const _0x62b844=0xe10*0x3e8,_0xc75fbe=_0x62b844*0x18;function _0x501627(_0x24cc4c){const _0x5cbefe=_0x155138;return!_0x24cc4c?new Date(0x0):_0x24cc4c instanceof Date?_0x24cc4c:new Date(_0x24cc4c[_0x5cbefe(0x283)]?_0x24cc4c[_0x5cbefe(0x283)][_0x5cbefe(0x1e6)]:0x0);}function _0x20d936(_0x40a463){const _0xdb2d6e=_0x155138,_0x397e45=_0x501627(_0x40a463),_0x494585=new Date(),_0x56b7d2=Math[_0xdb2d6e(0x263)]((_0x397e45[_0xdb2d6e(0x1f4)]()-_0x494585[_0xdb2d6e(0x1f4)]())/_0xc75fbe);return _0x56b7d2;}function _0x230175(_0x43c84a){const _0x1dd229=_0x155138,_0x1e4061=_0x501627(_0x43c84a),_0x5bdfe5=new Date(),_0x40ae7e=Math[_0x1dd229(0x263)]((_0x1e4061['getTime']()-_0x5bdfe5[_0x1dd229(0x1f4)]())/_0x62b844);return _0x40ae7e;}const _0x187761=_0x155138(0x24a),_0x2bd274=_0x155138(0x1fc);function _0x1c3e0c(){return _0x437918(this,arguments,void 0x0,function*(_0x3b2a53=''){const _0x3b442f=_0x5889,_0x3a9817=_0x3b2a53+_0x3b442f(0x1ee),_0x3cbfc6=_0x3a9817+'/licenceInfo',_0x5cacac=yield fetch(_0x3cbfc6,{'method':_0x3b442f(0x219),'headers':{'Content-Type':'application/json'}}),_0x527cb5=new Date()[_0x3b442f(0x233)](),_0x1fef9b={'status':'FAILED','type':_0x3b442f(0x21f),'licenceInfo':{'licenceId':_0x3b442f(0x1ea),'licenceType':'<unknown>','expiryDate':_0x527cb5,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x5cacac['status']!==0xc8)return console[_0x3b442f(0x1c5)](_0x3b442f(0x208),_0x5cacac[_0x3b442f(0x1f2)],_0x5cacac['statusText']),_0x1fef9b;const _0x409da1=yield _0x5cacac[_0x3b442f(0x19f)]();return _0x409da1;});}const _0x525bdf=()=>{const _0x1e802b=_0x155138;$[_0x1e802b(0x254)](_0x1e802b(0x251),{'options':{'baseUrl':''},'_create'(){const _0x1f2029=_0x1e802b,_0x222a92=this,_0x3abf27=_0x1f2029(0x1a1),_0x32eb0e=_0x1f2029(0x24f);_0x1c3e0c(_0x222a92[_0x1f2029(0x1b8)])[_0x1f2029(0x204)](_0x2b369d=>{const _0x15f939=_0x1f2029;var _0x438e03,_0x5be0b0;let _0x232442='',_0x5ce078='',_0x366fcc='';const _0x39f394=_0x1a3363[_0x2b369d[_0x15f939(0x26b)]],_0x4251ec=_0x419291[_0x2b369d[_0x15f939(0x1f2)]],_0x3606ab=_0x1fa39d(_0x39f394,_0x4251ec),_0x4c3b45=_0x20d936(((_0x438e03=_0x2b369d[_0x15f939(0x283)])===null||_0x438e03===void 0x0?void 0x0:_0x438e03[_0x15f939(0x1e6)])?new Date(_0x2b369d[_0x15f939(0x283)]['expiryDate']):undefined),_0x4b4d9f=_0x230175(((_0x5be0b0=_0x2b369d[_0x15f939(0x283)])===null||_0x5be0b0===void 0x0?void 0x0:_0x5be0b0[_0x15f939(0x1e6)])?new Date(_0x2b369d[_0x15f939(0x283)][_0x15f939(0x1e6)]):undefined),_0x416b73=_0x4c3b45==0x0?_0x4b4d9f>0xa?_0x15f939(0x20e):'in\x20'+_0x4b4d9f+_0x15f939(0x266):_0x4c3b45==0x1?_0x15f939(0x1fa):_0x15f939(0x249)+_0x4c3b45+'\x20days';switch(_0x4251ec){case _0x419291[_0x15f939(0x245)]:_0x232442=_0x15f939(0x21e);switch(_0x3606ab){case _0x1a3363['TRIAL']:{_0x5ce078=_0x15f939(0x222),_0x366fcc='The\x20Trial\x20will\x20expire\x20'+_0x416b73+_0x15f939(0x1c3)+_0x32eb0e+_0x15f939(0x20c);break;}case _0x1a3363[_0x15f939(0x1d1)]:_0x5ce078='Your\x20licence\x20is\x20valid.';_0x4c3b45<0x5a&&_0x4c3b45>=0x0&&(_0x5ce078+=_0x15f939(0x285)+_0x416b73+'.');_0x366fcc=_0x2b369d[_0x15f939(0x283)]['licenceType']+_0x15f939(0x1ed)+(_0x2b369d[_0x15f939(0x283)][_0x15f939(0x229)]||'');break;case _0x1a3363[_0x15f939(0x21f)]:_0x5ce078='Freeware\x20licence',_0x366fcc=_0x15f939(0x252)+_0x32eb0e+_0x15f939(0x244);break;}break;case _0x419291[_0x15f939(0x225)]:_0x232442='fa\x20fa-calendar-time';switch(_0x39f394){case _0x1a3363['TRIAL']:_0x5ce078=_0x15f939(0x1ef),_0x366fcc=_0x15f939(0x224)+_0x32eb0e+'\x20to\x20acquire\x20a\x20license.';break;case _0x1a3363[_0x15f939(0x21f)]:_0x5ce078=_0x15f939(0x27d),_0x366fcc=_0x15f939(0x22c)+_0x32eb0e+_0x15f939(0x244);break;case _0x1a3363[_0x15f939(0x1d1)]:default:_0x5ce078=_0x15f939(0x1e0),_0x366fcc='Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20'+_0x3abf27+_0x15f939(0x1fb);}break;case _0x419291[_0x15f939(0x237)]:default:_0x232442='fa\x20fa-exclamation-circle',_0x5ce078='Your\x20license\x20is\x20currently\x20invalid.',_0x366fcc='Please\x20contact\x20'+_0x3abf27+_0x15f939(0x269);break;}this[_0x15f939(0x1f1)][_0x15f939(0x262)]('licence-widget'),this[_0x15f939(0x1f1)]['addClass'](_0x15f939(0x1e4)+_0x4251ec),this['element'][_0x15f939(0x247)]($(_0x15f939(0x282))[_0x15f939(0x262)](_0x15f939(0x1be))[_0x15f939(0x247)]($(_0x15f939(0x235))[_0x15f939(0x262)](_0x232442))),this['element'][_0x15f939(0x247)]($(_0x15f939(0x282))[_0x15f939(0x262)]('licence-widget-msg')[_0x15f939(0x246)](_0x5ce078)),this['element'][_0x15f939(0x247)]($(_0x15f939(0x1a6))),this[_0x15f939(0x1f1)]['append']($(_0x15f939(0x282))[_0x15f939(0x262)](_0x15f939(0x265))[_0x15f939(0x247)](_0x366fcc));if(_0x4251ec===_0x419291[_0x15f939(0x225)]||_0x4251ec===_0x419291[_0x15f939(0x237)]||_0x3606ab===_0x1a3363[_0x15f939(0x21f)]||_0x3606ab===_0x1a3363[_0x15f939(0x287)]){this['element']['append']($('<br>'));const _0x1886c1=$('<button/>');_0x1886c1[_0x15f939(0x289)]('id',_0x15f939(0x1ec)),_0x1886c1[_0x15f939(0x289)](_0x15f939(0x23a),_0x15f939(0x284)),_0x1886c1['attr'](_0x15f939(0x220),'margin-top:\x2020px;'),_0x1886c1[_0x15f939(0x246)](_0x15f939(0x27e)),this[_0x15f939(0x1f1)][_0x15f939(0x247)](_0x1886c1);const _0x2991af=document[_0x15f939(0x21b)]('script');_0x2991af[_0x15f939(0x20b)]=_0x15f939(0x1f5),_0x2991af['async']=!![],$(_0x15f939(0x1e2))[_0x15f939(0x247)](_0x2991af);const _0x2b0fc5=$(_0x15f939(0x23f));_0x2b0fc5[_0x15f939(0x289)](_0x15f939(0x1c7),_0x187761),_0x2b0fc5[_0x15f939(0x289)](_0x15f939(0x1c1),_0x2bd274),_0x2b0fc5[_0x15f939(0x289)](_0x15f939(0x220),_0x15f939(0x200)),_0x2b0fc5[_0x15f939(0x1c8)](),this['element']['append'](_0x2b0fc5),_0x1886c1['on'](_0x15f939(0x22e),()=>{const _0x3d5049=_0x15f939;_0x2b0fc5[_0x3d5049(0x206)](),_0x1886c1['hide'](),this[_0x3d5049(0x1f1)]['attr']('style','height:\x20100%\x20!important;');});}})[_0x1f2029(0x273)](_0x4027e4=>{const _0x21aa4a=_0x1f2029;console[_0x21aa4a(0x1c5)](_0x4027e4);});}});},_0x915381=()=>{const _0x57616a=_0x155138,_0x1476c3=$(_0x57616a(0x217));if(_0x1476c3[_0x57616a(0x281)]){const _0x271365=$(_0x57616a(0x1d0),{'src':_0x57616a(0x1f0),'scrolling':'no','style':_0x57616a(0x253),'allowtransparency':_0x57616a(0x1ab),'width':'180px','height':_0x57616a(0x1e8)});_0x1476c3['append'](_0x271365),_0x271365[_0x57616a(0x259)]({'position':_0x57616a(0x231),'right':_0x57616a(0x280),'bottom':'16px'});}};_0x525bdf();function _0x342316(_0x52f233){const _0x271763=_0x155138;let _0x209cb5;try{_0x209cb5=new URL(_0x52f233);}catch(_0x5eba4c){return![];}return _0x209cb5[_0x271763(0x24d)]==='opc.tcp:';}const _0x511b7c={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0x155138(0x1bf)][_0x155138(0x26d)](_0x155138(0x213),{'category':_0x155138(0x240),'paletteLabel':_0x155138(0x28a),'defaults':{'name':{'value':''},'endpoint':{'value':'opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','required':!![],'validate':_0x342316},'securityMode':{'value':'None'},'securityPolicy':{'value':'None','validate':_0x5cd418=>{if(!_0x5cd418)return![];return!![];}},'userIdentityType':{'value':_0x155138(0x1cc)},'pkiName':{'value':'','validate':_0x15913f=>!_0x15913f||_0x15913f[_0x155138(0x271)](/[0-9a-zA-Z]*/)?!![]:![]},'useTransport':{'value':![],'required':![]},'maxChunkCount':{'value':0x1,'required':![]},'maxMessageSize':{'value':0x2000,'required':![]},'receiveBufferSize':{'value':0x2000,'required':![]},'sendBufferSize':{'value':0x2000,'required':![]},'subscriptions':{'value':[{'id':'s1','name':_0x155138(0x27a),'isDefault':!![],'parameters':Object[_0x155138(0x205)]({},_0x511b7c)},{'id':'s2','name':_0x155138(0x22f),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':_0x155138(0x1c6),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':_0x155138(0x1dd),'isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':_0x155138(0x1b2),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0x155138(0x246)},'password':{'type':_0x155138(0x234)},'userCertificate':{'type':_0x155138(0x246)},'userPrivatekey':{'type':_0x155138(0x234)}},'label':function(){const _0x153a09=_0x155138;return this[_0x153a09(0x26e)]||this[_0x153a09(0x238)]||'invalid\x20endpoint';},'oneditsave'(){const _0x2c418f=_0x155138,_0x19a5dc=$(_0x2c418f(0x1ff)),_0x315c32=$(_0x2c418f(0x22a));_0x19a5dc['val']()===_0x2c418f(0x1a8)&&_0x315c32[_0x2c418f(0x246)](_0x2c418f(0x1a8));{const _0x598649=$(_0x2c418f(0x1cb))[_0x2c418f(0x214)](_0x2c418f(0x257)),_0x444c43=[],_0x35d473=_0x2362e4=>_0x2362e4;_0x598649[_0x2c418f(0x1d4)](function(_0x154448,_0x532c97){const _0x1d6d8f=_0x2c418f,_0x4185d3=$(this),_0x2dc129={'id':'s'+_0x154448,'name':_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x203))[_0x1d6d8f(0x25f)](),'isDefault':!!_0x4185d3['find'](_0x1d6d8f(0x242))[_0x1d6d8f(0x25f)](),'parameters':{'publishingEnabled':!!_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x23d))['is'](_0x1d6d8f(0x26c)),'requestedLifetimeCount':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)]('.input-requestedLifetimeCount')[_0x1d6d8f(0x25f)]()),'requestedMaxKeepAliveCount':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)]('.input-requestedMaxKeepAliveCount')['val']()),'requestedPublishingInterval':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)]('.input-requestedPublishingInterval')[_0x1d6d8f(0x25f)]()),'maxNotificationsPerPublish':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x1f8))[_0x1d6d8f(0x25f)]()),'priority':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x1d2))[_0x1d6d8f(0x25f)]())}};_0x2dc129[_0x1d6d8f(0x1e1)][_0x1d6d8f(0x270)]=!![],_0x2dc129[_0x1d6d8f(0x288)]&&_0x2dc129['id']==='s0'&&(_0x2dc129[_0x1d6d8f(0x26e)]=_0x1d6d8f(0x27a)),_0x444c43['push'](_0x2dc129);}),this[_0x2c418f(0x1f7)]=_0x444c43;}{const _0xd30750=$(_0x2c418f(0x22b))['editableList']('items'),_0x1ef48e=[];_0xd30750[_0x2c418f(0x1d4)](function(_0x10877b,_0x4874de){const _0xf03032=_0x2c418f,_0x188765=$(this),_0xb72b82={'namespaceUri':_0x188765[_0xf03032(0x21a)](_0xf03032(0x255))['val'](),'alias':_0x188765[_0xf03032(0x21a)](_0xf03032(0x21d))[_0xf03032(0x25f)]()};_0x1ef48e['push'](_0xb72b82);}),this['namespaceAliases']=_0x1ef48e;}},'oneditprepare'(){const _0x2dc608=_0x155138,_0x142332=this;_0x915381();const _0x52ef76=RED[_0x2dc608(0x1a2)]['create']({'id':'node-config-endpoint-tabs','onchange':function(_0x49ea16){const _0x596235=_0x2dc608;$(_0x596235(0x1b0))['children']()[_0x596235(0x1c8)](),$('#'+_0x49ea16['id'])[_0x596235(0x206)]();}});_0x52ef76['addTab']({'id':'endpoint-tab-connection','label':_0x2dc608(0x227)},0x0),_0x52ef76['addTab']({'id':_0x2dc608(0x226),'label':_0x2dc608(0x210)},0x1),_0x52ef76['addTab']({'id':_0x2dc608(0x24b),'label':_0x2dc608(0x1b6)},0x2),setTimeout(function(){const _0x479115=_0x2dc608;_0x52ef76[_0x479115(0x1aa)]();},0x0);{const _0x27ac3c=_0x59d73c=>{const _0xd98c0b=_0x2dc608;switch(_0x59d73c){case null:case undefined:case'':case'None':$(_0xd98c0b(0x24c))[_0xd98c0b(0x1c8)]();break;case'Sign':case'SignAndEncrypt':{const _0x49d0e7=$(_0xd98c0b(0x24c));(_0x49d0e7[_0xd98c0b(0x25f)]()===_0xd98c0b(0x1a8)||_0x49d0e7[_0xd98c0b(0x25f)]()==='')&&_0x49d0e7['val'](_0xd98c0b(0x25a)),$(_0xd98c0b(0x24c))[_0xd98c0b(0x206)]();}break;default:console[_0xd98c0b(0x1c5)](_0xd98c0b(0x212)+_0x59d73c);}};_0x27ac3c(_0x142332[_0x2dc608(0x1c2)]);const _0x3b7292=$(_0x2dc608(0x22a));_0x3b7292['on'](_0x2dc608(0x1d6),()=>{const _0x1a0050=_0x2dc608,_0x119763=_0x3b7292[_0x1a0050(0x25f)]();_0x27ac3c(_0x119763);});}const _0x392fc7=$(_0x2dc608(0x25e));_0x392fc7[_0x2dc608(0x23e)]({'baseUrl':''});{const _0x3e6c85=$(_0x2dc608(0x1fd)),_0x40d1a4=$(_0x2dc608(0x1f9)),_0x4abcd3=_0x4f3ec8=>{const _0x348094=_0x2dc608;_0x4f3ec8=_0x4f3ec8||_0x348094(0x1cc);switch(_0x4f3ec8){case _0x348094(0x1cc):$(_0x348094(0x1a4))[_0x348094(0x25f)](''),$(_0x348094(0x209))[_0x348094(0x25f)](''),_0x3e6c85[_0x348094(0x1c8)](),_0x40d1a4[_0x348094(0x1c8)]();break;case'UserName':_0x3e6c85[_0x348094(0x206)](),_0x40d1a4[_0x348094(0x1c8)]();break;case _0x348094(0x1d5):$('#node-config-input-userName')['val'](''),$(_0x348094(0x209))['val'](''),_0x40d1a4[_0x348094(0x206)](),_0x3e6c85[_0x348094(0x1c8)]();break;default:console[_0x348094(0x1c5)](_0x348094(0x1b4)+_0x4f3ec8);}};_0x4abcd3(_0x142332[_0x2dc608(0x1d3)]);const _0x5100e4=$(_0x2dc608(0x260));_0x5100e4['on'](_0x2dc608(0x1d6),()=>{const _0x60753b=_0x2dc608,_0x2801fc=_0x5100e4[_0x60753b(0x25f)]();_0x4abcd3(_0x2801fc);});}{$(_0x2dc608(0x1a3))[_0x2dc608(0x1c8)](),$(_0x2dc608(0x27c))[_0x2dc608(0x250)](_0x2dc608(0x1ad),![]),$(_0x2dc608(0x27c))['on']('change',function(){const _0x21e708=_0x2dc608;$(this)[_0x21e708(0x250)]('checked')?$(_0x21e708(0x1a3))['show']():$(_0x21e708(0x1a3))['hide']();});}const _0x31333d=$(_0x2dc608(0x264))[_0x2dc608(0x250)](_0x2dc608(0x1ad));_0x31333d?$(_0x2dc608(0x272))[_0x2dc608(0x206)]():$('#section-TransportSettings')[_0x2dc608(0x1c8)]();$(_0x2dc608(0x264))['on'](_0x2dc608(0x1d6),function(){const _0x159ada=_0x2dc608;$(this)[_0x159ada(0x250)](_0x159ada(0x1ad))?$('#section-TransportSettings')[_0x159ada(0x206)]():$(_0x159ada(0x272))[_0x159ada(0x1c8)]();});{$(_0x2dc608(0x207))['on'](_0x2dc608(0x22e),()=>_0x437918(this,void 0x0,void 0x0,function*(){const _0xc0d3e6=_0x2dc608,_0x2f83d5=yield fetch(_0xc0d3e6(0x20a)),_0x571c8e=yield _0x2f83d5[_0xc0d3e6(0x19f)](),_0x10189d=JSON[_0xc0d3e6(0x1d9)](_0x571c8e,null,'\x20');alert(_0x10189d);}));}$(_0x2dc608(0x1a5))['on'](_0x2dc608(0x22e),()=>_0x437918(this,void 0x0,void 0x0,function*(){const _0x5709ac=_0x2dc608;window['open'](_0x5709ac(0x1b5),_0x5709ac(0x20d));}));function _0x323e0c(){const _0x1fd6b4=_0x2dc608;var _0x1833b1;return{'id':_0x142332['id'],'endpoint':$(_0x1fd6b4(0x26f))[_0x1fd6b4(0x25f)](),'name':$(_0x1fd6b4(0x1c0))[_0x1fd6b4(0x25f)](),'pkiName':(_0x1833b1=$('#node-config-input-pkiName'))===null||_0x1833b1===void 0x0?void 0x0:_0x1833b1[_0x1fd6b4(0x25f)](),'securityMode':$(_0x1fd6b4(0x22a))['val'](),'securityPolicy':$(_0x1fd6b4(0x1ff))[_0x1fd6b4(0x25f)](),'userIdentityType':$('#node-config-input-userIdentityType')[_0x1fd6b4(0x25f)](),'userName':$(_0x1fd6b4(0x1a4))[_0x1fd6b4(0x25f)](),'password':$('#node-config-input-password')[_0x1fd6b4(0x25f)](),'userCertificate':$(_0x1fd6b4(0x27b))[_0x1fd6b4(0x25f)](),'userPrivatekey':$(_0x1fd6b4(0x243))[_0x1fd6b4(0x25f)](),'certificate':$(_0x1fd6b4(0x268))[_0x1fd6b4(0x25f)](),'useTransport':$(_0x1fd6b4(0x1bd))[_0x1fd6b4(0x250)](_0x1fd6b4(0x1ad)),'maxChunkCount':$(_0x1fd6b4(0x211))[_0x1fd6b4(0x25f)](),'maxMessageSize':$('#node-input-maxMessageSize')[_0x1fd6b4(0x25f)](),'receiveBufferSize':$(_0x1fd6b4(0x1df))[_0x1fd6b4(0x25f)](),'sendBufferSize':$(_0x1fd6b4(0x275))['val']()};}{_0x760a8a(_0x2dc608(0x1ca),$('#test-connection'),()=>({'url':_0x2dc608(0x202),'body':{'endpointNode':_0x323e0c()}}),()=>{});}{const _0x4e1641=(_0x17dda0,_0x3cbbdf)=>{const _0x1c2c47=_0x2dc608;var _0x1a35fd=_0x17dda0['width']()||0x64;_0x17dda0['find']('label')[_0x1c2c47(0x1fe)]('width',_0x1a35fd-0xf);},_0x422363=$('#subscriptions-container')[_0x2dc608(0x259)]({'min-height':_0x2dc608(0x1e5),'min-width':_0x2dc608(0x1bb)})[_0x2dc608(0x214)]({'addItem':(_0x45d276,_0x3f5043,_0x313e8c)=>{const _0x29421c=_0x2dc608,_0x50ea49=_0x313e8c,_0x496da5=$(_0x29421c(0x201))['clone']()['appendTo'](_0x45d276);_0x496da5[_0x29421c(0x1c4)]('id')['removeClass'](_0x29421c(0x1c8))[_0x29421c(0x1b9)](_0x29421c(0x216))[_0x29421c(0x289)]('data-i',_0x3f5043),_0x496da5[_0x29421c(0x21a)]('.input-name')[_0x29421c(0x25f)](_0x50ea49[_0x29421c(0x26e)]),_0x496da5[_0x29421c(0x21a)](_0x29421c(0x223))[_0x29421c(0x25f)](_0x50ea49[_0x29421c(0x1e1)]['requestedPublishingInterval']),_0x496da5[_0x29421c(0x21a)](_0x29421c(0x232))[_0x29421c(0x25f)](_0x50ea49['parameters'][_0x29421c(0x20f)]),_0x496da5['find'](_0x29421c(0x24e))[_0x29421c(0x25f)](_0x50ea49[_0x29421c(0x1e1)]['requestedLifetimeCount']),_0x496da5['find']('.input-maxNotificationsPerPublish')['val'](_0x50ea49[_0x29421c(0x1e1)][_0x29421c(0x1cd)]||0x0),_0x496da5['find']('.input-priority')[_0x29421c(0x25f)](_0x50ea49['parameters'][_0x29421c(0x1dc)]||0x0),_0x496da5[_0x29421c(0x21a)](_0x29421c(0x1f3))[_0x29421c(0x246)](''+_0x3f5043),_0x50ea49[_0x29421c(0x288)]&&_0x496da5['find']('.input-name')[_0x29421c(0x250)](_0x29421c(0x23b),!![]),_0x496da5['find'](_0x29421c(0x242))[_0x29421c(0x250)]('checked',_0x50ea49[_0x29421c(0x288)]),_0x50ea49[_0x29421c(0x288)]&&(_0x45d276[_0x29421c(0x21a)](_0x29421c(0x274))[_0x29421c(0x262)]('hide'),setTimeout(()=>_0x496da5[_0x29421c(0x21a)](_0x29421c(0x242))[_0x29421c(0x250)]('disabled',!![]),0xa));},'removable':!![],'resizeItem':_0x4e1641}),_0x440636=()=>{const _0x3c7689=_0x2dc608,_0x3bb4e1=_0x142332[_0x3c7689(0x1f7)]||[];_0x3bb4e1['length']===0x0&&_0x3bb4e1['push']({'id':'s1','name':'Default\x20Subscription','isDefault':!![],'parameters':Object[_0x3c7689(0x205)]({},_0x511b7c)});_0x422363[_0x3c7689(0x214)]('empty');for(const _0x1c3f96 of _0x3bb4e1){_0x422363[_0x3c7689(0x214)](_0x3c7689(0x1c9),_0x1c3f96);}};_0x440636();}{function _0x40159b(_0x5b24c9,_0x5da6d2,_0x3fe549){const _0xe8cfd5=_0x2dc608,_0x259ec6=_0x3fe549,_0x10f64e=$(_0xe8cfd5(0x25d))[_0xe8cfd5(0x221)](_0x5b24c9);$(_0xe8cfd5(0x1de),{'class':'node-input-alias-index','type':_0xe8cfd5(0x246)})[_0xe8cfd5(0x25f)](_0x3fe549[_0xe8cfd5(0x276)]||'')[_0xe8cfd5(0x259)]({'width':'5%'})[_0xe8cfd5(0x221)](_0x10f64e)[_0xe8cfd5(0x25f)](_0x5da6d2[_0xe8cfd5(0x215)]()),$(_0xe8cfd5(0x1de),{'class':_0xe8cfd5(0x1f6),'type':'text'})[_0xe8cfd5(0x25f)](_0x3fe549[_0xe8cfd5(0x276)]||'')[_0xe8cfd5(0x259)]({'width':_0xe8cfd5(0x279)})[_0xe8cfd5(0x221)](_0x10f64e)[_0xe8cfd5(0x25f)](_0x259ec6[_0xe8cfd5(0x276)]),$(_0xe8cfd5(0x1de),{'class':_0xe8cfd5(0x278),'type':_0xe8cfd5(0x246)})[_0xe8cfd5(0x25f)](_0x3fe549[_0xe8cfd5(0x286)]||'')[_0xe8cfd5(0x259)]({'width':_0xe8cfd5(0x1af)})['appendTo'](_0x10f64e)[_0xe8cfd5(0x25f)](_0x259ec6[_0xe8cfd5(0x286)]);}const _0x4c32e7=$(_0x2dc608(0x22b))[_0x2dc608(0x259)]({'min-height':_0x2dc608(0x1e5),'min-width':'260px'})[_0x2dc608(0x214)]({'addButton':![],'removable':![],'height':_0x2dc608(0x1ae),'scrollOnAdd':![],'addItem'(_0x4075bd,_0x4b073b,_0x14f064){_0x40159b(_0x4075bd,_0x4b073b,_0x14f064);}});function _0x10ac81(){const _0x703716=_0x2dc608;_0x4c32e7[_0x703716(0x214)](_0x703716(0x257)),_0x4c32e7[_0x703716(0x214)](_0x703716(0x1bc));for(const _0x57c9a1 of _0x142332[_0x703716(0x256)]||[]){_0x4c32e7[_0x703716(0x214)]('addItem',_0x57c9a1);}}{$(_0x2dc608(0x230))['on'](_0x2dc608(0x22e),()=>_0x437918(this,void 0x0,void 0x0,function*(){const _0x1f14c6=_0x2dc608,_0x6300b1={'endpointNode':_0x323e0c(),'namespaceAliases':_0x142332[_0x1f14c6(0x256)]||[]},_0x539df4=yield fetch(_0x1f14c6(0x21c),{'method':'POST','headers':{'Content-Type':_0x1f14c6(0x22d)},'body':JSON[_0x1f14c6(0x1d9)](_0x6300b1)}),_0x37538b=yield _0x539df4[_0x1f14c6(0x19f)](),_0x41afae=_0x37538b[_0x1f14c6(0x256)];console[_0x1f14c6(0x1c5)](_0x1f14c6(0x256),_0x41afae),Array[_0x1f14c6(0x1d7)](_0x41afae)&&(_0x142332[_0x1f14c6(0x256)]=_0x41afae,_0x10ac81());})),_0x142332[_0x2dc608(0x256)]=_0x142332['namespaceAliases']||[{'alias':'ua','namespaceUri':_0x2dc608(0x1dd),'isWellKnown':!![],'isDefault':!![]}];}_0x10ac81();}}});}()));
|
8
8
|
</script>
|
9
9
|
<script type="text/x-red" data-template-name="OpcUa-Endpoint2">
|
10
10
|
<div id="licenceWidget"></div>
|
@@ -1,367 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e2c467f6f712d454",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 2",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "45b050115e22c92a",
|
12
|
-
"type": "OpcUa-Client2-Monitor",
|
13
|
-
"z": "e2c467f6f712d454",
|
14
|
-
"inputs": 0,
|
15
|
-
"output": 4,
|
16
|
-
"name": "Monitor TotalMix",
|
17
|
-
"endpoint": "c22bb208bf9b2236",
|
18
|
-
"subscription": "s0",
|
19
|
-
"startImmediately": true,
|
20
|
-
"nodeId": "/di:DeviceSet/own:CoffeeMachine.cke:Parameters.cke:TotalMix",
|
21
|
-
"samplingInterval": 1000,
|
22
|
-
"discardOldest": true,
|
23
|
-
"queueSize": 10,
|
24
|
-
"x": 500,
|
25
|
-
"y": 120,
|
26
|
-
"wires": [
|
27
|
-
[
|
28
|
-
"80ffd5b08e4b842c"
|
29
|
-
]
|
30
|
-
]
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"id": "ed0138fb19b768a8",
|
34
|
-
"type": "OpcUa-Client2-Call",
|
35
|
-
"z": "e2c467f6f712d454",
|
36
|
-
"inputs": 1,
|
37
|
-
"output": 4,
|
38
|
-
"name": "FillTank() ",
|
39
|
-
"endpoint": "c22bb208bf9b2236",
|
40
|
-
"methodId": "/di:DeviceSet/own:CoffeeMachine.di:MethodSet.ns3:FillTank",
|
41
|
-
"objectId": "/di:DeviceSet/own:CoffeeMachine",
|
42
|
-
"x": 480,
|
43
|
-
"y": 300,
|
44
|
-
"wires": [
|
45
|
-
[],
|
46
|
-
[]
|
47
|
-
]
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"id": "d9ebb8819935670b",
|
51
|
-
"type": "OpcUa-Client2-Call",
|
52
|
-
"z": "e2c467f6f712d454",
|
53
|
-
"inputs": 1,
|
54
|
-
"output": 4,
|
55
|
-
"name": "MakeCoffee",
|
56
|
-
"endpoint": "c22bb208bf9b2236",
|
57
|
-
"methodId": "/di:DeviceSet/own:CoffeeMachine.di:MethodSet.ns3:Start",
|
58
|
-
"objectId": "/di:DeviceSet/own:CoffeeMachine",
|
59
|
-
"x": 490,
|
60
|
-
"y": 360,
|
61
|
-
"wires": [
|
62
|
-
[],
|
63
|
-
[]
|
64
|
-
]
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"id": "cd2a38f3b199c836",
|
68
|
-
"type": "inject",
|
69
|
-
"z": "e2c467f6f712d454",
|
70
|
-
"name": "",
|
71
|
-
"props": [
|
72
|
-
{
|
73
|
-
"p": "payload"
|
74
|
-
}
|
75
|
-
],
|
76
|
-
"repeat": "",
|
77
|
-
"crontab": "",
|
78
|
-
"once": false,
|
79
|
-
"onceDelay": 0.1,
|
80
|
-
"topic": "",
|
81
|
-
"payload": "{\"CoffeeType\":1}",
|
82
|
-
"payloadType": "json",
|
83
|
-
"x": 320,
|
84
|
-
"y": 340,
|
85
|
-
"wires": [
|
86
|
-
[
|
87
|
-
"d9ebb8819935670b"
|
88
|
-
]
|
89
|
-
]
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"id": "733e1b5f1f748772",
|
93
|
-
"type": "inject",
|
94
|
-
"z": "e2c467f6f712d454",
|
95
|
-
"name": "",
|
96
|
-
"props": [
|
97
|
-
{
|
98
|
-
"p": "payload"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"p": "topic",
|
102
|
-
"vt": "str"
|
103
|
-
}
|
104
|
-
],
|
105
|
-
"repeat": "",
|
106
|
-
"crontab": "",
|
107
|
-
"once": false,
|
108
|
-
"onceDelay": 0.1,
|
109
|
-
"topic": "",
|
110
|
-
"payload": "{\"CoffeeType\": 2}",
|
111
|
-
"payloadType": "json",
|
112
|
-
"x": 320,
|
113
|
-
"y": 380,
|
114
|
-
"wires": [
|
115
|
-
[
|
116
|
-
"d9ebb8819935670b"
|
117
|
-
]
|
118
|
-
]
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"id": "182db6cfc2b7e81e",
|
122
|
-
"type": "inject",
|
123
|
-
"z": "e2c467f6f712d454",
|
124
|
-
"name": "Action",
|
125
|
-
"props": [],
|
126
|
-
"repeat": "",
|
127
|
-
"crontab": "",
|
128
|
-
"once": false,
|
129
|
-
"onceDelay": 0.1,
|
130
|
-
"topic": "",
|
131
|
-
"x": 310,
|
132
|
-
"y": 280,
|
133
|
-
"wires": [
|
134
|
-
[
|
135
|
-
"ed0138fb19b768a8"
|
136
|
-
]
|
137
|
-
]
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"id": "266bbc4569282b99",
|
141
|
-
"type": "OpcUa-Client2-Monitor",
|
142
|
-
"z": "e2c467f6f712d454",
|
143
|
-
"inputs": 0,
|
144
|
-
"output": 4,
|
145
|
-
"name": "WaterTank Level",
|
146
|
-
"endpoint": "c22bb208bf9b2236",
|
147
|
-
"subscription": "s2",
|
148
|
-
"startImmediately": true,
|
149
|
-
"nodeId": "/di:DeviceSet/own:CoffeeMachine.cke:Parameters.ns3:WaterTankLevel",
|
150
|
-
"samplingInterval": 1000,
|
151
|
-
"discardOldest": true,
|
152
|
-
"queueSize": 10,
|
153
|
-
"x": 500,
|
154
|
-
"y": 180,
|
155
|
-
"wires": [
|
156
|
-
[
|
157
|
-
"80ffd5b08e4b842c"
|
158
|
-
]
|
159
|
-
]
|
160
|
-
},
|
161
|
-
{
|
162
|
-
"id": "80ffd5b08e4b842c",
|
163
|
-
"type": "debug",
|
164
|
-
"z": "e2c467f6f712d454",
|
165
|
-
"name": "debug 1",
|
166
|
-
"active": true,
|
167
|
-
"tosidebar": true,
|
168
|
-
"console": false,
|
169
|
-
"tostatus": false,
|
170
|
-
"complete": "{\t \"nodeId\": nodeId,\t \"value\": payload\t}",
|
171
|
-
"targetType": "jsonata",
|
172
|
-
"statusVal": "",
|
173
|
-
"statusType": "auto",
|
174
|
-
"x": 780,
|
175
|
-
"y": 160,
|
176
|
-
"wires": []
|
177
|
-
},
|
178
|
-
{
|
179
|
-
"id": "1c7206622fc789b7",
|
180
|
-
"type": "OpcUa-Client2-Monitor",
|
181
|
-
"z": "e2c467f6f712d454",
|
182
|
-
"inputs": 1,
|
183
|
-
"output": 4,
|
184
|
-
"name": "ServerStatus.State",
|
185
|
-
"endpoint": "c22bb208bf9b2236",
|
186
|
-
"subscription": "s2",
|
187
|
-
"startImmediately": false,
|
188
|
-
"nodeId": "/Server.ServerStatus.State",
|
189
|
-
"samplingInterval": "1001",
|
190
|
-
"discardOldest": true,
|
191
|
-
"queueSize": 10,
|
192
|
-
"x": 510,
|
193
|
-
"y": 60,
|
194
|
-
"wires": [
|
195
|
-
[
|
196
|
-
"80ffd5b08e4b842c"
|
197
|
-
]
|
198
|
-
]
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"id": "40097102575fd1d1",
|
202
|
-
"type": "OpcUa-Client2-Monitor",
|
203
|
-
"z": "e2c467f6f712d454",
|
204
|
-
"inputs": 0,
|
205
|
-
"output": 4,
|
206
|
-
"name": "ServerCoffeeCount",
|
207
|
-
"endpoint": "c22bb208bf9b2236",
|
208
|
-
"subscription": "s2",
|
209
|
-
"startImmediately": true,
|
210
|
-
"nodeId": "/di:DeviceSet/own:CoffeeMachine.cke:Parameters.ns3:ServedCoffeeCount",
|
211
|
-
"samplingInterval": 1000,
|
212
|
-
"discardOldest": true,
|
213
|
-
"queueSize": 10,
|
214
|
-
"x": 510,
|
215
|
-
"y": 240,
|
216
|
-
"wires": [
|
217
|
-
[
|
218
|
-
"80ffd5b08e4b842c"
|
219
|
-
]
|
220
|
-
]
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"id": "29829ef18eb606cf",
|
224
|
-
"type": "inject",
|
225
|
-
"z": "e2c467f6f712d454",
|
226
|
-
"name": "",
|
227
|
-
"props": [],
|
228
|
-
"repeat": "",
|
229
|
-
"crontab": "",
|
230
|
-
"once": false,
|
231
|
-
"onceDelay": 0.1,
|
232
|
-
"topic": "",
|
233
|
-
"x": 290,
|
234
|
-
"y": 60,
|
235
|
-
"wires": [
|
236
|
-
[
|
237
|
-
"1c7206622fc789b7"
|
238
|
-
]
|
239
|
-
]
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"id": "c22bb208bf9b2236",
|
243
|
-
"type": "OpcUa-Endpoint2",
|
244
|
-
"name": "",
|
245
|
-
"endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
|
246
|
-
"securityMode": "None",
|
247
|
-
"securityPolicy": "None",
|
248
|
-
"userIdentityType": "Anonymous",
|
249
|
-
"pkiName": "",
|
250
|
-
"useTransport": true,
|
251
|
-
"maxChunkCount": "1",
|
252
|
-
"maxMessageSize": "8192",
|
253
|
-
"receiveBufferSize": "8192",
|
254
|
-
"sendBufferSize": "8192",
|
255
|
-
"subscriptions": [
|
256
|
-
{
|
257
|
-
"id": "s0",
|
258
|
-
"name": "Default Subscription",
|
259
|
-
"isDefault": true,
|
260
|
-
"parameters": {
|
261
|
-
"publishingEnabled": true,
|
262
|
-
"requestedLifetimeCount": "100",
|
263
|
-
"requestedMaxKeepAliveCount": "10",
|
264
|
-
"requestedPublishingInterval": "1000",
|
265
|
-
"maxNotificationsPerPublish": "0",
|
266
|
-
"priority": "100"
|
267
|
-
}
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"id": "s1",
|
271
|
-
"name": "Slow Subscription",
|
272
|
-
"isDefault": true,
|
273
|
-
"parameters": {
|
274
|
-
"publishingEnabled": true,
|
275
|
-
"requestedLifetimeCount": "100",
|
276
|
-
"requestedMaxKeepAliveCount": "2",
|
277
|
-
"requestedPublishingInterval": "5000",
|
278
|
-
"maxNotificationsPerPublish": "100",
|
279
|
-
"priority": "10"
|
280
|
-
}
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"id": "s2",
|
284
|
-
"name": "Fast Subscription",
|
285
|
-
"isDefault": true,
|
286
|
-
"parameters": {
|
287
|
-
"publishingEnabled": true,
|
288
|
-
"requestedLifetimeCount": "100",
|
289
|
-
"requestedMaxKeepAliveCount": "10",
|
290
|
-
"requestedPublishingInterval": "250",
|
291
|
-
"maxNotificationsPerPublish": "100",
|
292
|
-
"priority": "200"
|
293
|
-
}
|
294
|
-
}
|
295
|
-
],
|
296
|
-
"namespaceAliases": [
|
297
|
-
{
|
298
|
-
"namespaceUri": "http://opcfoundation.org/UA/",
|
299
|
-
"alias": "ua"
|
300
|
-
},
|
301
|
-
{
|
302
|
-
"namespaceUri": "~urn:.*",
|
303
|
-
"alias": "own"
|
304
|
-
},
|
305
|
-
{
|
306
|
-
"namespaceUri": "http://opcfoundation.org/UA/DI/",
|
307
|
-
"alias": "di"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"namespaceUri": "http://opcfoundation.org/UA/ADI/",
|
311
|
-
"alias": "adi"
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"namespaceUri": "http://opcfoundation.org/UA/AutoID/",
|
315
|
-
"alias": "autoId"
|
316
|
-
},
|
317
|
-
{
|
318
|
-
"namespaceUri": "http://opcfoundation.org/UA/MachineVision",
|
319
|
-
"alias": "machineVision"
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"namespaceUri": "http://opcfoundation.org/UA/Robotics/",
|
323
|
-
"alias": "robotics"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"namespaceUri": "http://opcfoundation.org/UA/CommercialKitchenEquipment/",
|
327
|
-
"alias": "cke"
|
328
|
-
},
|
329
|
-
{
|
330
|
-
"namespaceUri": "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/",
|
331
|
-
"alias": "isa95JobControl"
|
332
|
-
},
|
333
|
-
{
|
334
|
-
"namespaceUri": "http://opcfoundation.org/UA/Dictionary/IRDI",
|
335
|
-
"alias": "irdi"
|
336
|
-
},
|
337
|
-
{
|
338
|
-
"namespaceUri": "http://opcfoundation.org/UA/IA/",
|
339
|
-
"alias": "ia"
|
340
|
-
},
|
341
|
-
{
|
342
|
-
"namespaceUri": "http://opcfoundation.org/UA/Machinery/",
|
343
|
-
"alias": "machinery"
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"namespaceUri": "http://opcfoundation.org/UA/Machinery/Jobs/",
|
347
|
-
"alias": "machineryJobs"
|
348
|
-
},
|
349
|
-
{
|
350
|
-
"namespaceUri": "http://opcfoundation.org/UA/MachineTool/",
|
351
|
-
"alias": "machineTool"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"namespaceUri": "http://opcfoundation.org/UA/PackML/",
|
355
|
-
"alias": "packML"
|
356
|
-
},
|
357
|
-
{
|
358
|
-
"namespaceUri": "urn://node-opcua-simulator",
|
359
|
-
"alias": "ns2"
|
360
|
-
},
|
361
|
-
{
|
362
|
-
"namespaceUri": "http://sterfive.com/UA/CoffeeMachine/",
|
363
|
-
"alias": "ns3"
|
364
|
-
}
|
365
|
-
]
|
366
|
-
}
|
367
|
-
]
|
@@ -1,115 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "f7bedd7b98ba03b1",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "OPCUA CoffeeMachine Example ",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "fa8beb6353889cf4",
|
12
|
-
"type": "inject",
|
13
|
-
"z": "f7bedd7b98ba03b1",
|
14
|
-
"name": "inject path to CoffeeMachine",
|
15
|
-
"props": [
|
16
|
-
{
|
17
|
-
"p": "nodeId",
|
18
|
-
"v": "/2:DeviceSet/1:CoffeeMachine",
|
19
|
-
"vt": "str"
|
20
|
-
}
|
21
|
-
],
|
22
|
-
"repeat": "",
|
23
|
-
"crontab": "",
|
24
|
-
"once": false,
|
25
|
-
"onceDelay": 0.1,
|
26
|
-
"topic": "",
|
27
|
-
"x": 200,
|
28
|
-
"y": 120,
|
29
|
-
"wires": [
|
30
|
-
[
|
31
|
-
"17f4366b5c4476e7"
|
32
|
-
]
|
33
|
-
]
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"id": "17f4366b5c4476e7",
|
37
|
-
"type": "OpcUa-Client2-Explore",
|
38
|
-
"z": "f7bedd7b98ba03b1",
|
39
|
-
"inputs": 1,
|
40
|
-
"output": 4,
|
41
|
-
"name": "",
|
42
|
-
"endpoint": "c22bb208bf9b2236",
|
43
|
-
"nodeId": "",
|
44
|
-
"outputType": "Value",
|
45
|
-
"x": 440,
|
46
|
-
"y": 120,
|
47
|
-
"wires": [
|
48
|
-
[
|
49
|
-
"c5ca5b7775b36081"
|
50
|
-
]
|
51
|
-
]
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"id": "c5ca5b7775b36081",
|
55
|
-
"type": "debug",
|
56
|
-
"z": "f7bedd7b98ba03b1",
|
57
|
-
"name": "debug 6",
|
58
|
-
"active": true,
|
59
|
-
"tosidebar": true,
|
60
|
-
"console": false,
|
61
|
-
"tostatus": false,
|
62
|
-
"complete": "false",
|
63
|
-
"statusVal": "",
|
64
|
-
"statusType": "auto",
|
65
|
-
"x": 620,
|
66
|
-
"y": 120,
|
67
|
-
"wires": []
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"id": "d732a68c93b0642d",
|
71
|
-
"type": "comment",
|
72
|
-
"z": "f7bedd7b98ba03b1",
|
73
|
-
"name": "using Explore node with @opcua/for-node-red",
|
74
|
-
"info": "",
|
75
|
-
"x": 250,
|
76
|
-
"y": 60,
|
77
|
-
"wires": []
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"id": "c22bb208bf9b2236",
|
81
|
-
"type": "OpcUa-Endpoint2",
|
82
|
-
"name": "",
|
83
|
-
"endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
|
84
|
-
"securityMode": "None",
|
85
|
-
"securityPolicy": "None",
|
86
|
-
"userIdentityType": "Anonymous",
|
87
|
-
"userName": "",
|
88
|
-
"password": "",
|
89
|
-
"userCertificate": "",
|
90
|
-
"userPrivatekey": "",
|
91
|
-
"certificate": "n",
|
92
|
-
"localfile": "",
|
93
|
-
"localkeyfile": "",
|
94
|
-
"useTransport": false,
|
95
|
-
"maxChunkCount": "1",
|
96
|
-
"maxMessageSize": "8192",
|
97
|
-
"receiveBufferSize": "8192",
|
98
|
-
"sendBufferSize": "8192",
|
99
|
-
"subscriptions": [
|
100
|
-
{
|
101
|
-
"id": "s0",
|
102
|
-
"name": "Default Subscription",
|
103
|
-
"isDefault": true,
|
104
|
-
"parameters": {
|
105
|
-
"publishingEnabled": false,
|
106
|
-
"requestedLifetimeCount": "100",
|
107
|
-
"requestedMaxKeepAliveCount": "10",
|
108
|
-
"requestedPublishingInterval": "1000",
|
109
|
-
"maxNotificationsPerPublish": "0",
|
110
|
-
"priority": "100"
|
111
|
-
}
|
112
|
-
}
|
113
|
-
]
|
114
|
-
}
|
115
|
-
]
|
File without changes
|