@opcua/for-node-red
Version:
The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team
137 lines (107 loc) • 50.7 kB
HTML
<style>
.sterfive-combo-box{position:relative;width:100%}.sterfive-online-menu{height:auto;position:fixed;width:auto}.sterfive-input-error{border-color:var(--red-ui-form-input-border-error-color)!important;border-style:solid;border-width:1px}.sterfive-typedInput-options{background:#fff;border-style:solid;border-width:1px;border:1px solid var(--red-ui-primary-border-color);box-sizing:border-box;max-height:350px;overflow-y:auto;position:absolute;white-space:nowrap;z-index:2000}.sterfive-typedInput-options a{align-items:center;border-bottom:1px solid;border-color:var(--red-ui-secondary-border-color);border-style:solid;border-width:1px;color:var(--red-ui-form-text-color);display:flex;font-size:13px;padding:6px 18px 6px 6px;text-decoration:none}.sterfive-typedInput-options a:hover{background:var(--red-ui-workspace-button-background-hover);text-decoration:none}.sterfive-typedInput-options a:focus{outline:none}.sterfive-typedInput-options a:active,.sterfive-typedInput-options a:focus{background:var(--red-ui-workspace-button-background-active);text-decoration:none}.sterfive-typedInput-options a input[type=checkbox]{margin:0 6px 0 0}.sterfive-typedInput-options .sterfive-typedInput-icon{margin-right:6px}.sterfive-typedInput-options .sterfive-typedInput-icon:not(.fa){background-color:var(--red-ui-primary-text-color);height:14px;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;width:12px}.sterfive-combo-box .sterfive-dropdown{background-color:#fff;border:1px solid #ccc;display:none;left:0;max-height:400px;overflow-y:auto;position:absolute;top:100%;width:100%;z-index:1000}.sterfive-combo-box li:before{content:none}.sterfive-tree li.expandable:before,.sterfive-tree li.no-expandable:before{content:"\f0da";cursor:pointer;font-family:FontAwesome;font-size:12pt;font-weight:900;margin-right:5px}.sterfive-tree li.no-expandable:before{opacity:0}.sterfive-tree li.expanded:before{content:"\f0d7";cursor:pointer;font-family:FontAwesome;font-size:12pt;font-weight:900;margin-right:5px}.sterfive-tree li span.selected{border:.5px dotted #33f}.sterfive-tree .fa{color:#333;margin-right:10px}.sterfive-tree ul{list-style:none;padding-inline-start:2%!important}.sterfive-tree li{cursor:pointer;padding:5px}.sterfive-tree{list-style-type:none}.sterfive-tree,.sterfive-tree ol,.sterfive-tree ul{list-style-type:none;margin:0;padding:0}.sterfive-tree li:hover{background-color:#eee}.sterfive-tree li.loading:before{animation:fa-spin 1s linear infinite;content:"\f110";cursor:pointer;font-family:FontAwesome;font-weight:900;margin-right:5px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sterfive-tree .spinner{animation:spin .7s linear infinite;border:2px solid transparent;border-radius:50%;border-top-color:#666;display:inline-block;height:16px;width:16px}.sterfive-info{background-color:#fafad2;border-radius:10px;border-style:groove;display:block;font-size:10pt;margin:5px 0;padding:5px}.sterfive-info .ok{color:green}.sterfive-info .warning{color:darkred}.input-wrapper{border:0 solid #ccc;border-radius:5px;padding:0}.sterfive-input-group{border:1px solid #ccc;border-radius:5px;display:flex;overflow:hidden}.sterfive-input-group button,.sterfive-input-group input{border:none;outline:none;padding:10px}.sterfive-input-group input{flex:1}.sterfive-input-group button{background-color:var(--red-ui-form-button-background);color:#7b7a7a;cursor:pointer}.sterfive-input-group button:hover{background-color:var(--red-ui-secondary-background-hover)}.sterfive-info-text{color:#777;font-size:12px;margin-left:10px;margin-top:5px}.custom-checkbox{cursor:pointer;display:inline-block;font-family:FontAwesome;font-size:16px;font-weight:900;margin-right:10px;text-align:center;width:1em}.custom-checkbox.unchecked:before{content:"\f096"}.custom-checkbox.checked:before{content:"\f046"}.validate-cancel-buttons{background-color:#fff;position:sticky;right:0;top:0;z-index:1001}.cancel-button,.validate-button{cursor:pointer;font-size:16px;margin:5px}.sterfive-combo-box .sterfive-dropdown{position:relative}.floating-buttons{position:fixed;z-index:1003}
/*# sourceMappingURL=OpcUa-Client2-Read.css.map */
</style>
<script type="text/javascript">
function _0x4a95(_0x1d24ab,_0x2cd8cb){const _0x4b9b24=_0x4b9b();return _0x4a95=function(_0x4a952f,_0xd6c5ba){_0x4a952f=_0x4a952f-0xd8;let _0x2d2939=_0x4b9b24[_0x4a952f];return _0x2d2939;},_0x4a95(_0x1d24ab,_0x2cd8cb);}function _0x4b9b(){const _0x470bcc=['hasClass','$toggleTreeBtn','selected','function','fetching\x20failed\x20with\x20error','before','$input','NodeClass','ns=0;i=85','<i\x20class=\x22fa\x20fa-tag\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> ','mask-image:\x20url(','$verifyBtn','Forward','off','border','next','top','sterfive-dropdown','appendTo','fetched','i=61','keydown','icon','$tree','<i\x20class=\x22fa\x20fa-font\x22/i>\x20','OpcUa-Client2-Read','/opcua-for-node-red','.red-ui-tray-body','background-color:transparent;overflow:hidden;border:3px','elements','selectedMenuItem','HasSubtype','red-ui-typedInput-icon','180px','<input\x20type=\x22checkbox\x22>','already\x20fetched','empty','SeaGreen','placeholder','<li\x20key=\x22','attr','ns=0;i=47','Value\x20is\x20not\x20verified','parentNode','node\x20class:\x20','48110IuOISS','references','err','$selectTrigger','animate','currentParent','CadetBlue','fa-object-group','bp_indexed','84472GJkVNi','ns=0;i=34','read','><i\x20class=\x22fa\x20','prop','/browse','node_label_italic','replaceWith','application/json','node\x20id\x20or\x20\x20browse\x20path\x20comes\x20from\x20injected\x20msg\x20parameter','node','ns=0;i=35','_showTypeMenu','toggle','ns=0;i=40','already\x20loading','$combo','<i\x20class=\x22fa\x20fa-id-card\x22/> \x20','nodeId','<div\x20class=\x22sterfive-info-text\x22></div>','<iframe></iframe>','Invalid','apply','Good','log','/checkNodeId','10921490GwEaCW','<li><i\x20class=\x22fa\x20fa-error\x22\x20style=\x22color:red;\x22></i>no\x20reference\x20!<ul></ul></li>','callback','nodeIds','fa-folder','focus','mode','sterfive-input-group','<div\x20class=\x22spinner\x22></div>','$inputGroup','json','$uiSelect','HasChild','<button\x20title=\x22verify\x20nodeId\x20or\x20browsePath\x22><i\x20class=\x22fa\x20fa-refresh\x22></i></button>','expandable','DataType','Object','title','<button\x20type=\x22button\x22\x20tabindex=\x220\x22></button>','<i\x20class=\x22fa\x20fa-tag\x22/>1\x20 \x20','5302PmTdAd','catch','browseResult','li\x20>\x20.tree-text','dblclick','/walk-backward','toggleClass','push','value','opc.tcp://opcuademo.sterfive.com:26543','ReferenceType','fa-text-width','TypeDefinition','<ul\x20class=\x22sterfive-tree\x22></ul>','287184biYzrc','preventDefault','true','suppressed','browseName','namespaceAliases','parent','assign','mousedown.red-ui-typedInput-focus-block','body','pageY','fa-list-alt','name','<i\x20class=\x22fa\x20fa-bookmark\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> ',';\x22></i>\x20','closest','after','done','indexOf','$dropdown','opcua','failure','change','<div/>','30px','right','</span>','length','_initMenu','expandable\x20expanded','<i\x20class=\x22red-ui-typedInput-icon\x20fa\x20fa-caret-down\x22></i>','DisplayName','nodeClass','nodeId_nsu','val','mousedown','sterfive-combo-box','remove','wrap','pointer-events','VariableType','<i\x20class=\x22fa\x20fa-bookmark\x22/> \x20','expanded','isTypeRef','<li>error\x20','BrowsePath','statusCode','/opcua-for-node-red/support-frame.html','IsForward','SuppressedError','relativePath','$info','offset','ObjectType','135820mcokhF','throw','Inverse','setMode','../../icons/opcuanodeLogo.png','nsu','$selectLabel','auto','status','nsu\x20nodeId:\x20','li[key=\x22','removeClass','BrowseName','red-ui-typedInput-focus','stopPropagation','match','forEach','endpointNode','fa-cog','position','filter','> \x20','toString','#node-input-nodeId','children','View','hide','then','each','fa-sliders','513srMlVF','error','input[type=\x22checkbox\x22]','prependTo','OPCUA\x20Client\x20Read','statusCode:\x20','data','label','#node-input-endpoint','multiple','\x22\x20style=\x22color:','30cdyPfL','scrollTop','aliasedBrowsePath','left','disarmClick','css','reset','widget','ns=0;i=61','97932nOlHmW','Method','Value','NodeId\x20with\x20namespace\x20Urn','_showMenu','absolute','<div>',':focus',');\x20-webkit-mask-image:\x20url(',':first','[value=\x27','POST','height','target','#C0DEED','referenceTypeId','browsePath','ns=0;i=46','OpcUa-Endpoint2','aliased\x20browsePath:\x20','baseUrl','<a\x20href=\x22#\x22></a>','<span\x20class=\x22red-ui-typedInput-type-label\x22></span>','sterfive-info','isSelectable','opts','$menu','3615780rFWwFt','statusText','Objects','.spinner','Unspecified','find','nsuNodeID','!!failure!!','SteelBlue','blur','keyCode','16px','displayName','append','registerType','requestedNodeId','tabindex','Variable','DodgerBlue','red-ui-typedInput-icon\x20','sterfive-input-error','75XWDbJl','75ciWRPN','options','grey','main-wrapper','rgba(61,\x2060,\x204,\x200.525)','__parentNode','addClass','Both','mousedown.red-ui-typedInput-close-property-select','endpoint','show','aliasedNodeId','click','reference','stringify','nodes','message','NodeId',':visible','prev','_hideMenu','nodeBrowser','<i\x20class=\x22fa\x20fa-envelope-open-o\x22/>','DarkOrange','none','$elementDiv','text','HasTypeDefinition','bp_aliased','loading','</li>','localeCompare','checked','trigger','nodeId_aliased'];_0x4b9b=function(){return _0x470bcc;};return _0x4b9b();}(function(_0x1be215,_0x23614d){const _0x2a3d06=_0x4a95,_0x40f0df=_0x1be215();while(!![]){try{const _0x1d0780=parseInt(_0x2a3d06(0x175))/0x1*(parseInt(_0x2a3d06(0x1ff))/0x2)+-parseInt(_0x2a3d06(0x1ae))/0x3*(-parseInt(_0x2a3d06(0x14c))/0x4)+-parseInt(_0x2a3d06(0x1af))/0x5*(-parseInt(_0x2a3d06(0x116))/0x6)+parseInt(_0x2a3d06(0x199))/0x7+-parseInt(_0x2a3d06(0xda))/0x8*(-parseInt(_0x2a3d06(0x16a))/0x9)+parseInt(_0x2a3d06(0xf4))/0xa+-parseInt(_0x2a3d06(0x108))/0xb*(parseInt(_0x2a3d06(0x17e))/0xc);if(_0x1d0780===_0x23614d)break;else _0x40f0df['push'](_0x40f0df['shift']());}catch(_0x123f1e){_0x40f0df['push'](_0x40f0df['shift']());}}}(_0x4b9b,0x8a0bb),(function(){'use strict';const _0x33c632=_0x4a95;function _0x4675a4(_0x41c501,_0x48b155,_0x3c7575,_0x5c77c3){function _0x41ed51(_0x2180b4){return _0x2180b4 instanceof _0x3c7575?_0x2180b4:new _0x3c7575(function(_0x2d6807){_0x2d6807(_0x2180b4);});}return new(_0x3c7575||(_0x3c7575=Promise))(function(_0x11433e,_0x878644){const _0x225b38=_0x4a95;function _0x15ea7f(_0x40ab21){try{_0xf5e09(_0x5c77c3['next'](_0x40ab21));}catch(_0x3f2bb){_0x878644(_0x3f2bb);}}function _0x1aa9f8(_0x14f00e){const _0x431dbb=_0x4a95;try{_0xf5e09(_0x5c77c3[_0x431dbb(0x14d)](_0x14f00e));}catch(_0x17fa72){_0x878644(_0x17fa72);}}function _0xf5e09(_0x7d0299){const _0x1480ee=_0x4a95;_0x7d0299[_0x1480ee(0x127)]?_0x11433e(_0x7d0299[_0x1480ee(0x110)]):_0x41ed51(_0x7d0299['value'])[_0x1480ee(0x167)](_0x15ea7f,_0x1aa9f8);}_0xf5e09((_0x5c77c3=_0x5c77c3[_0x225b38(0xf0)](_0x41c501,_0x48b155||[]))['next']());});}typeof SuppressedError===_0x33c632(0x1d5)?SuppressedError:function(_0x42fd9b,_0x1c8273,_0xe03385){const _0x21d71f=_0x33c632;var _0x173c1b=new Error(_0xe03385);return _0x173c1b[_0x21d71f(0x122)]=_0x21d71f(0x147),_0x173c1b[_0x21d71f(0x16b)]=_0x42fd9b,_0x173c1b[_0x21d71f(0x119)]=_0x1c8273,_0x173c1b;};const _0x5f4ed0=_0x33c632(0xe5),_0x25b802=_0x33c632(0x17d),_0xb74c8d=_0x33c632(0x1fb),_0x5bb876=_0x33c632(0x18f),_0x234e81=_0x33c632(0xdb),_0x3ac87b='ns=0;i=45',_0x570bc1=_0x33c632(0xe8);var _0xbc41a4;(function(_0x488820){const _0x37d9c0=_0x33c632;_0x488820[_0x488820['Forward']=0x0]=_0x37d9c0(0x1de),_0x488820[_0x488820[_0x37d9c0(0x14e)]=0x1]='Inverse',_0x488820[_0x488820['Both']=0x2]=_0x37d9c0(0x1b6),_0x488820[_0x488820[_0x37d9c0(0xef)]=0x3]=_0x37d9c0(0xef);}(_0xbc41a4||(_0xbc41a4={})));var _0x37c495;(function(_0x5d11cb){const _0x1721da=_0x33c632;_0x5d11cb[_0x5d11cb['Unspecified']=0x0]=_0x1721da(0x19d),_0x5d11cb[_0x5d11cb[_0x1721da(0x104)]=0x1]=_0x1721da(0x104),_0x5d11cb[_0x5d11cb['Variable']=0x2]=_0x1721da(0x1aa),_0x5d11cb[_0x5d11cb[_0x1721da(0x17f)]=0x4]=_0x1721da(0x17f),_0x5d11cb[_0x5d11cb[_0x1721da(0x14b)]=0x8]=_0x1721da(0x14b),_0x5d11cb[_0x5d11cb[_0x1721da(0x13e)]=0x10]='VariableType',_0x5d11cb[_0x5d11cb[_0x1721da(0x112)]=0x20]='ReferenceType',_0x5d11cb[_0x5d11cb['DataType']=0x40]=_0x1721da(0x103),_0x5d11cb[_0x5d11cb[_0x1721da(0x165)]=0x80]=_0x1721da(0x165);}(_0x37c495||(_0x37c495={})));var _0x39df38;(function(_0x454554){const _0x1a5040=_0x33c632;_0x454554[_0x454554['Object']=0x1]=_0x1a5040(0x104),_0x454554[_0x454554[_0x1a5040(0x1aa)]=0x2]='Variable',_0x454554[_0x454554[_0x1a5040(0x17f)]=0x4]=_0x1a5040(0x17f),_0x454554[_0x454554[_0x1a5040(0x14b)]=0x8]=_0x1a5040(0x14b),_0x454554[_0x454554['VariableType']=0x10]=_0x1a5040(0x13e),_0x454554[_0x454554[_0x1a5040(0x112)]=0x20]=_0x1a5040(0x112),_0x454554[_0x454554[_0x1a5040(0x103)]=0x40]=_0x1a5040(0x103),_0x454554[_0x454554[_0x1a5040(0x165)]=0x80]=_0x1a5040(0x165);}(_0x39df38||(_0x39df38={})));var _0xfdc18a;(function(_0x126a84){const _0x73d6ff=_0x33c632;_0x126a84[_0x126a84[_0x73d6ff(0x112)]=0x1]=_0x73d6ff(0x112),_0x126a84[_0x126a84[_0x73d6ff(0x146)]=0x2]=_0x73d6ff(0x146),_0x126a84[_0x126a84[_0x73d6ff(0x1d9)]=0x4]='NodeClass',_0x126a84[_0x126a84[_0x73d6ff(0x158)]=0x8]=_0x73d6ff(0x158),_0x126a84[_0x126a84[_0x73d6ff(0x135)]=0x10]=_0x73d6ff(0x135),_0x126a84[_0x126a84[_0x73d6ff(0x114)]=0x20]=_0x73d6ff(0x114);}(_0xfdc18a||(_0xfdc18a={})));function _0x3f914e(_0x1984a1){const _0x3f210e=_0x33c632;switch(_0x1984a1){case'Organizes':return _0x5f4ed0;case'HasProperty':return _0x5bb876;case'HasComponent':return _0xb74c8d;case _0x3f210e(0x100):return _0x234e81;case _0x3f210e(0x1f1):return _0x3ac87b;case _0x3f210e(0x1ca):return _0x570bc1;}}const _0xcb7ad4=_0x5142af=>{const _0x8063d6=_0x33c632;switch(_0x5142af[_0x8063d6(0x136)]){case _0x8063d6(0x104):if(_0x5142af[_0x8063d6(0x18d)]===_0x5f4ed0);if(_0x5142af['typeDefinition']===_0x25b802||_0x5142af[_0x8063d6(0x18d)]===_0x8063d6(0x1e6))return{'icon':_0x8063d6(0xf8),'color':_0x8063d6(0x1b3)};return{'icon':'fa-object-group','color':_0x8063d6(0x1f7)};case _0x8063d6(0x1aa):if(_0x5142af[_0x8063d6(0x18d)]===_0xb74c8d)return{'icon':'fa-list-alt','color':_0x8063d6(0x1a1)};else return _0x5142af['referenceTypeId']===_0x5bb876?{'icon':_0x8063d6(0x121),'color':_0x8063d6(0x1ab)}:{'icon':_0x8063d6(0x121),'color':_0x8063d6(0x205)};case _0x8063d6(0x17f):return{'icon':_0x8063d6(0x15e),'color':'SandyBrown'};case _0x8063d6(0x14b):return{'icon':_0x8063d6(0xd8),'color':_0x8063d6(0x1c6)};case'VariableType':return{'icon':_0x8063d6(0x169),'color':_0x8063d6(0x1c6)};case _0x8063d6(0x103):return{'icon':_0x8063d6(0x113),'color':_0x8063d6(0x205)};}return{'icon':'fa-question','color':_0x8063d6(0x1b1)};},_0x4c3d31=(_0x20afde,_0x52b562,_0x444e28)=>_0x4675a4(void 0x0,[_0x20afde,_0x52b562,_0x444e28],void 0x0,function*({endpointNode:_0x5e540d,endpoint:_0x5d2837,baseUrl:_0x2ca9e2},_0x47b9e9,_0x260fab){const _0x51da1e=_0x33c632,_0x30b16a=_0x2ca9e2+'/opcua-for-node-red',_0x7427ad=_0x30b16a+_0x51da1e(0xdf),_0x4944b9=Object[_0x51da1e(0x11d)](Object[_0x51da1e(0x11d)]({},_0x260fab),{'nodeId':_0x47b9e9,'resultMask':0x3f}),_0x213d82=yield fetch(_0x7427ad,{'method':_0x51da1e(0x189),'body':JSON[_0x51da1e(0x1bd)]({'endpointNode':_0x5e540d,'endpoint':_0x5d2837,'browseDescription':_0x4944b9}),'headers':{'Content-Type':_0x51da1e(0xe2)}});if(_0x213d82[_0x51da1e(0x154)]!==0xc8)return console['log'](_0x51da1e(0x1d6),_0x213d82['status'],_0x213d82[_0x51da1e(0x19a)]),{'references':[]};const _0x37e436=yield _0x213d82[_0x51da1e(0xfe)](),_0x5c4cf1=_0x37e436[_0x51da1e(0x10a)][_0x51da1e(0x200)]||[];return{'references':_0x5c4cf1};}),_0x1dff86={'referenceTypeId':_0x3f914e(_0x33c632(0x100)),'includeSubtypes':!![],'browseDirection':_0xbc41a4['Forward'],'nodeClassMask':_0x37c495[_0x33c632(0x1aa)]|_0x37c495[_0x33c632(0x104)]|_0x37c495[_0x33c632(0x17f)],'resultMask':0x3f},_0x508162={'referenceTypeId':_0x3f914e('Organizes'),'includeSubtypes':!![],'browseDirection':_0xbc41a4['Forward'],'nodeClassMask':_0x37c495['Variable']|_0x37c495[_0x33c632(0x104)]|_0x37c495[_0x33c632(0x17f)],'resultMask':0x3f},_0x450fd2=(_0x396c7f,_0x7b48bd)=>_0x4675a4(void 0x0,[_0x396c7f,_0x7b48bd],void 0x0,function*({endpointNode:_0x486996,endpoint:_0x18aaf2,baseUrl:_0xc463cd},{nodeId:_0x575943,rootNodeId:_0x34415f,isType:_0x27e3a3}){const _0x1a2f72=_0x33c632,_0x7ff521=_0xc463cd+'/opcua-for-node-red',_0x19d8b8=_0x7ff521+_0x1a2f72(0x10d),_0x52c3e2=yield fetch(_0x19d8b8,{'method':_0x1a2f72(0x189),'body':JSON[_0x1a2f72(0x1bd)]({'endpointNode':_0x486996,'endpoint':_0x18aaf2,'nodeId':_0x575943,'rootNodeId':_0x34415f,'isType':_0x27e3a3}),'headers':{'Content-Type':_0x1a2f72(0xe2)}});if(_0x52c3e2[_0x1a2f72(0x154)]!==0xc8)return null;const _0x5dc045=yield _0x52c3e2[_0x1a2f72(0xfe)]();return _0x5dc045[_0x1a2f72(0x18e)];}),_0x2e3803=(_0x278e28,_0x32b4dc)=>{const _0x46019d=_0x33c632;if(_0x278e28[_0x46019d(0x144)]!==_0x46019d(0xf1))return _0x278e28[_0x46019d(0x1a8)];switch(_0x32b4dc){case _0x46019d(0x18e):return _0x278e28[_0x46019d(0xd9)];case _0x46019d(0x177):return _0x278e28['bp_aliased']||_0x278e28[_0x46019d(0xd9)];case _0x46019d(0x1ba):return _0x278e28[_0x46019d(0x1d1)]||_0x278e28[_0x46019d(0x137)];case _0x46019d(0x19f):return _0x278e28[_0x46019d(0x137)];default:case _0x46019d(0xec):return _0x278e28[_0x46019d(0xec)];}},_0x5c54b9=_0x341eb2=>{const _0x45ac4f=_0x33c632;if(_0x341eb2[_0x45ac4f(0x144)]!==_0x45ac4f(0xf1))return _0x45ac4f(0x16f)+_0x341eb2['statusCode'];else{let _0xd7cd44=[];return _0xd7cd44[_0x45ac4f(0x10f)]('nodeId:\x20'+_0x341eb2['nodeId']),_0xd7cd44['push']('browse\x20path:\x20'+_0x341eb2[_0x45ac4f(0xd9)]),_0xd7cd44['push'](_0x45ac4f(0x1fe)+_0x37c495[_0x341eb2['nodeClass']]),_0x341eb2[_0x45ac4f(0x137)]&&_0xd7cd44['push'](_0x45ac4f(0x155)+_0x341eb2['nodeId_nsu']),_0x341eb2[_0x45ac4f(0x1d1)]&&_0xd7cd44[_0x45ac4f(0x10f)]('aliased\x20NodeId:\x20'+_0x341eb2[_0x45ac4f(0x1d1)]),_0x341eb2[_0x45ac4f(0xd9)]&&_0xd7cd44['push'](_0x45ac4f(0x191)+_0x341eb2[_0x45ac4f(0x1cb)]),_0xd7cd44['join']('\x0a');}};function _0x12b55a(_0x59dd11){const _0x13ae73=_0x33c632;if(_0x59dd11['match'](/^nsu=/))return _0x13ae73(0x19f);if(_0x59dd11[_0x13ae73(0x15b)](/^(ns=.*;)?(i|b|s|g)=/))return'nodeId';if(_0x59dd11[_0x13ae73(0x15b)](/^nsa=/))return _0x13ae73(0x1ba);if(_0x59dd11[_0x13ae73(0x15b)](/^(\/|\.)[0-9]+:/))return'browsePath';if(_0x59dd11['match'](/^(\/|\.).*:/))return _0x13ae73(0x18e);}function _0x35a1c9(_0x8112f3){const _0x1ef7b1=_0x33c632,_0x103613=_0x12b55a(_0x8112f3);switch(_0x103613){case'nodeId':return'n';case _0x1ef7b1(0x1ba):return'na';case _0x1ef7b1(0x19f):return _0x1ef7b1(0x151);case _0x1ef7b1(0x18e):return'b';case _0x1ef7b1(0x177):return'ab';default:return't';}}function _0x4a92c9(_0x444ee7){const _0x1acbbf=_0x33c632;let _0x19a3cd;switch(_0x444ee7){case'n':_0x19a3cd=_0x1acbbf(0xec);break;case'na':_0x19a3cd=_0x1acbbf(0x1ba);break;case _0x1acbbf(0x151):_0x19a3cd='nsuNodeID';break;case'b':_0x19a3cd='browsePath';break;case'ab':_0x19a3cd=_0x1acbbf(0x177);break;}return _0x19a3cd;}function _0x1a1eb3(_0x4020de){const _0x2afff4=_0x33c632;switch(_0x4020de){case _0x2afff4(0xec):return'n';case _0x2afff4(0x1ba):return'na';case _0x2afff4(0x19f):return _0x2afff4(0x151);case _0x2afff4(0x18e):return'b';case'aliasedBrowsePath':return'ab';default:return't';}}const _0x2caaef=(_0x40387a,_0x2964c4)=>_0x4675a4(void 0x0,[_0x40387a,_0x2964c4],void 0x0,function*({endpointNode:_0x2d6732,endpoint:_0xa397a1,baseUrl:_0x3f901d},_0x2dc44c){const _0x3a6d10=_0x33c632,_0x26a899=_0x3f901d+_0x3a6d10(0x1ec),_0x1deb19=_0x26a899+_0x3a6d10(0xf3),_0x32c6ba=_0x2d6732['id'],_0x2bf3cf=RED['nodes'][_0x3a6d10(0xe4)](_0x32c6ba);console[_0x3a6d10(0xf2)](_0x2bf3cf[_0x3a6d10(0x11b)]),_0x2bf3cf[_0x3a6d10(0x11b)];const _0x42889f=_0x2d6732[_0x3a6d10(0x11b)],_0x40efd5=yield fetch(_0x1deb19,{'method':'POST','body':JSON[_0x3a6d10(0x1bd)]({'endpointNode':_0x2d6732,'endpoint':_0xa397a1,'nodeId':_0x2dc44c,'namespaceAliases':_0x42889f}),'headers':{'Content-Type':'application/json'}}),_0x3ee432=yield _0x40efd5[_0x3a6d10(0xfe)]();return{'json':_0x3ee432,'data':_0x40efd5};}),_0x1dc961=(_0xbfadcb,_0x29322b,_0x5412df,_0xb0a84b)=>_0x4675a4(void 0x0,[_0xbfadcb,_0x29322b,_0x5412df,_0xb0a84b],void 0x0,function*({endpointNode:_0xb97191,endpoint:_0x193390,baseUrl:_0x33dc46},_0x343ca6,_0x3f059f,_0x505794){const _0x4efaa3=_0x33c632,_0x48b78e=_0x3f059f[_0x4efaa3(0x138)](),{json:_0x2e2d0a,data:_0x47a084}=yield _0x2caaef({'endpointNode':_0xb97191,'endpoint':_0x193390,'baseUrl':_0x33dc46},_0x48b78e),_0x1a4302=(_0x1d27d2,_0x48add2)=>{const _0x23ac1a=_0x4efaa3;_0x505794[_0x23ac1a(0x1c9)](_0x1d27d2)[_0x23ac1a(0x1b5)](_0x23ac1a(0x195))[_0x23ac1a(0x1b5)](_0x48add2),_0x505794['show'](),setTimeout(()=>{const _0x14ffee=_0x23ac1a;_0x505794[_0x14ffee(0x157)](_0x48add2),_0x505794[_0x14ffee(0x166)]();},0xbb8);};if(_0x47a084['status']!==0xc8)return _0x1a4302(_0x4efaa3(0x1a0)+_0x48b78e,_0x4efaa3(0x12b)),![];else{if(_0x2e2d0a[_0x4efaa3(0x144)][_0x4efaa3(0x15b)](/Good/)){const _0x12d346=_0x5c54b9(_0x2e2d0a);_0x3f059f[_0x4efaa3(0x1fa)](_0x4efaa3(0x105),_0x12d346);const _0x172ec1=_0x2e3803(_0x2e2d0a,_0x343ca6);return _0x3f059f['val'](_0x172ec1),_0x3f059f[_0x4efaa3(0x1d0)]('change'),_0x1a4302(_0x4efaa3(0xf1),'ok'),!![];}else return _0x3f059f[_0x4efaa3(0x138)](''+_0x48b78e),_0x1a4302(_0x2e2d0a[_0x4efaa3(0x144)]+'\x20'+_0x47a084[_0x4efaa3(0x19a)],_0x4efaa3(0x12b)),![];}});function _0x383435(_0x48838e,_0x318f74){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0x58f326=_0x4a95,_0x4c912f=_0x48838e[_0x58f326(0x170)](_0x58f326(0x110)),_0x48cd03=yield _0x4c3d31(_0x318f74,_0x4c912f,_0x1dff86),_0x4de864=yield _0x4c3d31(_0x318f74,_0x4c912f,_0x508162);return{'references':[..._0x48cd03[_0x58f326(0x200)],..._0x4de864[_0x58f326(0x200)]]};});}const _0x202921={'referenceTypeId':_0x3f914e(_0x33c632(0x1f1)),'includeSubtypes':!![],'browseDirection':_0xbc41a4[_0x33c632(0x1de)],'nodeClassMask':_0x37c495[_0x33c632(0x112)]|_0x37c495[_0x33c632(0x14b)]|_0x37c495[_0x33c632(0x103)]|_0x37c495[_0x33c632(0x13e)],'resultMask':0x3f};function _0x1e8653(_0x172c4a,_0x2bf874){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0x3e8958=_0x4a95,_0x132e35=_0x172c4a[_0x3e8958(0x170)]('value'),_0x3366b8=yield _0x4c3d31(_0x2bf874,_0x132e35,_0x202921);return _0x3366b8;});}const _0x227b71=_0xa9d41d=>{const _0x1085e2=_0x33c632;var _0x16a1c8,_0x4b36a2,_0x318e11,_0x12b4ec;if(!_0xa9d41d||!_0xa9d41d[_0x1085e2(0xec)]){const _0x53b2ca=$(_0x1085e2(0xf5));return _0x53b2ca;}const _0x124756=_0xa9d41d[_0x1085e2(0xec)][_0x1085e2(0x162)](),_0x225412=((_0x16a1c8=_0xa9d41d['displayName'])===null||_0x16a1c8===void 0x0?void 0x0:_0x16a1c8[_0x1085e2(0x1c9)])||((_0x4b36a2=_0xa9d41d[_0x1085e2(0x11a)])===null||_0x4b36a2===void 0x0?void 0x0:_0x4b36a2['name'])||_0xa9d41d[_0x1085e2(0xec)][_0x1085e2(0x162)](),{icon:_0x580719,color:_0x41846e}=_0xcb7ad4(_0xa9d41d),_0x6e7e6c='('+_0xa9d41d[_0x1085e2(0xec)]['toString']()+')\x20'+(((_0x318e11=_0xa9d41d['browseName'])===null||_0x318e11===void 0x0?void 0x0:_0x318e11[_0x1085e2(0x122)])||((_0x12b4ec=_0xa9d41d[_0x1085e2(0x1a5)])===null||_0x12b4ec===void 0x0?void 0x0:_0x12b4ec[_0x1085e2(0x1c9)])||''),_0x599dfa=$(_0x1085e2(0x1f9)+_0xa9d41d[_0x1085e2(0xec)][_0x1085e2(0x162)]()+'\x22}><span\x20class=\x22tree-text\x22\x20title='+_0x6e7e6c+_0x1085e2(0xdd)+_0x580719+_0x1085e2(0x174)+_0x41846e+_0x1085e2(0x124)+_0x225412+'</span><ul></ul></li>');return _0x599dfa[_0x1085e2(0x1b5)]('expandable'),_0x599dfa[_0x1085e2(0x170)](_0x1085e2(0x110),_0x124756),_0x599dfa[_0x1085e2(0x170)](_0x1085e2(0x1bc),_0xa9d41d),_0x599dfa;},_0x26b325=(_0x5a6e0f,_0x52fa68)=>{const _0x15c50=_0x33c632;return _0x52fa68[_0x15c50(0x19e)](_0x15c50(0x156)+_0x5a6e0f+'\x22]');},_0x1afc7d=(_0x1137f5,_0x5755e6)=>{const _0x533917=_0x33c632;_0x1137f5['$tree']['find'](_0x533917(0x10b))['removeClass'](_0x533917(0x1d4)),_0x5755e6[_0x533917(0x19e)]('.tree-text:first')['addClass']('selected');},_0x5c5ad7=(_0x23c95d,_0x1a9b25,_0x149c17)=>_0x4675a4(void 0x0,void 0x0,void 0x0,function*(){const _0x17b74d=_0x33c632;let _0x49c728=_0x149c17[_0x17b74d(0x164)](_0x17b74d(0x187));_0x1a9b25[_0x17b74d(0x148)][_0x17b74d(0x1ef)]||[];const _0x58b8ed=_0x1a9b25[_0x17b74d(0xf7)]||[];if(_0x58b8ed['length']===0x0)return;for(const _0xc917cc of _0x58b8ed){_0x49c728[_0x17b74d(0x1d2)](_0x17b74d(0x102))&&(yield _0x2471ae(_0x23c95d,_0x49c728));const _0x338059=_0x26b325(_0xc917cc,_0x49c728);if(_0x338059[_0x17b74d(0x131)]===0x0)return;_0x49c728=_0x338059;}_0x1afc7d(_0x23c95d,_0x49c728),_0x1df6f1(_0x23c95d['$dropdown'],_0x49c728);});function _0x1df6f1(_0x27eff4,_0x2e32e6){const _0x5dab12=_0x33c632,_0x19a71a=_0x2e32e6[_0x5dab12(0x15f)]()[_0x5dab12(0x1e2)],_0x46c182=_0x27eff4['scrollTop']();if(_0x46c182==undefined)return;const _0xa26480=_0x46c182+_0x19a71a-_0x27eff4[_0x5dab12(0x18a)]()/0x2+_0x2e32e6[_0x5dab12(0x18a)]()/0x2;_0x27eff4[_0x5dab12(0x203)]({'scrollTop':_0xa26480},0x1f4);}const _0x1f7d1f=(_0x68445b,_0x168735)=>_0x4675a4(void 0x0,void 0x0,void 0x0,function*(){const _0x5e2758=_0x33c632,_0x47d23a=_0x68445b['$input'][_0x5e2758(0x138)](),_0x20499b={'nodeId':_0x47d23a,'rootNodeId':_0x168735[_0x5e2758(0xec)],'isType':_0x68445b['options'][_0x5e2758(0x141)]||![]},_0x3c893e=_0x36b450(_0x68445b),_0x15d10b=yield _0x450fd2(_0x3c893e,_0x20499b);if(!_0x15d10b)return;yield _0x5c5ad7(_0x68445b,_0x15d10b,_0x68445b[_0x5e2758(0x1e9)]);});function _0x1a0a98(_0x2e25fc,_0x1f4c9e,_0x3def0a,_0x173568){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0x5c11ce=_0x4a95;if(_0x1f4c9e[_0x5c11ce(0x1d2)](_0x5c11ce(0x1e5))){console['log'](_0x5c11ce(0x1f5));return;}if(_0x1f4c9e['hasClass'](_0x5c11ce(0x1cc))){console['log'](_0x5c11ce(0xe9));return;}_0x1f4c9e[_0x5c11ce(0x1b5)](_0x5c11ce(0x1cc)),_0x1f4c9e[_0x5c11ce(0x1a6)](_0x5c11ce(0xfc));try{_0x1f4c9e[_0x5c11ce(0x164)]('ul')[_0x5c11ce(0x1f6)]();const {references:_0x4729e5}=yield _0x3def0a(_0x1f4c9e,_0x173568);_0x4729e5['sort']((_0x49d46c,_0x42d206)=>{const _0x1fad21=_0x5c11ce;var _0x37bcc8,_0x2729f1;return(((_0x37bcc8=_0x49d46c['browseName'])===null||_0x37bcc8===void 0x0?void 0x0:_0x37bcc8[_0x1fad21(0x122)])||'')[_0x1fad21(0x1ce)](((_0x2729f1=_0x42d206[_0x1fad21(0x11a)])===null||_0x2729f1===void 0x0?void 0x0:_0x2729f1[_0x1fad21(0x122)])||'');});for(const _0x4410c4 of _0x4729e5){if(_0x2e25fc[_0x5c11ce(0x1b0)][_0x5c11ce(0x160)]&&!_0x2e25fc[_0x5c11ce(0x1b0)]['filter'](_0x4410c4))continue;const _0x5d1662=_0x227b71(_0x4410c4);_0x1f4c9e['children']('ul')[_0x5c11ce(0x1a6)](_0x5d1662);}_0x1f4c9e[_0x5c11ce(0x1b5)](_0x5c11ce(0x1e5));}catch(_0x3d65a7){_0x1f4c9e[_0x5c11ce(0x164)]('ul')['append'](_0x5c11ce(0x142)+_0x3d65a7[_0x5c11ce(0x1bf)]+_0x5c11ce(0x1cd)),console[_0x5c11ce(0xf2)](_0x5c11ce(0x201),_0x3d65a7);}_0x1f4c9e['find'](_0x5c11ce(0x19c))['remove'](),_0x1f4c9e['removeClass'](_0x5c11ce(0x1cc));});}function _0x36b450(_0x310d03){const _0x11dd47=_0x33c632,_0x553d2e={'baseUrl':_0x310d03[_0x11dd47(0x1b0)][_0x11dd47(0x192)],'endpointNode':typeof _0x310d03['options'][_0x11dd47(0x15d)]==='function'?_0x310d03[_0x11dd47(0x1b0)]['endpointNode']():_0x310d03['options'][_0x11dd47(0x15d)],'endpoint':typeof _0x310d03[_0x11dd47(0x1b0)]['endpoint']===_0x11dd47(0x1d5)?_0x310d03[_0x11dd47(0x1b0)][_0x11dd47(0x1b8)]():_0x310d03['options'][_0x11dd47(0x1b8)]};return _0x553d2e;}function _0x2471ae(_0x2ed625,_0x216942){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0xf6fec7=_0x4a95;if(_0x216942[_0xf6fec7(0x1d2)]('fetched')){_0x216942[_0xf6fec7(0x157)](_0xf6fec7(0x102))[_0xf6fec7(0x1b5)]('expanded'),_0x216942[_0xf6fec7(0x164)]('ul')[_0xf6fec7(0xe7)]();return;}const _0x15b5d5=_0x36b450(_0x2ed625),_0x5992dd=!_0x2ed625[_0xf6fec7(0x1b0)][_0xf6fec7(0x141)]?_0x383435:_0x1e8653;try{yield _0x1a0a98(_0x2ed625,_0x216942,_0x5992dd,_0x15b5d5),_0x216942[_0xf6fec7(0x157)](_0xf6fec7(0x102))[_0xf6fec7(0x1b5)](_0xf6fec7(0x140));}catch(_0x1bafc4){_0x216942[_0xf6fec7(0x157)](_0xf6fec7(0x102))[_0xf6fec7(0x1b5)](_0xf6fec7(0x140)),console['log'](_0xf6fec7(0x16b),_0x1bafc4);}});}const _0xd5cdd={'browseName':{'namespaceIndex':0x0,'name':_0x33c632(0x19b)},'nodeClass':'Object','nodeId':_0x33c632(0x1da),'displayName':{'text':'Objects'},'typeDefinition':_0x25b802},_0x451783=()=>{const _0x493e64=_0x33c632;$[_0x493e64(0x17c)]('sterfive.nodeBrowser',{'options':{'endpointNode':()=>({'endpoint':_0x493e64(0x111)}),'endpoint':()=>undefined,'parentNode':()=>_0xd5cdd,'filter':()=>!![],'baseUrl':'','isTypeRef':![]},'resolveParentNode'(){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0x2b1da8=_0x4a95,_0x4bc4d4=this;if(_0x4bc4d4[_0x2b1da8(0x1b4)]==undefined){const _0x2179f4=typeof _0x4bc4d4[_0x2b1da8(0x1b0)][_0x2b1da8(0x1fd)]===_0x2b1da8(0x1d5)?_0x4bc4d4[_0x2b1da8(0x1b0)]['parentNode']['call'](_0x4bc4d4):_0x4bc4d4[_0x2b1da8(0x1b0)]['parentNode'];if(_0x2179f4 instanceof Promise){const _0x1022fc=yield _0x2179f4;_0x4bc4d4[_0x2b1da8(0x1b4)]=_0x1022fc;}else _0x4bc4d4[_0x2b1da8(0x1b4)]=_0x2179f4;}return _0x4bc4d4[_0x2b1da8(0x1b4)]||_0xd5cdd;});},'reset'(){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0x4187a6=_0x4a95,_0x4bd536=this,_0x11dbca=_0x4bd536;_0x11dbca['__parentNode']=undefined,_0x4bd536[_0x4187a6(0x1e9)][_0x4187a6(0x1f6)]();const _0xd040d2=yield this['resolveParentNode'](),_0x4a8622=_0x227b71(_0xd040d2);_0x4bd536['$tree'][_0x4187a6(0x1a6)](_0x4a8622),_0x4bd536[_0x4187a6(0x204)]=_0xd040d2;});},'verify'(_0x332047){const _0x5b5daf=_0x493e64,_0x210c83=this,_0x1a22da=_0x36b450(_0x210c83);_0x1dc961(_0x1a22da,_0x332047,_0x210c83[_0x5b5daf(0x1d8)],_0x210c83['$info'])[_0x5b5daf(0x167)](_0x1b7a35=>{const _0x43c688=_0x5b5daf;!_0x1b7a35?_0x210c83[_0x43c688(0xea)]['addClass'](_0x43c688(0x1ad)):_0x210c83['$combo']['removeClass'](_0x43c688(0x1ad));});},'_hideMenu'(_0x195232){const _0x347ef4=_0x493e64,_0x571e75=this;$(document)[_0x347ef4(0x1df)](_0x347ef4(0x1b7)),_0x195232[_0x347ef4(0x166)](),_0x195232[_0x347ef4(0x17a)]({'height':_0x347ef4(0x153)});if(_0x195232[_0x347ef4(0x197)]['multiple']){var _0x49924b=[];_0x195232[_0x347ef4(0x19e)](_0x347ef4(0x16c))[_0x347ef4(0x168)](function(){const _0x39b820=_0x347ef4;$(this)[_0x39b820(0xde)](_0x39b820(0x1cf))&&_0x49924b[_0x39b820(0x10f)]($(this)[_0x39b820(0x170)]('value'));}),_0x195232[_0x347ef4(0xf6)](_0x49924b);}_0x571e75[_0x347ef4(0x1c8)]['is'](_0x347ef4(0x1c1))?_0x571e75[_0x347ef4(0x1d8)][_0x347ef4(0x1d0)](_0x347ef4(0xf9)):_0x571e75[_0x347ef4(0x202)][_0x347ef4(0x1d0)](_0x347ef4(0xf9));},'_createMenu'(_0x10f342,_0x325f0d,_0x385a2){const _0x3c8ca1=_0x493e64;var _0x2eaab2=this;const _0x4b8071=$(_0x3c8ca1(0x184))[_0x3c8ca1(0x1b5)]('sterfive-typedInput-options\x20sterfive-online-menu');return _0x4b8071['opts']=_0x325f0d,_0x4b8071[_0x3c8ca1(0xf6)]=_0x385a2,_0x10f342[_0x3c8ca1(0x15c)](_0x3eb2f3=>{const _0x3766dc=_0x3c8ca1;typeof _0x3eb2f3==='string'&&(_0x3eb2f3={'value':_0x3eb2f3,'label':_0x3eb2f3});var _0x1dff08=$(_0x3766dc(0x193))[_0x3766dc(0x1fa)](_0x3766dc(0x110),_0x3eb2f3['value'])['appendTo'](_0x4b8071);_0x3eb2f3[_0x3766dc(0x171)]&&_0x1dff08[_0x3766dc(0x1c9)](_0x3eb2f3['label']);_0x3eb2f3[_0x3766dc(0x105)]&&_0x1dff08[_0x3766dc(0xde)]('title',_0x3eb2f3[_0x3766dc(0x105)]);if(_0x3eb2f3[_0x3766dc(0x1e8)]){if(_0x3eb2f3['icon'][_0x3766dc(0x128)]('<')===0x0)$(_0x3eb2f3[_0x3766dc(0x1e8)])[_0x3766dc(0x16d)](_0x1dff08);else _0x3eb2f3[_0x3766dc(0x1e8)][_0x3766dc(0x128)]('/')!==-0x1?$('<i>',{'class':_0x3766dc(0x1f2),'style':_0x3766dc(0x1dc)+_0x3eb2f3[_0x3766dc(0x1e8)]+_0x3766dc(0x186)+_0x3eb2f3[_0x3766dc(0x1e8)]+');'})[_0x3766dc(0x16d)](_0x1dff08):$('<i>',{'class':_0x3766dc(0x1ac)+_0x3eb2f3[_0x3766dc(0x1e8)]})[_0x3766dc(0x16d)](_0x1dff08);}else _0x1dff08[_0x3766dc(0x17a)]({'paddingLeft':'18px'});!_0x3eb2f3[_0x3766dc(0x1e8)]&&!_0x3eb2f3[_0x3766dc(0x171)]&&_0x1dff08['text'](_0x3eb2f3[_0x3766dc(0x110)]);var _0x54515d;_0x325f0d[_0x3766dc(0x173)]&&(_0x54515d=$(_0x3766dc(0x1f4))[_0x3766dc(0x17a)](_0x3766dc(0x13d),_0x3766dc(0x1c7))[_0x3766dc(0x170)](_0x3766dc(0x110),_0x3eb2f3[_0x3766dc(0x110)])[_0x3766dc(0x16d)](_0x1dff08)['on'](_0x3766dc(0x139),function(_0x4ddc3a){const _0x56948c=_0x3766dc;_0x4ddc3a[_0x56948c(0x117)]();})),_0x1dff08['on']('click',function(_0x1b71a9){const _0x20c5e3=_0x3766dc;_0x1b71a9[_0x20c5e3(0x117)](),_0x1b71a9['stopPropagation'](),!_0x325f0d[_0x20c5e3(0x173)]?(_0x385a2(_0x3eb2f3['value']),_0x2eaab2[_0x20c5e3(0x1c3)](_0x4b8071)):_0x54515d[_0x20c5e3(0xde)](_0x20c5e3(0x1cf),!_0x54515d[_0x20c5e3(0xde)]('checked'));});}),_0x4b8071[_0x3c8ca1(0x17a)]({'display':'none'}),_0x4b8071['on'](_0x3c8ca1(0x1e7),function(_0x5dbbcb){const _0x5705f4=_0x3c8ca1;if(_0x5dbbcb[_0x5705f4(0x1a3)]===0x28)_0x5dbbcb[_0x5705f4(0x117)](),$(this)[_0x5705f4(0x164)](_0x5705f4(0x185))[_0x5705f4(0x1e1)]()[_0x5705f4(0x1d0)](_0x5705f4(0xf9));else{if(_0x5dbbcb['keyCode']===0x26)_0x5dbbcb[_0x5705f4(0x117)](),$(this)[_0x5705f4(0x164)](_0x5705f4(0x185))[_0x5705f4(0x1c2)]()['trigger']('focus');else _0x5dbbcb['keyCode']===0x1b&&(_0x5dbbcb[_0x5705f4(0x117)](),_0x2eaab2[_0x5705f4(0x1c3)](_0x4b8071));}_0x5dbbcb[_0x5705f4(0x15a)]();}),_0x4b8071;},'disarmClick':![],'_showMenu'(_0x3c0306,_0x12d344){const _0x511089=_0x493e64;if(this['disarmClick']){this[_0x511089(0x179)]=![];return;}var _0x41843f=this,_0x32527c=_0x12d344[_0x511089(0x14a)](),_0x297a06=_0x12d344[_0x511089(0x18a)](),_0x535bcb=_0x3c0306['height'](),_0x5b2020=_0x297a06+_0x32527c['top'];_0x5b2020+_0x535bcb-$(document)[_0x511089(0x176)]()>$(window)['height']()&&(_0x5b2020-=_0x5b2020+_0x535bcb-$(window)[_0x511089(0x18a)]()+0x5),_0x5b2020<0x0&&(_0x3c0306[_0x511089(0x18a)](_0x535bcb+_0x5b2020),_0x5b2020=0x0),_0x3c0306[_0x511089(0x17a)]({'top':_0x5b2020+'px','left':_0x32527c[_0x511089(0x178)]+'px'}),_0x3c0306['slideDown'](0x64),this['_delay'](function(){const _0x2f6600=_0x511089;_0x41843f[_0x2f6600(0xff)]['addClass'](_0x2f6600(0x159)),$(document)['on']('mousedown.red-ui-typedInput-close-property-select',function(_0x3c1756){const _0x4c3c12=_0x2f6600;!$(_0x3c1756[_0x4c3c12(0x18b)])[_0x4c3c12(0x125)](_0x3c0306)['length']&&_0x41843f[_0x4c3c12(0x1c3)](_0x3c0306),$(_0x3c1756['target'])[_0x4c3c12(0x125)](_0x12d344)['length']&&(_0x41843f[_0x4c3c12(0x179)]=!![],_0x3c1756[_0x4c3c12(0x117)]());});});},'_showTypeMenu'(){const _0x195e2b=_0x493e64,_0x58c6db=this;this[_0x195e2b(0x182)](_0x58c6db[_0x195e2b(0x198)],_0x58c6db[_0x195e2b(0xea)]),_0x58c6db[_0x195e2b(0x129)]['hide']();const _0x2d21d4=_0x58c6db[_0x195e2b(0x1f0)];var _0x118f9d=_0x58c6db['$menu'][_0x195e2b(0x19e)](_0x195e2b(0x188)+_0x2d21d4+'\x27');setTimeout(function(){const _0x120876=_0x195e2b;_0x118f9d['trigger'](_0x120876(0xf9));},0x78);},'_initMenu'(){const _0x2d4452=_0x493e64,_0x141bf1=this;_0x141bf1[_0x2d4452(0x202)]['attr'](_0x2d4452(0x1a9),-0x1),_0x141bf1[_0x2d4452(0x202)]['on'](_0x2d4452(0x11e),function(_0xf710be){_0xf710be['preventDefault']();});_0x141bf1[_0x2d4452(0x198)]&&_0x141bf1[_0x2d4452(0x198)][_0x2d4452(0x13b)]();const _0x2f8b20=[{'label':_0x2d4452(0x1c9),'value':'t','title':_0x2d4452(0x1fc),'icon':_0x2d4452(0x1ea)},{'label':'msg.','value':'msg','title':_0x2d4452(0xe3),'icon':_0x2d4452(0x1c5)},{'label':_0x2d4452(0x1c0),'value':'n','icon':_0x2d4452(0x107)},{'label':'Aliased\x20NodeId','value':'na','icon':_0x2d4452(0x13f)},{'label':_0x2d4452(0x181),'value':'nsu','icon':_0x2d4452(0xeb)},{'label':_0x2d4452(0x143),'value':'b','icon':_0x2d4452(0x1db)},{'label':'Aliased\x20Browse\x20Path','value':'ab','icon':_0x2d4452(0x123)}],_0x18771a=_0x35a1c9(_0x141bf1[_0x2d4452(0x1d8)][_0x2d4452(0x138)]()),_0x4a2919=_0x2f8b20['find'](_0xb5a9c=>_0xb5a9c[_0x2d4452(0x110)]===_0x18771a);_0x141bf1[_0x2d4452(0x152)][_0x2d4452(0x1f6)]()[_0x2d4452(0x1a6)]('<span\x20title='+((_0x4a2919===null||_0x4a2919===void 0x0?void 0x0:_0x4a2919[_0x2d4452(0x105)])||'')+_0x2d4452(0x161)+((_0x4a2919===null||_0x4a2919===void 0x0?void 0x0:_0x4a2919[_0x2d4452(0x1e8)])||'')+_0x2d4452(0x130)),_0x141bf1[_0x2d4452(0x1f0)]=_0x18771a;const _0x29c4d1=this;_0x141bf1[_0x2d4452(0x198)]=this['_createMenu'](_0x2f8b20,{},_0x151a98=>{const _0x469645=_0x2d4452,_0x3c6f1a=_0x4a92c9(_0x151a98);_0x3c6f1a&&_0x29c4d1['verify'](_0x3c6f1a);const _0x3b7aa8=_0x2f8b20['find'](_0x38b298=>_0x38b298[_0x469645(0x110)]===_0x151a98);_0x141bf1[_0x469645(0x1f0)]=_0x151a98,_0x141bf1[_0x469645(0x152)][_0x469645(0x1f6)]()[_0x469645(0x1a6)]('<span\x20title='+((_0x3b7aa8===null||_0x3b7aa8===void 0x0?void 0x0:_0x3b7aa8[_0x469645(0x105)])||'')+_0x469645(0x161)+((_0x3b7aa8===null||_0x3b7aa8===void 0x0?void 0x0:_0x3b7aa8['icon'])||'')+_0x469645(0x130));}),_0x141bf1[_0x2d4452(0x198)][_0x2d4452(0x1e4)](document[_0x2d4452(0x11f)]),_0x141bf1[_0x2d4452(0x198)][_0x2d4452(0x166)](),_0x141bf1[_0x2d4452(0x202)][_0x2d4452(0x1b9)]();},'mode'(){const _0x5dfb19=_0x493e64,_0x1ae71f=this;return _0x4a92c9(_0x1ae71f[_0x5dfb19(0x1f0)]);},'setMode'(_0x20c21e){const _0x4f23d2=_0x493e64,_0x1189ab=this,_0xeb42cc=_0x1a1eb3(_0x20c21e);_0x1189ab[_0x4f23d2(0x1f0)]=_0xeb42cc;},'_create'(){const _0x4759fd=_0x493e64,_0x2fcbe5=this;_0x2fcbe5[_0x4759fd(0x1d8)]=this['element'],_0x2fcbe5[_0x4759fd(0x1d8)][_0x4759fd(0x17a)](_0x4759fd(0x1e0),_0x4759fd(0x1c7)),_0x2fcbe5[_0x4759fd(0x1c8)]=_0x2fcbe5[_0x4759fd(0x1d8)][_0x4759fd(0x13c)]('<div>')[_0x4759fd(0x11c)]()['addClass'](_0x4759fd(0x1b2)),_0x2fcbe5[_0x4759fd(0xea)]=$(_0x4759fd(0x12d)),_0x2fcbe5[_0x4759fd(0xea)][_0x4759fd(0x1b5)](_0x4759fd(0x13a)),_0x2fcbe5['$input'][_0x4759fd(0xe1)](_0x2fcbe5[_0x4759fd(0xea)]),_0x2fcbe5['$inputGroup']=$(_0x4759fd(0x12d))[_0x4759fd(0x1b5)](_0x4759fd(0xfb)),_0x2fcbe5['$combo']['append'](_0x2fcbe5['$inputGroup']),_0x2fcbe5[_0x4759fd(0xfd)][_0x4759fd(0x1a6)](_0x2fcbe5[_0x4759fd(0x1d8)]),_0x2fcbe5[_0x4759fd(0x1d3)]=$('<button\x20title=\x22open\x20OPCUA\x20AddressSpace\x20Browser\x22><i\x20class=\x22fa\x20fa-sitemap\x22></i></button>'),_0x2fcbe5['$input'][_0x4759fd(0x126)](_0x2fcbe5[_0x4759fd(0x1d3)]),_0x2fcbe5[_0x4759fd(0x1d3)]['on'](_0x4759fd(0x1bb),function(){return _0x4675a4(this,void 0x0,void 0x0,function*(){const _0x1aaad0=_0x4a95;var _0x4d8777;let _0x203660=![],_0x476c8a;!_0x2fcbe5['$dropdown']['is'](_0x1aaad0(0x1c1))&&(_0x2fcbe5[_0x1aaad0(0x149)][_0x1aaad0(0x166)](),_0x476c8a=yield _0x2fcbe5['resolveParentNode'](),(_0x476c8a!==_0x2fcbe5[_0x1aaad0(0x204)]||((_0x4d8777=_0x2fcbe5['currentParent'])===null||_0x4d8777===void 0x0?void 0x0:_0x4d8777[_0x1aaad0(0xec)])!==_0x476c8a['nodeId'])&&(yield _0x2fcbe5['reset']()),_0x203660=!![]),_0x2fcbe5[_0x1aaad0(0x129)][_0x1aaad0(0xe7)](),_0x203660&&(yield _0x1f7d1f(_0x2fcbe5,_0x476c8a));});}),_0x2fcbe5['$verifyBtn']=$(_0x4759fd(0x101)),_0x2fcbe5[_0x4759fd(0x1d8)][_0x4759fd(0x126)](_0x2fcbe5[_0x4759fd(0x1dd)]),_0x2fcbe5[_0x4759fd(0x1dd)]['on'](_0x4759fd(0x1bb),()=>{const _0x27e246=_0x4759fd,_0x45649e=_0x2fcbe5[_0x27e246(0xfa)]();if(!_0x45649e)return;this['verify'](_0x45649e);});const _0x250348=_0x1c1d43=>_0x4675a4(this,void 0x0,void 0x0,function*(){const _0x2ee7cb=_0x4759fd,_0x370b10=this;let _0x174c4d=_0x370b10[_0x2ee7cb(0xfa)]();if(!_0x174c4d)return;const _0x3fcf47=_0x36b450(_0x370b10),{data:_0x2fb9b7,json:_0x38df6a}=yield _0x2caaef(_0x3fcf47,_0x1c1d43);if(_0x2fb9b7[_0x2ee7cb(0x154)]!==0xc8)return;if(_0x38df6a[_0x2ee7cb(0x144)][_0x2ee7cb(0x15b)](/Good/)){const _0x4e0792=_0x2e3803(_0x38df6a,_0x174c4d);_0x370b10[_0x2ee7cb(0x1d8)]['val'](_0x4e0792),_0x370b10[_0x2ee7cb(0x1d8)][_0x2ee7cb(0x1d0)](_0x2ee7cb(0x12c));}});{_0x2fcbe5[_0x4759fd(0xff)]=$(_0x4759fd(0x184)),_0x2fcbe5[_0x4759fd(0x1d8)][_0x4759fd(0x1d7)](_0x2fcbe5[_0x4759fd(0xff)]),_0x2fcbe5[_0x4759fd(0x202)]=$(_0x4759fd(0x106))[_0x4759fd(0x16d)](_0x2fcbe5[_0x4759fd(0xff)]),$(_0x4759fd(0x134))[_0x4759fd(0xe7)](!![])['appendTo'](_0x2fcbe5[_0x4759fd(0x202)]),_0x2fcbe5[_0x4759fd(0x202)]['on'](_0x4759fd(0x1bb),function(_0x13cb83){const _0x528f54=_0x4759fd;_0x13cb83['preventDefault'](),_0x13cb83[_0x528f54(0x15a)](),_0x2fcbe5[_0x528f54(0xe6)]();}),_0x2fcbe5[_0x4759fd(0x202)]['on'](_0x4759fd(0x1e7),function(_0x59bf19){const _0x141fa6=_0x4759fd;_0x59bf19[_0x141fa6(0x1a3)]===0x28&&_0x2fcbe5[_0x141fa6(0xe6)](),_0x59bf19[_0x141fa6(0x15a)]();})['on'](_0x4759fd(0xf9),function(){const _0x4202a6=_0x4759fd;_0x2fcbe5[_0x4202a6(0xff)][_0x4202a6(0x1b5)]('red-ui-typedInput-focus');})['on'](_0x4759fd(0x1a2),function(){const _0x5ea412=_0x4759fd;_0x2fcbe5[_0x5ea412(0xff)][_0x5ea412(0x157)]('red-ui-typedInput-focus');}),_0x2fcbe5[_0x4759fd(0x152)]=$(_0x4759fd(0x194))[_0x4759fd(0x1e4)](_0x2fcbe5[_0x4759fd(0x202)]);}this[_0x4759fd(0x132)]();!_0x2fcbe5[_0x4759fd(0x1d8)][_0x4759fd(0x1fa)](_0x4759fd(0x1f8))&&_0x2fcbe5[_0x4759fd(0x1d8)][_0x4759fd(0x1fa)](_0x4759fd(0x1f8),'enter\x20a\x20nodeId\x20or\x20a\x20browsePath\x20');_0x2fcbe5[_0x4759fd(0x149)]=$(_0x4759fd(0xed)),_0x2fcbe5[_0x4759fd(0x149)][_0x4759fd(0x166)](),_0x2fcbe5[_0x4759fd(0xea)][_0x4759fd(0x1a6)](_0x2fcbe5[_0x4759fd(0x149)]),_0x2fcbe5[_0x4759fd(0x129)]=$('<div/>')[_0x4759fd(0x1b5)](_0x4759fd(0x1e3))[_0x4759fd(0x166)]()[_0x4759fd(0x1e4)](_0x2fcbe5[_0x4759fd(0xea)]),_0x2fcbe5[_0x4759fd(0x1e9)]=$(_0x4759fd(0x115))['appendTo'](_0x2fcbe5['$dropdown']),this[_0x4759fd(0x17b)]();const _0x23d015=(_0xca749a,_0x52b0ca)=>{const _0x1290e4=_0x4759fd,_0x4add37=0x14,_0x1a0984=0x14,_0x143516=_0xca749a['offset'](),_0x35b010=_0x52b0ca;if(_0x35b010['pageX']>=_0x143516[_0x1290e4(0x178)]&&_0x35b010['pageX']<=_0x143516['left']+_0x4add37&&_0x35b010[_0x1290e4(0x120)]>=_0x143516['top']&&_0x35b010[_0x1290e4(0x120)]<=_0x143516[_0x1290e4(0x1e2)]+_0x1a0984)return!![];return![];},_0x46c266=_0x3d8c2c=>_0x4675a4(this,void 0x0,void 0x0,function*(){const _0x46a48=_0x4759fd;if(_0x3d8c2c[_0x46a48(0x1d2)](_0x46a48(0x102)))_0x2471ae(_0x2fcbe5,_0x3d8c2c);else{if(_0x3d8c2c['hasClass'](_0x46a48(0x140)))_0x3d8c2c[_0x46a48(0x164)]('ul')[_0x46a48(0xe7)](),_0x3d8c2c[_0x46a48(0x10e)](_0x46a48(0x133));else{if(_0x3d8c2c[_0x46a48(0x164)]('ul')[_0x46a48(0x164)]()[_0x46a48(0x131)]>0x0)_0x3d8c2c[_0x46a48(0x164)]('ul')[_0x46a48(0xe7)](),_0x3d8c2c[_0x46a48(0x10e)](_0x46a48(0x133));else;}}});_0x2fcbe5[_0x4759fd(0x1e9)]['on'](_0x4759fd(0x10c),'li',function(_0x4a040f){const _0x5ef975=_0x4759fd;var _0x4c30be,_0x44d451;_0x4a040f['stopPropagation']();let _0x38c7cd=$(this);if(_0x23d015(_0x38c7cd,_0x4a040f))_0x46c266(_0x38c7cd);else{const _0x402449=_0x38c7cd[_0x5ef975(0x170)](_0x5ef975(0x110)),_0x285d65=_0x38c7cd[_0x5ef975(0x170)](_0x5ef975(0x1bc));if(_0x2fcbe5[_0x5ef975(0x1b0)][_0x5ef975(0x196)]&&!_0x2fcbe5[_0x5ef975(0x1b0)][_0x5ef975(0x196)](_0x285d65))return;_0x2fcbe5[_0x5ef975(0x1d8)][_0x5ef975(0x170)]('reference',_0x285d65),((_0x4c30be=_0x285d65['displayName'])===null||_0x4c30be===void 0x0?void 0x0:_0x4c30be[_0x5ef975(0x1c9)])||((_0x44d451=_0x285d65[_0x5ef975(0x11a)])===null||_0x44d451===void 0x0?void 0x0:_0x44d451[_0x5ef975(0x122)])||_0x285d65['nodeId'][_0x5ef975(0x162)]();let _0x2a3b80=_0x2fcbe5[_0x5ef975(0xfa)]();!_0x2a3b80&&(_0x2a3b80=_0x5ef975(0xec),_0x2fcbe5[_0x5ef975(0x14f)](_0x2a3b80)),_0x250348(_0x402449)['then'](()=>{const _0x5d76aa=_0x5ef975;_0x2fcbe5['$dropdown'][_0x5d76aa(0x166)]();})[_0x5ef975(0x109)](_0x4acc22=>{const _0x5da1b0=_0x5ef975;_0x2fcbe5[_0x5da1b0(0x129)][_0x5da1b0(0x166)]();});}}),_0x2fcbe5[_0x4759fd(0x1e9)]['on'](_0x4759fd(0x1bb),'li',function(_0x563bad){const _0x5c6cc=_0x4759fd;_0x563bad[_0x5c6cc(0x15a)]();let _0x1772a2=$(this);_0x23d015(_0x1772a2,_0x563bad)&&_0x46c266(_0x1772a2),_0x1afc7d(_0x2fcbe5,_0x1772a2);}),$(document)['on'](_0x4759fd(0x1bb),function(_0x180cfd){const _0x38b626=_0x4759fd;!$(_0x180cfd[_0x38b626(0x18b)])[_0x38b626(0x125)](_0x2fcbe5['$combo'])['length']&&_0x2fcbe5['$dropdown'][_0x38b626(0x166)]();});}});},_0x171816=()=>{const _0x16fe30=_0x33c632,_0x110e59=$(_0x16fe30(0x172)),_0x576bb7=_0x110e59['val'](),_0x25fbc4=RED[_0x16fe30(0x1be)]['node'](_0x576bb7);if(!_0x25fbc4)return undefined;const {endpoint:_0x1bd32c,securityMode:_0x38df25,securityPolicy:_0x63a5e,userIdentityType:_0x7db1e,credentials:_0x253660,namespaceAliases:_0x164755}=_0x25fbc4,_0x5dcd4b={'endpoint':_0x1bd32c,'securityMode':_0x38df25,'securityPolicy':_0x63a5e,'userIdentityType':_0x7db1e,'credentials':_0x253660,'namespaceAliases':_0x164755};return _0x5dcd4b;},_0x462d04=()=>{const _0x5dffb0=_0x33c632,_0x6f721=$(_0x5dffb0(0x172)),_0x375336=_0x6f721['val'](),_0xbad7f7=_0x171816();if(!_0xbad7f7)return undefined;const _0x152dc1=_0xbad7f7[_0x5dffb0(0x11b)];return Object['assign']({'namespaceAliases':_0x152dc1,'id':_0x375336},_0xbad7f7);},_0x1cebcc=()=>{return{'endpointNode':_0x462d04};},_0x37159c=()=>{const _0x94ba69=_0x33c632,_0x290625=$(_0x94ba69(0x1ed));if(_0x290625['length']){const _0x26728c=$(_0x94ba69(0xee),{'src':_0x94ba69(0x145),'scrolling':'no','style':_0x94ba69(0x1ee),'allowtransparency':_0x94ba69(0x118),'width':_0x94ba69(0x1f3),'height':_0x94ba69(0x12e)});_0x290625[_0x94ba69(0x1a6)](_0x26728c),_0x26728c[_0x94ba69(0x17a)]({'position':_0x94ba69(0x183),'right':'20px','bottom':_0x94ba69(0x1a4)});}};RED['nodes'][_0x33c632(0x1a7)](_0x33c632(0x1eb),{'category':_0x33c632(0x12a),'color':_0x33c632(0x18c),'align':_0x33c632(0x12f),'icon':_0x33c632(0x150),'paletteLabel':_0x33c632(0xdc),'defaults':{'inputs':{'value':0x1},'output':{'value':0x4},'name':{'value':''},'endpoint':{'value':'','required':!![],'type':_0x33c632(0x190)},'attributeId':{'value':_0x33c632(0x180),'required':!![]},'nodeId':{'value':'','required':![]},'outputType':{'value':_0x33c632(0x180),'required':!![]}},'outputs':0x2,'label'(){const _0x5af94c=_0x33c632;return this[_0x5af94c(0x122)]||_0x5af94c(0x16e);},'labelStyle'(){const _0x118a66=_0x33c632;return this['name']?_0x118a66(0xe0):'';},'oneditprepare'(){const _0x33e385=_0x33c632,_0x2c0b53=this;_0x451783(),_0x37159c(),_0x2c0b53['inputs']=0x1;const _0x3aab0d=$(_0x33e385(0x163));_0x3aab0d[_0x33e385(0x1c4)](Object[_0x33e385(0x11d)](Object[_0x33e385(0x11d)]({},_0x1cebcc()),{'isSelectable'(_0xc1a8a4){const _0x1e4670=_0x33e385;return _0xc1a8a4['nodeClass']===_0x1e4670(0x1aa);}}));},'oneditsave'(){}});}()));
</script>
<script type="text/x-red" data-template-name="OpcUa-Client2-Read">
<h3>
Opc-UA Read
<a href="https://opcua-for-node-red.doc.sterfive.com/docs/read/read-general-concept" target="_blank"
><i class="fa fa-message-question"></i
></a>
</h3>
<div class="form-row">
<label for="node-input-name"><i class="icon-tasks"></i>Name</label>
<input type="text" id="node-input-name" placeholder="enter the friendly name of the node" />
</div>
<div class="form-row">
<label for="node-input-endpoint"><i class="icon-tasks"></i> Endpoint</label>
<input type="text" id="node-input-endpoint" placeholder="opc.tcp://localhost:4334" />
</div>
<div class="form-row">
<label for="node-input-attributeId">AttributeId</label>
<select type="text" id="node-input-attributeId" style="width: 72%">
<option selected value="Value">Value</option>
<option value="DataType">DataType</option>
<option value="BrowseName">BrowseName</option>
<option value="DisplayName">DisplayName</option>
<option value="All">All</option>
</select>
</div>
<div class="form-row">
<label for="node-input-nodeId" style="width: 100%"><i class="fa fa-tag"></i>NodeId</label>
<input type="text" id="node-input-nodeId" placeholder="ns=2;s=Variable1 or empty" />
</div>
<div class="form-row">
<label for="node-input-outputType">Output type</label>
<select type="text" id="node-input-outputType" style="width: 72%">
<option selected value="Value">Value</option>
<option value="DataValue">DataValue</option>
<option value="Variant">Variant</option>
<option value="DataValueReversible">DataValueReversible</option>
<option value="StatusCode">StatusCode</option>
</select>
</div>
</script>
<script type="text/markdown" data-help-name="OpcUa-Client2-Read">
perform a READ action on a OpcUA Server
## Read action
you can either
- Inject your OPC UA address (NodeId) by the `nodeId` or `topic` or `payload` property of an injected message or
- use the nodeId attribute defined in the OpcUa-Read node itself
## Input
The read operation is triggered when the node receive an input message.
The nodeId to read can be specified in the following ways, in priority order:
:msg.nodeId (string): the nodeId to read
or, if `msg.nodeId` is not defined:
:msg.topic (string): the nodeId to read
or, if `msg.topic` is not defined:
:msg.payload (string|string[]|nested object): the nodeId to read, or an array of nodeId to read, or a nested object defining the subtree structure to read.
or, if `msg.payload` is not defined:
:parameter.nodeId (string): the nodeId to read defined in the node configuration itself.
## Output
:msg.payload (string|number|boolean|Object|Array): the value read. ExtensionObject are encoded as OPCUA-JSON string.
:msg.dataType (string): the dataType of the value read, ( such as Boolean, Int32, Double, String, DateTime, Guid, ByteString, XmlElement, NodeId, ExpandedNodeId, StatusCode, QualifiedName, LocalizedText, ExtensionObject, DataValue, Variant, DiagnosticInfo, and Enumeration)
:msg.statusCode (string): the status code of the read operation, such as Good, BadUnknownNode, BadUserAccessDenied etc.
:msg.sourceTimestamp (string): the source timestamp of the value read as a ISO string.
:msg.serverTimestamp (string): the server timestamp of the value read as a ISO string.
:msg.nodeId (string): the nodeId string of the value read.
## multiple read
You can read multiple nodes by specifying an array of nodeId in the `msg.nodeId` or `msg.topic` attribute.
The node will return an array of values in `msg.payload`.
### reading subtree structure
if the injected `msg.payload` is an object, the OPCUARead node will read the subtree structure of the node.
For instance:
```json
{
"payload": {
"Server": {
"Status": "/Server/ServerStatus"
}
},
"payloadType": "Value"
}
```
will return the following structure:
```json
{
"payload": {
"Server": {
"Status": {
"BuildInfo": {
"ProductUri": "XXXX",
"ManufacturerName": "YYYY",
"ProductName": "ZZZZ",
"SoftwareVersion": "2.0",
"BuildNumber": "3",
"BuildDate": "2020-01-31T23:00:00.000Z"
}
// etc ...
}
}
}
}
```
- The structure of the ob