@opcua/for-node-red
Version:
The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team
170 lines (134 loc) • 53.1 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-Write.css.map */
</style>
<script type="text/javascript">
(function(_0x2b66cb,_0x14cb1c){const _0x514c99=_0x1e84,_0x5a99cc=_0x2b66cb();while(!![]){try{const _0x1b5c62=parseInt(_0x514c99(0x18d))/0x1+parseInt(_0x514c99(0x157))/0x2*(-parseInt(_0x514c99(0x115))/0x3)+-parseInt(_0x514c99(0x14c))/0x4*(parseInt(_0x514c99(0x13c))/0x5)+parseInt(_0x514c99(0x152))/0x6+parseInt(_0x514c99(0x130))/0x7*(parseInt(_0x514c99(0x1a7))/0x8)+parseInt(_0x514c99(0x16d))/0x9+-parseInt(_0x514c99(0x138))/0xa;if(_0x1b5c62===_0x14cb1c)break;else _0x5a99cc['push'](_0x5a99cc['shift']());}catch(_0x43bb2d){_0x5a99cc['push'](_0x5a99cc['shift']());}}}(_0x4606,0xe5ce9),(function(){'use strict';const _0x1f57b3=_0x1e84;function _0x54c11d(_0x5f38a0,_0x580223,_0x30f9ab,_0x1e0f4){function _0x29f8b6(_0x55ab62){return _0x55ab62 instanceof _0x30f9ab?_0x55ab62:new _0x30f9ab(function(_0x1a1aad){_0x1a1aad(_0x55ab62);});}return new(_0x30f9ab||(_0x30f9ab=Promise))(function(_0x364182,_0x26256d){const _0x4e9acd=_0x1e84;function _0x2b0557(_0x2c78ac){try{_0x5b2ff3(_0x1e0f4['next'](_0x2c78ac));}catch(_0xb93807){_0x26256d(_0xb93807);}}function _0x4b5c76(_0x3c043f){try{_0x5b2ff3(_0x1e0f4['throw'](_0x3c043f));}catch(_0x46bdaf){_0x26256d(_0x46bdaf);}}function _0x5b2ff3(_0x2f3c9d){const _0x20feb3=_0x1e84;_0x2f3c9d[_0x20feb3(0x17d)]?_0x364182(_0x2f3c9d['value']):_0x29f8b6(_0x2f3c9d[_0x20feb3(0xfe)])['then'](_0x2b0557,_0x4b5c76);}_0x5b2ff3((_0x1e0f4=_0x1e0f4[_0x4e9acd(0x11f)](_0x5f38a0,_0x580223||[]))['next']());});}typeof SuppressedError===_0x1f57b3(0xf7)?SuppressedError:function(_0x2f6678,_0x2c1157,_0x231396){const _0x5ae923=_0x1f57b3;var _0x1036d5=new Error(_0x231396);return _0x1036d5['name']=_0x5ae923(0x182),_0x1036d5['error']=_0x2f6678,_0x1036d5[_0x5ae923(0x18b)]=_0x2c1157,_0x1036d5;};const _0x54976d=_0x1f57b3(0x114),_0x54abaa=_0x1f57b3(0x185),_0x3e425b='ns=0;i=47',_0x1df42e=_0x1f57b3(0x111),_0x339b3b=_0x1f57b3(0x140),_0x5220db=_0x1f57b3(0x14a),_0x26c299=_0x1f57b3(0x116);var _0x26e0f6;(function(_0xea1160){const _0x1ebb3c=_0x1f57b3;_0xea1160[_0xea1160[_0x1ebb3c(0x1e6)]=0x0]=_0x1ebb3c(0x1e6),_0xea1160[_0xea1160[_0x1ebb3c(0x1d1)]=0x1]=_0x1ebb3c(0x1d1),_0xea1160[_0xea1160[_0x1ebb3c(0x196)]=0x2]=_0x1ebb3c(0x196),_0xea1160[_0xea1160[_0x1ebb3c(0x169)]=0x3]=_0x1ebb3c(0x169);}(_0x26e0f6||(_0x26e0f6={})));var _0x4fd051;(function(_0x6de1){const _0xba767f=_0x1f57b3;_0x6de1[_0x6de1[_0xba767f(0x184)]=0x0]=_0xba767f(0x184),_0x6de1[_0x6de1[_0xba767f(0x1a1)]=0x1]=_0xba767f(0x1a1),_0x6de1[_0x6de1['Variable']=0x2]=_0xba767f(0x197),_0x6de1[_0x6de1[_0xba767f(0x12d)]=0x4]=_0xba767f(0x12d),_0x6de1[_0x6de1[_0xba767f(0x17e)]=0x8]=_0xba767f(0x17e),_0x6de1[_0x6de1[_0xba767f(0x17f)]=0x10]='VariableType',_0x6de1[_0x6de1[_0xba767f(0x123)]=0x20]=_0xba767f(0x123),_0x6de1[_0x6de1[_0xba767f(0x121)]=0x40]=_0xba767f(0x121),_0x6de1[_0x6de1['View']=0x80]=_0xba767f(0x154);}(_0x4fd051||(_0x4fd051={})));var _0x4e0e4c;(function(_0x36007b){const _0x11be39=_0x1f57b3;_0x36007b[_0x36007b[_0x11be39(0x1a1)]=0x1]='Object',_0x36007b[_0x36007b[_0x11be39(0x197)]=0x2]='Variable',_0x36007b[_0x36007b['Method']=0x4]=_0x11be39(0x12d),_0x36007b[_0x36007b[_0x11be39(0x17e)]=0x8]=_0x11be39(0x17e),_0x36007b[_0x36007b[_0x11be39(0x17f)]=0x10]=_0x11be39(0x17f),_0x36007b[_0x36007b[_0x11be39(0x123)]=0x20]=_0x11be39(0x123),_0x36007b[_0x36007b[_0x11be39(0x121)]=0x40]=_0x11be39(0x121),_0x36007b[_0x36007b[_0x11be39(0x154)]=0x80]='View';}(_0x4e0e4c||(_0x4e0e4c={})));var _0x1f3b8b;(function(_0x2eac3c){const _0x484aa6=_0x1f57b3;_0x2eac3c[_0x2eac3c[_0x484aa6(0x123)]=0x1]=_0x484aa6(0x123),_0x2eac3c[_0x2eac3c[_0x484aa6(0x1c2)]=0x2]='IsForward',_0x2eac3c[_0x2eac3c[_0x484aa6(0x149)]=0x4]=_0x484aa6(0x149),_0x2eac3c[_0x2eac3c[_0x484aa6(0x142)]=0x8]=_0x484aa6(0x142),_0x2eac3c[_0x2eac3c[_0x484aa6(0x198)]=0x10]=_0x484aa6(0x198),_0x2eac3c[_0x2eac3c[_0x484aa6(0x1ce)]=0x20]='TypeDefinition';}(_0x1f3b8b||(_0x1f3b8b={})));function _0x2f7087(_0x3aa4ac){const _0x205084=_0x1f57b3;switch(_0x3aa4ac){case _0x205084(0x173):return _0x54976d;case _0x205084(0x1e4):return _0x1df42e;case _0x205084(0x167):return _0x3e425b;case _0x205084(0xf2):return _0x339b3b;case _0x205084(0x1e8):return _0x5220db;case'HasTypeDefinition':return _0x26c299;}}const _0xc0e4e1=_0x400bbf=>{const _0x9124fe=_0x1f57b3;switch(_0x400bbf[_0x9124fe(0x132)]){case'Object':if(_0x400bbf[_0x9124fe(0x1bf)]===_0x54976d);if(_0x400bbf[_0x9124fe(0xf3)]===_0x54abaa||_0x400bbf[_0x9124fe(0x1bf)]===_0x9124fe(0x194))return{'icon':'fa-folder','color':_0x9124fe(0x11a)};return{'icon':_0x9124fe(0xe6),'color':_0x9124fe(0x195)};case _0x9124fe(0x197):if(_0x400bbf[_0x9124fe(0x1bf)]===_0x3e425b)return{'icon':_0x9124fe(0x13b),'color':_0x9124fe(0x1b6)};else return _0x400bbf[_0x9124fe(0x1bf)]===_0x1df42e?{'icon':_0x9124fe(0x13b),'color':_0x9124fe(0x103)}:{'icon':_0x9124fe(0x13b),'color':_0x9124fe(0xf5)};case _0x9124fe(0x12d):return{'icon':_0x9124fe(0x1bd),'color':_0x9124fe(0xed)};case _0x9124fe(0x17e):return{'icon':_0x9124fe(0xe6),'color':_0x9124fe(0x11c)};case _0x9124fe(0x17f):return{'icon':_0x9124fe(0x1db),'color':_0x9124fe(0x11c)};case _0x9124fe(0x121):return{'icon':_0x9124fe(0x1a5),'color':_0x9124fe(0xf5)};}return{'icon':'fa-question','color':_0x9124fe(0xe3)};},_0x597943=(_0x385746,_0x2ec488,_0x1e82e9)=>_0x54c11d(void 0x0,[_0x385746,_0x2ec488,_0x1e82e9],void 0x0,function*({endpointNode:_0x25414c,endpoint:_0x4cfd89,baseUrl:_0x12aeca},_0x3a8fde,_0x516cc6){const _0x26352c=_0x1f57b3,_0xa0439=_0x12aeca+_0x26352c(0x1bc),_0x258915=_0xa0439+_0x26352c(0x1e9),_0x6a1476=Object[_0x26352c(0x168)](Object['assign']({},_0x516cc6),{'nodeId':_0x3a8fde,'resultMask':0x3f}),_0x534179=yield fetch(_0x258915,{'method':_0x26352c(0x19d),'body':JSON[_0x26352c(0xdf)]({'endpointNode':_0x25414c,'endpoint':_0x4cfd89,'browseDescription':_0x6a1476}),'headers':{'Content-Type':_0x26352c(0x1e2)}});if(_0x534179['status']!==0xc8)return console[_0x26352c(0x1f7)](_0x26352c(0x151),_0x534179['status'],_0x534179[_0x26352c(0x191)]),{'references':[]};const _0x249e05=yield _0x534179[_0x26352c(0x117)](),_0x1e0124=_0x249e05[_0x26352c(0xdc)][_0x26352c(0x1ab)]||[];return{'references':_0x1e0124};}),_0x4b1433={'referenceTypeId':_0x2f7087(_0x1f57b3(0xf2)),'includeSubtypes':!![],'browseDirection':_0x26e0f6['Forward'],'nodeClassMask':_0x4fd051['Variable']|_0x4fd051['Object']|_0x4fd051[_0x1f57b3(0x12d)],'resultMask':0x3f},_0x4ce35b={'referenceTypeId':_0x2f7087('Organizes'),'includeSubtypes':!![],'browseDirection':_0x26e0f6[_0x1f57b3(0x1e6)],'nodeClassMask':_0x4fd051['Variable']|_0x4fd051[_0x1f57b3(0x1a1)]|_0x4fd051[_0x1f57b3(0x12d)],'resultMask':0x3f},_0x529747=(_0x1f7319,_0x153d12)=>_0x54c11d(void 0x0,[_0x1f7319,_0x153d12],void 0x0,function*({endpointNode:_0x430a34,endpoint:_0x53df03,baseUrl:_0x526533},{nodeId:_0x250135,rootNodeId:_0x290bbe,isType:_0x570926}){const _0x384197=_0x1f57b3,_0x21fce5=_0x526533+'/opcua-for-node-red',_0x28de95=_0x21fce5+_0x384197(0x12a),_0x2a5870=yield fetch(_0x28de95,{'method':_0x384197(0x19d),'body':JSON['stringify']({'endpointNode':_0x430a34,'endpoint':_0x53df03,'nodeId':_0x250135,'rootNodeId':_0x290bbe,'isType':_0x570926}),'headers':{'Content-Type':_0x384197(0x1e2)}});if(_0x2a5870[_0x384197(0x16b)]!==0xc8)return null;const _0x35e241=yield _0x2a5870[_0x384197(0x117)]();return _0x35e241['browsePath'];}),_0x1b0fb3=(_0x575552,_0x5dc33a)=>{const _0x21b91d=_0x1f57b3;if(_0x575552[_0x21b91d(0x19c)]!==_0x21b91d(0xe2))return _0x575552[_0x21b91d(0x1b2)];switch(_0x5dc33a){case'browsePath':return _0x575552[_0x21b91d(0x1ff)];case _0x21b91d(0x139):return _0x575552[_0x21b91d(0x16e)]||_0x575552['bp_indexed'];case'aliasedNodeId':return _0x575552[_0x21b91d(0x137)]||_0x575552[_0x21b91d(0x110)];case _0x21b91d(0x18c):return _0x575552[_0x21b91d(0x110)];default:case _0x21b91d(0xfc):return _0x575552[_0x21b91d(0xfc)];}},_0x4a9186=_0x539002=>{const _0x49bfea=_0x1f57b3;if(_0x539002[_0x49bfea(0x19c)]!=='Good')return _0x49bfea(0x113)+_0x539002[_0x49bfea(0x19c)];else{let _0x36bca4=[];return _0x36bca4[_0x49bfea(0xee)](_0x49bfea(0xdb)+_0x539002[_0x49bfea(0xfc)]),_0x36bca4[_0x49bfea(0xee)](_0x49bfea(0x202)+_0x539002['bp_indexed']),_0x36bca4[_0x49bfea(0xee)](_0x49bfea(0x161)+_0x4fd051[_0x539002['nodeClass']]),_0x539002[_0x49bfea(0x110)]&&_0x36bca4['push'](_0x49bfea(0xe7)+_0x539002[_0x49bfea(0x110)]),_0x539002['nodeId_aliased']&&_0x36bca4[_0x49bfea(0xee)](_0x49bfea(0x1d5)+_0x539002[_0x49bfea(0x137)]),_0x539002[_0x49bfea(0x1ff)]&&_0x36bca4[_0x49bfea(0xee)](_0x49bfea(0x160)+_0x539002[_0x49bfea(0x16e)]),_0x36bca4[_0x49bfea(0x15c)]('\x0a');}};function _0x37c1f9(_0x425468){const _0x51c345=_0x1f57b3;if(_0x425468[_0x51c345(0x158)](/^nsu=/))return _0x51c345(0x18c);if(_0x425468[_0x51c345(0x158)](/^(ns=.*;)?(i|b|s|g)=/))return _0x51c345(0xfc);if(_0x425468[_0x51c345(0x158)](/^nsa=/))return _0x51c345(0x1f2);if(_0x425468['match'](/^(\/|\.)[0-9]+:/))return _0x51c345(0x19e);if(_0x425468['match'](/^(\/|\.).*:/))return _0x51c345(0x19e);}function _0x4b666f(_0x188929){const _0x18bfc4=_0x1f57b3,_0x279aa9=_0x37c1f9(_0x188929);switch(_0x279aa9){case _0x18bfc4(0xfc):return'n';case _0x18bfc4(0x1f2):return'na';case'nsuNodeID':return _0x18bfc4(0x175);case _0x18bfc4(0x19e):return'b';case _0x18bfc4(0x139):return'ab';default:return't';}}function _0xe9ef04(_0x3c1e53){const _0x153971=_0x1f57b3;let _0xfd9e05;switch(_0x3c1e53){case'n':_0xfd9e05=_0x153971(0xfc);break;case'na':_0xfd9e05='aliasedNodeId';break;case _0x153971(0x175):_0xfd9e05=_0x153971(0x18c);break;case'b':_0xfd9e05=_0x153971(0x19e);break;case'ab':_0xfd9e05=_0x153971(0x139);break;}return _0xfd9e05;}function _0x1213f8(_0x56495b){const _0x43f108=_0x1f57b3;switch(_0x56495b){case _0x43f108(0xfc):return'n';case _0x43f108(0x1f2):return'na';case _0x43f108(0x18c):return _0x43f108(0x175);case _0x43f108(0x19e):return'b';case'aliasedBrowsePath':return'ab';default:return't';}}const _0x1a9a44=(_0x86ade9,_0x1bcc8a)=>_0x54c11d(void 0x0,[_0x86ade9,_0x1bcc8a],void 0x0,function*({endpointNode:_0x17a3af,endpoint:_0x3a1f5d,baseUrl:_0x1bea3d},_0x3c1c32){const _0x27df9e=_0x1f57b3,_0x36a91c=_0x1bea3d+_0x27df9e(0x1bc),_0x5df3ff=_0x36a91c+_0x27df9e(0x193),_0x222730=_0x17a3af['id'],_0x3b7ac4=RED[_0x27df9e(0x1a9)]['node'](_0x222730);console[_0x27df9e(0x1f7)](_0x3b7ac4[_0x27df9e(0x145)]),_0x3b7ac4['namespaceAliases'];const _0x2e0d5f=_0x17a3af['namespaceAliases'],_0x4ac473=yield fetch(_0x5df3ff,{'method':_0x27df9e(0x19d),'body':JSON[_0x27df9e(0xdf)]({'endpointNode':_0x17a3af,'endpoint':_0x3a1f5d,'nodeId':_0x3c1c32,'namespaceAliases':_0x2e0d5f}),'headers':{'Content-Type':_0x27df9e(0x1e2)}}),_0x7c02b6=yield _0x4ac473[_0x27df9e(0x117)]();return{'json':_0x7c02b6,'data':_0x4ac473};}),_0x564bf8=(_0x5ba7f6,_0x21d879,_0x1ee1bc,_0x4066d2)=>_0x54c11d(void 0x0,[_0x5ba7f6,_0x21d879,_0x1ee1bc,_0x4066d2],void 0x0,function*({endpointNode:_0x32871a,endpoint:_0x557a6d,baseUrl:_0x4ad970},_0x50ce56,_0x23efdc,_0xdf2368){const _0x2a31a6=_0x1f57b3,_0x4484de=_0x23efdc['val'](),{json:_0x185cb2,data:_0x5835e5}=yield _0x1a9a44({'endpointNode':_0x32871a,'endpoint':_0x557a6d,'baseUrl':_0x4ad970},_0x4484de),_0x2bbf06=(_0x21c2f3,_0x1edcd1)=>{const _0x181d29=_0x1e84;_0xdf2368[_0x181d29(0x124)](_0x21c2f3)[_0x181d29(0x1c1)]('sterfive-info')[_0x181d29(0x1c1)](_0x1edcd1),_0xdf2368[_0x181d29(0x1cb)](),setTimeout(()=>{const _0x32ebc9=_0x181d29;_0xdf2368[_0x32ebc9(0x15f)](_0x1edcd1),_0xdf2368[_0x32ebc9(0x1cf)]();},0xbb8);};if(_0x5835e5['status']!==0xc8)return _0x2bbf06('!!failure!!'+_0x4484de,_0x2a31a6(0x101)),![];else{if(_0x185cb2['statusCode'][_0x2a31a6(0x158)](/Good/)){const _0x4f47e9=_0x4a9186(_0x185cb2);_0x23efdc[_0x2a31a6(0x1d6)](_0x2a31a6(0x1ca),_0x4f47e9);const _0x1281ba=_0x1b0fb3(_0x185cb2,_0x50ce56);return _0x23efdc['val'](_0x1281ba),_0x23efdc[_0x2a31a6(0x128)](_0x2a31a6(0x14f)),_0x2bbf06(_0x2a31a6(0xe2),'ok'),!![];}else return _0x23efdc[_0x2a31a6(0x13a)](''+_0x4484de),_0x2bbf06(_0x185cb2[_0x2a31a6(0x19c)]+'\x20'+_0x5835e5[_0x2a31a6(0x191)],'failure'),![];}});function _0x9feb9e(_0x4a5f7e,_0x262890){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x4ebcb9=_0x1e84,_0x119fad=_0x4a5f7e[_0x4ebcb9(0x1fc)]('value'),_0x51b9b8=yield _0x597943(_0x262890,_0x119fad,_0x4b1433),_0x2509d9=yield _0x597943(_0x262890,_0x119fad,_0x4ce35b);return{'references':[..._0x51b9b8[_0x4ebcb9(0x1ab)],..._0x2509d9[_0x4ebcb9(0x1ab)]]};});}const _0x3cb48e={'referenceTypeId':_0x2f7087(_0x1f57b3(0x1e8)),'includeSubtypes':!![],'browseDirection':_0x26e0f6[_0x1f57b3(0x1e6)],'nodeClassMask':_0x4fd051[_0x1f57b3(0x123)]|_0x4fd051[_0x1f57b3(0x17e)]|_0x4fd051['DataType']|_0x4fd051[_0x1f57b3(0x17f)],'resultMask':0x3f};function _0x1c7cb2(_0x53ea78,_0x405d4b){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x19ace0=_0x1e84,_0x3c9fad=_0x53ea78[_0x19ace0(0x1fc)]('value'),_0x388278=yield _0x597943(_0x405d4b,_0x3c9fad,_0x3cb48e);return _0x388278;});}const _0x16b7b0=_0xe85c96=>{const _0x320d19=_0x1f57b3;var _0x561e52,_0x11ef39,_0x592564,_0x56010e;if(!_0xe85c96||!_0xe85c96[_0x320d19(0xfc)]){const _0x207afd=$('<li><i\x20class=\x22fa\x20fa-error\x22\x20style=\x22color:red;\x22></i>no\x20reference\x20!<ul></ul></li>');return _0x207afd;}const _0x2815ca=_0xe85c96[_0x320d19(0xfc)][_0x320d19(0x162)](),_0xefdc91=((_0x561e52=_0xe85c96['displayName'])===null||_0x561e52===void 0x0?void 0x0:_0x561e52['text'])||((_0x11ef39=_0xe85c96['browseName'])===null||_0x11ef39===void 0x0?void 0x0:_0x11ef39['name'])||_0xe85c96[_0x320d19(0xfc)][_0x320d19(0x162)](),{icon:_0x889eba,color:_0x494b4d}=_0xc0e4e1(_0xe85c96),_0x574c53='('+_0xe85c96['nodeId'][_0x320d19(0x162)]()+')\x20'+(((_0x592564=_0xe85c96[_0x320d19(0xf4)])===null||_0x592564===void 0x0?void 0x0:_0x592564[_0x320d19(0x1b1)])||((_0x56010e=_0xe85c96[_0x320d19(0x1fe)])===null||_0x56010e===void 0x0?void 0x0:_0x56010e[_0x320d19(0x124)])||''),_0x33f8a8=$(_0x320d19(0x153)+_0xe85c96[_0x320d19(0xfc)][_0x320d19(0x162)]()+_0x320d19(0x108)+_0x574c53+_0x320d19(0xdd)+_0x889eba+_0x320d19(0x1ad)+_0x494b4d+_0x320d19(0x17c)+_0xefdc91+_0x320d19(0xe8));return _0x33f8a8['addClass'](_0x320d19(0x15d)),_0x33f8a8[_0x320d19(0x1fc)](_0x320d19(0xfe),_0x2815ca),_0x33f8a8['data']('reference',_0xe85c96),_0x33f8a8;},_0x1c82fb=(_0x5aec3b,_0x4d2689)=>{return _0x4d2689['find']('li[key=\x22'+_0x5aec3b+'\x22]');},_0x420cfe=(_0x4375f6,_0xbafa0d)=>{const _0x3598ee=_0x1f57b3;_0x4375f6[_0x3598ee(0x174)][_0x3598ee(0x14b)](_0x3598ee(0x112))[_0x3598ee(0x15f)]('selected'),_0xbafa0d[_0x3598ee(0x14b)](_0x3598ee(0x1a8))[_0x3598ee(0x1c1)]('selected');},_0x3696ad=(_0x90126c,_0x15217f,_0x2de550)=>_0x54c11d(void 0x0,void 0x0,void 0x0,function*(){const _0x1e53f7=_0x1f57b3;let _0x5a737d=_0x2de550[_0x1e53f7(0xf6)](_0x1e53f7(0x1d0));_0x15217f[_0x1e53f7(0x146)]['elements']||[];const _0x468f8a=_0x15217f[_0x1e53f7(0x10e)]||[];if(_0x468f8a['length']===0x0)return;for(const _0x335006 of _0x468f8a){_0x5a737d['hasClass']('expandable')&&(yield _0xd6e6a3(_0x90126c,_0x5a737d));const _0x2b08b5=_0x1c82fb(_0x335006,_0x5a737d);if(_0x2b08b5[_0x1e53f7(0x141)]===0x0)return;_0x5a737d=_0x2b08b5;}_0x420cfe(_0x90126c,_0x5a737d),_0x316e17(_0x90126c[_0x1e53f7(0x18f)],_0x5a737d);});function _0x316e17(_0x3604de,_0x5cb583){const _0x116252=_0x1f57b3,_0x61980a=_0x5cb583[_0x116252(0x1f3)]()[_0x116252(0x1b9)],_0xeda28=_0x3604de[_0x116252(0x126)]();if(_0xeda28==undefined)return;const _0xb670e1=_0xeda28+_0x61980a-_0x3604de[_0x116252(0x180)]()/0x2+_0x5cb583['height']()/0x2;_0x3604de[_0x116252(0x1e3)]({'scrollTop':_0xb670e1},0x1f4);}const _0x186fd8=(_0x45e175,_0x307719)=>_0x54c11d(void 0x0,void 0x0,void 0x0,function*(){const _0x50b4b9=_0x1f57b3,_0x23671e=_0x45e175['$input'][_0x50b4b9(0x13a)](),_0x12a7ec={'nodeId':_0x23671e,'rootNodeId':_0x307719[_0x50b4b9(0xfc)],'isType':_0x45e175['options'][_0x50b4b9(0xf0)]||![]},_0x259a52=_0x118707(_0x45e175),_0x5181bc=yield _0x529747(_0x259a52,_0x12a7ec);if(!_0x5181bc)return;yield _0x3696ad(_0x45e175,_0x5181bc,_0x45e175['$tree']);});function _0x191039(_0x568a24,_0x9d4165,_0x34a0f1,_0xdd6ca7){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x4d49d9=_0x1e84;if(_0x9d4165[_0x4d49d9(0x150)]('fetched')){console[_0x4d49d9(0x1f7)]('already\x20fetched');return;}if(_0x9d4165['hasClass']('loading')){console[_0x4d49d9(0x1f7)](_0x4d49d9(0x16f));return;}_0x9d4165['addClass'](_0x4d49d9(0x1c0)),_0x9d4165['append'](_0x4d49d9(0x10b));try{_0x9d4165['children']('ul')[_0x4d49d9(0xeb)]();const {references:_0x1e980}=yield _0x34a0f1(_0x9d4165,_0xdd6ca7);_0x1e980[_0x4d49d9(0x1eb)]((_0x110138,_0x2cf1f0)=>{const _0x5cf3c9=_0x4d49d9;var _0xf3edb2,_0x294c5c;return(((_0xf3edb2=_0x110138['browseName'])===null||_0xf3edb2===void 0x0?void 0x0:_0xf3edb2['name'])||'')['localeCompare'](((_0x294c5c=_0x2cf1f0[_0x5cf3c9(0xf4)])===null||_0x294c5c===void 0x0?void 0x0:_0x294c5c[_0x5cf3c9(0x1b1)])||'');});for(const _0x4161dd of _0x1e980){if(_0x568a24['options'][_0x4d49d9(0x1e7)]&&!_0x568a24[_0x4d49d9(0x199)][_0x4d49d9(0x1e7)](_0x4161dd))continue;const _0x5221a6=_0x16b7b0(_0x4161dd);_0x9d4165[_0x4d49d9(0xf6)]('ul')[_0x4d49d9(0xf9)](_0x5221a6);}_0x9d4165[_0x4d49d9(0x1c1)](_0x4d49d9(0x181));}catch(_0x5788fd){_0x9d4165[_0x4d49d9(0xf6)]('ul')[_0x4d49d9(0xf9)]('<li>error\x20'+_0x5788fd[_0x4d49d9(0x1c6)]+'</li>'),console[_0x4d49d9(0x1f7)](_0x4d49d9(0x127),_0x5788fd);}_0x9d4165[_0x4d49d9(0x14b)](_0x4d49d9(0x11e))[_0x4d49d9(0x1b8)](),_0x9d4165['removeClass'](_0x4d49d9(0x1c0));});}function _0x118707(_0x448519){const _0x4f4444=_0x1f57b3,_0x39ae9b={'baseUrl':_0x448519[_0x4f4444(0x199)]['baseUrl'],'endpointNode':typeof _0x448519[_0x4f4444(0x199)][_0x4f4444(0x1d2)]===_0x4f4444(0xf7)?_0x448519[_0x4f4444(0x199)][_0x4f4444(0x1d2)]():_0x448519[_0x4f4444(0x199)]['endpointNode'],'endpoint':typeof _0x448519[_0x4f4444(0x199)][_0x4f4444(0x176)]==='function'?_0x448519['options'][_0x4f4444(0x176)]():_0x448519['options'][_0x4f4444(0x176)]};return _0x39ae9b;}function _0xd6e6a3(_0x3eb7e3,_0x592fb7){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x35c363=_0x1e84;if(_0x592fb7[_0x35c363(0x150)]('fetched')){_0x592fb7[_0x35c363(0x15f)]('expandable')[_0x35c363(0x1c1)]('expanded'),_0x592fb7[_0x35c363(0xf6)]('ul')[_0x35c363(0x11b)]();return;}const _0x11d45c=_0x118707(_0x3eb7e3),_0x4ebfe5=!_0x3eb7e3[_0x35c363(0x199)][_0x35c363(0xf0)]?_0x9feb9e:_0x1c7cb2;try{yield _0x191039(_0x3eb7e3,_0x592fb7,_0x4ebfe5,_0x11d45c),_0x592fb7[_0x35c363(0x15f)](_0x35c363(0x15d))[_0x35c363(0x1c1)](_0x35c363(0x10d));}catch(_0x1cd622){_0x592fb7[_0x35c363(0x15f)](_0x35c363(0x15d))[_0x35c363(0x1c1)](_0x35c363(0x10d)),console[_0x35c363(0x1f7)](_0x35c363(0x170),_0x1cd622);}});}const _0x3573d7={'browseName':{'namespaceIndex':0x0,'name':_0x1f57b3(0x1d9)},'nodeClass':_0x1f57b3(0x1a1),'nodeId':_0x1f57b3(0xe1),'displayName':{'text':'Objects'},'typeDefinition':_0x54abaa},_0x2a8044=()=>{const _0x7263f3=_0x1f57b3;$[_0x7263f3(0x143)](_0x7263f3(0x15a),{'options':{'endpointNode':()=>({'endpoint':_0x7263f3(0x1de)}),'endpoint':()=>undefined,'parentNode':()=>_0x3573d7,'filter':()=>!![],'baseUrl':'','isTypeRef':![]},'resolveParentNode'(){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x5bce19=_0x1e84,_0x64216a=this;if(_0x64216a['__parentNode']==undefined){const _0x5f2aad=typeof _0x64216a['options'][_0x5bce19(0x156)]===_0x5bce19(0xf7)?_0x64216a[_0x5bce19(0x199)][_0x5bce19(0x156)][_0x5bce19(0x15e)](_0x64216a):_0x64216a['options'][_0x5bce19(0x156)];if(_0x5f2aad instanceof Promise){const _0x1090ac=yield _0x5f2aad;_0x64216a[_0x5bce19(0x1c8)]=_0x1090ac;}else _0x64216a[_0x5bce19(0x1c8)]=_0x5f2aad;}return _0x64216a[_0x5bce19(0x1c8)]||_0x3573d7;});},'reset'(){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x35337e=_0x1e84,_0x4a6d14=this,_0xeed930=_0x4a6d14;_0xeed930['__parentNode']=undefined,_0x4a6d14[_0x35337e(0x174)][_0x35337e(0xeb)]();const _0x922b8c=yield this['resolveParentNode'](),_0x548379=_0x16b7b0(_0x922b8c);_0x4a6d14[_0x35337e(0x174)]['append'](_0x548379),_0x4a6d14[_0x35337e(0x109)]=_0x922b8c;});},'verify'(_0x507c7a){const _0xed8c3a=_0x7263f3,_0xd9553d=this,_0x4faf43=_0x118707(_0xd9553d);_0x564bf8(_0x4faf43,_0x507c7a,_0xd9553d[_0xed8c3a(0xf8)],_0xd9553d[_0xed8c3a(0x164)])[_0xed8c3a(0x18a)](_0x76a494=>{const _0x28a44f=_0xed8c3a;!_0x76a494?_0xd9553d[_0x28a44f(0x155)][_0x28a44f(0x1c1)]('sterfive-input-error'):_0xd9553d['$combo'][_0x28a44f(0x15f)]('sterfive-input-error');});},'_hideMenu'(_0x28b9a5){const _0x4d2f51=_0x7263f3,_0x5d28ea=this;$(document)[_0x4d2f51(0x1c4)](_0x4d2f51(0x16c)),_0x28b9a5[_0x4d2f51(0x1cf)](),_0x28b9a5[_0x4d2f51(0x1c3)]({'height':_0x4d2f51(0x14e)});if(_0x28b9a5[_0x4d2f51(0x192)]['multiple']){var _0x42ba59=[];_0x28b9a5['find'](_0x4d2f51(0x1f0))[_0x4d2f51(0xfa)](function(){const _0x43bc31=_0x4d2f51;$(this)[_0x43bc31(0x135)](_0x43bc31(0x13d))&&_0x42ba59[_0x43bc31(0xee)]($(this)['data'](_0x43bc31(0xfe)));}),_0x28b9a5[_0x4d2f51(0x133)](_0x42ba59);}_0x5d28ea[_0x4d2f51(0x105)]['is'](_0x4d2f51(0xe4))?_0x5d28ea[_0x4d2f51(0xf8)][_0x4d2f51(0x128)](_0x4d2f51(0x17b)):_0x5d28ea[_0x4d2f51(0x1ac)]['trigger']('focus');},'_createMenu'(_0x432186,_0x576c59,_0x4dfb65){const _0x832bc0=_0x7263f3;var _0x27eba6=this;const _0x2d37e7=$(_0x832bc0(0x1ed))['addClass'](_0x832bc0(0x125));return _0x2d37e7[_0x832bc0(0x192)]=_0x576c59,_0x2d37e7['callback']=_0x4dfb65,_0x432186['forEach'](_0x589e87=>{const _0x391539=_0x832bc0;typeof _0x589e87===_0x391539(0x1dd)&&(_0x589e87={'value':_0x589e87,'label':_0x589e87});var _0xa52c01=$('<a\x20href=\x22#\x22></a>')[_0x391539(0x1d6)](_0x391539(0xfe),_0x589e87[_0x391539(0xfe)])[_0x391539(0x119)](_0x2d37e7);_0x589e87[_0x391539(0x12c)]&&_0xa52c01[_0x391539(0x124)](_0x589e87[_0x391539(0x12c)]);_0x589e87[_0x391539(0x1ca)]&&_0xa52c01[_0x391539(0x135)](_0x391539(0x1ca),_0x589e87[_0x391539(0x1ca)]);if(_0x589e87[_0x391539(0x1a6)]){if(_0x589e87[_0x391539(0x1a6)][_0x391539(0x1d8)]('<')===0x0)$(_0x589e87[_0x391539(0x1a6)])[_0x391539(0x129)](_0xa52c01);else _0x589e87['icon'][_0x391539(0x1d8)]('/')!==-0x1?$(_0x391539(0x19b),{'class':_0x391539(0x1dc),'style':_0x391539(0x19a)+_0x589e87[_0x391539(0x1a6)]+_0x391539(0x177)+_0x589e87[_0x391539(0x1a6)]+');'})[_0x391539(0x129)](_0xa52c01):$(_0x391539(0x19b),{'class':'red-ui-typedInput-icon\x20'+_0x589e87['icon']})[_0x391539(0x129)](_0xa52c01);}else _0xa52c01['css']({'paddingLeft':_0x391539(0x1da)});!_0x589e87[_0x391539(0x1a6)]&&!_0x589e87[_0x391539(0x12c)]&&_0xa52c01[_0x391539(0x124)](_0x589e87['value']);var _0x51afac;_0x576c59[_0x391539(0x134)]&&(_0x51afac=$(_0x391539(0x12b))[_0x391539(0x1c3)](_0x391539(0x1ea),_0x391539(0x1c7))['data'](_0x391539(0xfe),_0x589e87[_0x391539(0xfe)])['prependTo'](_0xa52c01)['on'](_0x391539(0x200),function(_0x1c924e){const _0x23b94f=_0x391539;_0x1c924e[_0x23b94f(0x159)]();})),_0xa52c01['on'](_0x391539(0xe9),function(_0x1d76b4){const _0x17ace1=_0x391539;_0x1d76b4[_0x17ace1(0x159)](),_0x1d76b4[_0x17ace1(0x120)](),!_0x576c59[_0x17ace1(0x134)]?(_0x4dfb65(_0x589e87['value']),_0x27eba6[_0x17ace1(0x14d)](_0x2d37e7)):_0x51afac[_0x17ace1(0x135)]('checked',!_0x51afac[_0x17ace1(0x135)](_0x17ace1(0x13d)));});}),_0x2d37e7['css']({'display':_0x832bc0(0x1c7)}),_0x2d37e7['on']('keydown',function(_0x1ca43a){const _0x224027=_0x832bc0;if(_0x1ca43a[_0x224027(0x1a2)]===0x28)_0x1ca43a[_0x224027(0x159)](),$(this)[_0x224027(0xf6)](':focus')[_0x224027(0x104)]()[_0x224027(0x128)]('focus');else{if(_0x1ca43a[_0x224027(0x1a2)]===0x26)_0x1ca43a[_0x224027(0x159)](),$(this)[_0x224027(0xf6)](_0x224027(0x1ec))[_0x224027(0xff)]()[_0x224027(0x128)]('focus');else _0x1ca43a[_0x224027(0x1a2)]===0x1b&&(_0x1ca43a['preventDefault'](),_0x27eba6[_0x224027(0x14d)](_0x2d37e7));}_0x1ca43a[_0x224027(0x120)]();}),_0x2d37e7;},'disarmClick':![],'_showMenu'(_0x343476,_0x1cc838){const _0x3cbcfd=_0x7263f3;if(this[_0x3cbcfd(0x1f5)]){this[_0x3cbcfd(0x1f5)]=![];return;}var _0x33d9f9=this,_0x2075fe=_0x1cc838[_0x3cbcfd(0xe5)](),_0x1dbc8a=_0x1cc838[_0x3cbcfd(0x180)](),_0x4bc8a8=_0x343476[_0x3cbcfd(0x180)](),_0xbab1d2=_0x1dbc8a+_0x2075fe['top'];_0xbab1d2+_0x4bc8a8-$(document)['scrollTop']()>$(window)[_0x3cbcfd(0x180)]()&&(_0xbab1d2-=_0xbab1d2+_0x4bc8a8-$(window)[_0x3cbcfd(0x180)]()+0x5),_0xbab1d2<0x0&&(_0x343476[_0x3cbcfd(0x180)](_0x4bc8a8+_0xbab1d2),_0xbab1d2=0x0),_0x343476[_0x3cbcfd(0x1c3)]({'top':_0xbab1d2+'px','left':_0x2075fe['left']+'px'}),_0x343476['slideDown'](0x64),this[_0x3cbcfd(0x183)](function(){const _0x2a90e4=_0x3cbcfd;_0x33d9f9[_0x2a90e4(0xef)]['addClass'](_0x2a90e4(0x1cd)),$(document)['on']('mousedown.red-ui-typedInput-close-property-select',function(_0x1efb0e){const _0x373bf4=_0x2a90e4;!$(_0x1efb0e[_0x373bf4(0x10a)])[_0x373bf4(0x171)](_0x343476)[_0x373bf4(0x141)]&&_0x33d9f9[_0x373bf4(0x14d)](_0x343476),$(_0x1efb0e['target'])['closest'](_0x1cc838)['length']&&(_0x33d9f9[_0x373bf4(0x1f5)]=!![],_0x1efb0e[_0x373bf4(0x159)]());});});},'_showTypeMenu'(){const _0x22954b=_0x7263f3,_0x4b6fa7=this;this[_0x22954b(0x107)](_0x4b6fa7[_0x22954b(0xde)],_0x4b6fa7['$combo']),_0x4b6fa7['$dropdown']['hide']();const _0x364d8c=_0x4b6fa7[_0x22954b(0x12f)];var _0x3c4cf1=_0x4b6fa7[_0x22954b(0xde)][_0x22954b(0x14b)](_0x22954b(0x1c5)+_0x364d8c+'\x27');setTimeout(function(){const _0x2c267e=_0x22954b;_0x3c4cf1[_0x2c267e(0x128)](_0x2c267e(0x17b));},0x78);},'_initMenu'(){const _0x2327a3=_0x7263f3,_0x3f5eb1=this;_0x3f5eb1[_0x2327a3(0x1ac)][_0x2327a3(0x1d6)](_0x2327a3(0x166),-0x1),_0x3f5eb1[_0x2327a3(0x1ac)]['on'](_0x2327a3(0xfd),function(_0x4d9dae){const _0x5b4f34=_0x2327a3;_0x4d9dae[_0x5b4f34(0x159)]();});_0x3f5eb1[_0x2327a3(0xde)]&&_0x3f5eb1['$menu'][_0x2327a3(0x1b8)]();const _0x20514d=[{'label':'text','value':'t','title':_0x2327a3(0x1f6),'icon':'<i\x20class=\x22fa\x20fa-font\x22/i>\x20'},{'label':_0x2327a3(0x1f4),'value':_0x2327a3(0x186),'title':_0x2327a3(0x148),'icon':'<i\x20class=\x22fa\x20fa-envelope-open-o\x22/>'},{'label':_0x2327a3(0x190),'value':'n','icon':'<i\x20class=\x22fa\x20fa-tag\x22/>1\x20 \x20'},{'label':_0x2327a3(0x1a4),'value':'na','icon':'<i\x20class=\x22fa\x20fa-bookmark\x22/> \x20'},{'label':_0x2327a3(0x100),'value':'nsu','icon':_0x2327a3(0x1a3)},{'label':_0x2327a3(0x122),'value':'b','icon':_0x2327a3(0x1df)},{'label':_0x2327a3(0x1bb),'value':'ab','icon':'<i\x20class=\x22fa\x20fa-bookmark\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> '}],_0x8c088e=_0x4b666f(_0x3f5eb1['$input'][_0x2327a3(0x13a)]()),_0x1ee0de=_0x20514d[_0x2327a3(0x14b)](_0xdec993=>_0xdec993[_0x2327a3(0xfe)]===_0x8c088e);_0x3f5eb1['$selectLabel'][_0x2327a3(0xeb)]()[_0x2327a3(0xf9)](_0x2327a3(0x106)+((_0x1ee0de===null||_0x1ee0de===void 0x0?void 0x0:_0x1ee0de[_0x2327a3(0x1ca)])||'')+_0x2327a3(0x1c9)+((_0x1ee0de===null||_0x1ee0de===void 0x0?void 0x0:_0x1ee0de[_0x2327a3(0x1a6)])||'')+_0x2327a3(0x1fb)),_0x3f5eb1['selectedMenuItem']=_0x8c088e;const _0x537985=this;_0x3f5eb1[_0x2327a3(0xde)]=this['_createMenu'](_0x20514d,{},_0x539365=>{const _0x1b19e=_0x2327a3,_0x430b2a=_0xe9ef04(_0x539365);_0x430b2a&&_0x537985[_0x1b19e(0x1aa)](_0x430b2a);const _0x40dba1=_0x20514d[_0x1b19e(0x14b)](_0x8fea1=>_0x8fea1[_0x1b19e(0xfe)]===_0x539365);_0x3f5eb1[_0x1b19e(0x12f)]=_0x539365,_0x3f5eb1[_0x1b19e(0x189)]['empty']()[_0x1b19e(0xf9)]('<span\x20title='+((_0x40dba1===null||_0x40dba1===void 0x0?void 0x0:_0x40dba1[_0x1b19e(0x1ca)])||'')+_0x1b19e(0x1c9)+((_0x40dba1===null||_0x40dba1===void 0x0?void 0x0:_0x40dba1[_0x1b19e(0x1a6)])||'')+_0x1b19e(0x1fb));}),_0x3f5eb1[_0x2327a3(0xde)][_0x2327a3(0x119)](document[_0x2327a3(0x1d7)]),_0x3f5eb1['$menu'][_0x2327a3(0x1cf)](),_0x3f5eb1[_0x2327a3(0x1ac)][_0x2327a3(0x1cb)]();},'mode'(){const _0x535d87=_0x7263f3,_0x456557=this;return _0xe9ef04(_0x456557[_0x535d87(0x12f)]);},'setMode'(_0xf1200f){const _0x2cd951=_0x7263f3,_0xabecb5=this,_0x31ecb4=_0x1213f8(_0xf1200f);_0xabecb5[_0x2cd951(0x12f)]=_0x31ecb4;},'_create'(){const _0x362f9e=_0x7263f3,_0x3f399c=this;_0x3f399c[_0x362f9e(0xf8)]=this['element'],_0x3f399c[_0x362f9e(0xf8)][_0x362f9e(0x1c3)](_0x362f9e(0x1a0),'none'),_0x3f399c['$elementDiv']=_0x3f399c[_0x362f9e(0xf8)][_0x362f9e(0x1be)](_0x362f9e(0x1ed))[_0x362f9e(0x188)]()[_0x362f9e(0x1c1)](_0x362f9e(0x144)),_0x3f399c[_0x362f9e(0x155)]=$('<div/>'),_0x3f399c[_0x362f9e(0x155)][_0x362f9e(0x1c1)]('sterfive-combo-box'),_0x3f399c['$input'][_0x362f9e(0x147)](_0x3f399c[_0x362f9e(0x155)]),_0x3f399c[_0x362f9e(0x172)]=$(_0x362f9e(0x1e1))[_0x362f9e(0x1c1)](_0x362f9e(0xea)),_0x3f399c[_0x362f9e(0x155)][_0x362f9e(0xf9)](_0x3f399c[_0x362f9e(0x172)]),_0x3f399c[_0x362f9e(0x172)][_0x362f9e(0xf9)](_0x3f399c[_0x362f9e(0xf8)]),_0x3f399c['$toggleTreeBtn']=$(_0x362f9e(0x16a)),_0x3f399c[_0x362f9e(0xf8)][_0x362f9e(0x1ae)](_0x3f399c[_0x362f9e(0x1b7)]),_0x3f399c[_0x362f9e(0x1b7)]['on'](_0x362f9e(0xe9),function(){return _0x54c11d(this,void 0x0,void 0x0,function*(){const _0x2ad5b9=_0x1e84;var _0x38c037;let _0x1384c0=![],_0x1da30f;!_0x3f399c[_0x2ad5b9(0x18f)]['is'](_0x2ad5b9(0xe4))&&(_0x3f399c['$info'][_0x2ad5b9(0x1cf)](),_0x1da30f=yield _0x3f399c[_0x2ad5b9(0x1f1)](),(_0x1da30f!==_0x3f399c[_0x2ad5b9(0x109)]||((_0x38c037=_0x3f399c[_0x2ad5b9(0x109)])===null||_0x38c037===void 0x0?void 0x0:_0x38c037['nodeId'])!==_0x1da30f[_0x2ad5b9(0xfc)])&&(yield _0x3f399c[_0x2ad5b9(0x102)]()),_0x1384c0=!![]),_0x3f399c[_0x2ad5b9(0x18f)][_0x2ad5b9(0x11b)](),_0x1384c0&&(yield _0x186fd8(_0x3f399c,_0x1da30f));});}),_0x3f399c[_0x362f9e(0x1ee)]=$('<button\x20title=\x22verify\x20nodeId\x20or\x20browsePath\x22><i\x20class=\x22fa\x20fa-refresh\x22></i></button>'),_0x3f399c[_0x362f9e(0xf8)][_0x362f9e(0x1ae)](_0x3f399c[_0x362f9e(0x1ee)]),_0x3f399c[_0x362f9e(0x1ee)]['on'](_0x362f9e(0xe9),()=>{const _0x4217e9=_0x362f9e,_0x21ffdd=_0x3f399c[_0x4217e9(0x1b0)]();if(!_0x21ffdd)return;this['verify'](_0x21ffdd);});const _0x560956=_0x5b348d=>_0x54c11d(this,void 0x0,void 0x0,function*(){const _0x550e33=_0x362f9e,_0x2d06d5=this;let _0x8e496c=_0x2d06d5[_0x550e33(0x1b0)]();if(!_0x8e496c)return;const _0x31d04c=_0x118707(_0x2d06d5),{data:_0x310253,json:_0x5a956f}=yield _0x1a9a44(_0x31d04c,_0x5b348d);if(_0x310253['status']!==0xc8)return;if(_0x5a956f['statusCode'][_0x550e33(0x158)](/Good/)){const _0x240756=_0x1b0fb3(_0x5a956f,_0x8e496c);_0x2d06d5[_0x550e33(0xf8)][_0x550e33(0x13a)](_0x240756),_0x2d06d5[_0x550e33(0xf8)][_0x550e33(0x128)]('change');}});{_0x3f399c[_0x362f9e(0xef)]=$(_0x362f9e(0x1ed)),_0x3f399c[_0x362f9e(0xf8)][_0x362f9e(0x163)](_0x3f399c['$uiSelect']),_0x3f399c[_0x362f9e(0x1ac)]=$(_0x362f9e(0x118))[_0x362f9e(0x129)](_0x3f399c[_0x362f9e(0xef)]),$(_0x362f9e(0x10c))['toggle'](!![])['appendTo'](_0x3f399c[_0x362f9e(0x1ac)]),_0x3f399c[_0x362f9e(0x1ac)]['on'](_0x362f9e(0xe9),function(_0x1103c9){const _0xfba77c=_0x362f9e;_0x1103c9[_0xfba77c(0x159)](),_0x1103c9['stopPropagation'](),_0x3f399c[_0xfba77c(0x15b)]();}),_0x3f399c[_0x362f9e(0x1ac)]['on'](_0x362f9e(0x1cc),function(_0x149135){const _0x5d58d9=_0x362f9e;_0x149135[_0x5d58d9(0x1a2)]===0x28&&_0x3f399c[_0x5d58d9(0x15b)](),_0x149135[_0x5d58d9(0x120)]();})['on'](_0x362f9e(0x17b),function(){const _0x214746=_0x362f9e;_0x3f399c[_0x214746(0xef)][_0x214746(0x1c1)]('red-ui-typedInput-focus');})['on'](_0x362f9e(0x19f),function(){const _0x228741=_0x362f9e;_0x3f399c[_0x228741(0xef)]['removeClass'](_0x228741(0x1cd));}),_0x3f399c[_0x362f9e(0x189)]=$(_0x362f9e(0x136))[_0x362f9e(0x119)](_0x3f399c[_0x362f9e(0x1ac)]);}this['_initMenu']();!_0x3f399c['$input']['attr'](_0x362f9e(0x1b3))&&_0x3f399c['$input'][_0x362f9e(0x1d6)]('placeholder',_0x362f9e(0x131));_0x3f399c['$info']=$(_0x362f9e(0x13f)),_0x3f399c[_0x362f9e(0x164)][_0x362f9e(0x1cf)](),_0x3f399c[_0x362f9e(0x155)][_0x362f9e(0xf9)](_0x3f399c[_0x362f9e(0x164)]),_0x3f399c[_0x362f9e(0x18f)]=$(_0x362f9e(0x1e1))[_0x362f9e(0x1c1)](_0x362f9e(0x178))[_0x362f9e(0x1cf)]()[_0x362f9e(0x119)](_0x3f399c[_0x362f9e(0x155)]),_0x3f399c[_0x362f9e(0x174)]=$(_0x362f9e(0x10f))[_0x362f9e(0x119)](_0x3f399c[_0x362f9e(0x18f)]),this[_0x362f9e(0x102)]();const _0x2e811a=(_0x1b555d,_0x187858)=>{const _0x25b56f=_0x362f9e,_0x3da231=0x14,_0x36ff36=0x14,_0x48e9aa=_0x1b555d[_0x25b56f(0xe5)](),_0x27b497=_0x187858;if(_0x27b497[_0x25b56f(0x201)]>=_0x48e9aa[_0x25b56f(0x1b4)]&&_0x27b497[_0x25b56f(0x201)]<=_0x48e9aa[_0x25b56f(0x1b4)]+_0x3da231&&_0x27b497['pageY']>=_0x48e9aa[_0x25b56f(0x1b9)]&&_0x27b497['pageY']<=_0x48e9aa[_0x25b56f(0x1b9)]+_0x36ff36)return!![];return![];},_0x3823ab=_0x36c620=>_0x54c11d(this,void 0x0,void 0x0,function*(){const _0xf876b0=_0x362f9e;if(_0x36c620[_0xf876b0(0x150)](_0xf876b0(0x15d)))_0xd6e6a3(_0x3f399c,_0x36c620);else{if(_0x36c620[_0xf876b0(0x150)]('expanded'))_0x36c620[_0xf876b0(0xf6)]('ul')[_0xf876b0(0x11b)](),_0x36c620[_0xf876b0(0x13e)](_0xf876b0(0x17a));else{if(_0x36c620[_0xf876b0(0xf6)]('ul')[_0xf876b0(0xf6)]()[_0xf876b0(0x141)]>0x0)_0x36c620[_0xf876b0(0xf6)]('ul')[_0xf876b0(0x11b)](),_0x36c620[_0xf876b0(0x13e)](_0xf876b0(0x17a));else;}}});_0x3f399c[_0x362f9e(0x174)]['on'](_0x362f9e(0x1e0),'li',function(_0x5bea06){const _0x4d9185=_0x362f9e;var _0x25c065,_0x4b3013;_0x5bea06[_0x4d9185(0x120)]();let _0xffe30a=$(this);if(_0x2e811a(_0xffe30a,_0x5bea06))_0x3823ab(_0xffe30a);else{const _0x20282f=_0xffe30a[_0x4d9185(0x1fc)](_0x4d9185(0xfe)),_0x3c8ba9=_0xffe30a['data'](_0x4d9185(0x165));if(_0x3f399c['options'][_0x4d9185(0x1ef)]&&!_0x3f399c[_0x4d9185(0x199)][_0x4d9185(0x1ef)](_0x3c8ba9))return;_0x3f399c[_0x4d9185(0xf8)][_0x4d9185(0x1fc)](_0x4d9185(0x165),_0x3c8ba9),((_0x25c065=_0x3c8ba9[_0x4d9185(0x1fe)])===null||_0x25c065===void 0x0?void 0x0:_0x25c065['text'])||((_0x4b3013=_0x3c8ba9[_0x4d9185(0xf4)])===null||_0x4b3013===void 0x0?void 0x0:_0x4b3013[_0x4d9185(0x1b1)])||_0x3c8ba9['nodeId'][_0x4d9185(0x162)]();let _0x539312=_0x3f399c[_0x4d9185(0x1b0)]();!_0x539312&&(_0x539312=_0x4d9185(0xfc),_0x3f399c[_0x4d9185(0x1af)](_0x539312)),_0x560956(_0x20282f)['then'](()=>{const _0x5939f8=_0x4d9185;_0x3f399c[_0x5939f8(0x18f)][_0x5939f8(0x1cf)]();})[_0x4d9185(0x18e)](_0x13ef64=>{const _0x31c046=_0x4d9185;_0x3f399c[_0x31c046(0x18f)][_0x31c046(0x1cf)]();});}}),_0x3f399c[_0x362f9e(0x174)]['on'](_0x362f9e(0xe9),'li',function(_0x52ea45){const _0x45ca60=_0x362f9e;_0x52ea45[_0x45ca60(0x120)]();let _0x264de0=$(this);_0x2e811a(_0x264de0,_0x52ea45)&&_0x3823ab(_0x264de0),_0x420cfe(_0x3f399c,_0x264de0);}),$(document)['on'](_0x362f9e(0xe9),function(_0x111b1e){const _0x31ec1c=_0x362f9e;!$(_0x111b1e[_0x31ec1c(0x10a)])[_0x31ec1c(0x171)](_0x3f399c[_0x31ec1c(0x155)])[_0x31ec1c(0x141)]&&_0x3f399c['$dropdown'][_0x31ec1c(0x1cf)]();});}});},_0x3e455e=()=>{const _0x2b9129=_0x1f57b3,_0x281385=$('#node-input-endpoint'),_0x23d660=_0x281385['val'](),_0x483448=RED['nodes'][_0x2b9129(0xec)](_0x23d660);if(!_0x483448)return undefined;const {endpoint:_0x935d14,securityMode:_0x2abf69,securityPolicy:_0x2f8b56,userIdentityType:_0x470091,credentials:_0x678a93,namespaceAliases:_0xe2ac0c}=_0x483448,_0x36d03a={'endpoint':_0x935d14,'securityMode':_0x2abf69,'securityPolicy':_0x2f8b56,'userIdentityType':_0x470091,'credentials':_0x678a93,'namespaceAliases':_0xe2ac0c};return _0x36d03a;},_0x51f485=()=>{const _0x1c0069=_0x1f57b3,_0x2c8100=$(_0x1c0069(0x1d3)),_0x11ca2d=_0x2c8100[_0x1c0069(0x13a)](),_0x1ec3ab=_0x3e455e();if(!_0x1ec3ab)return undefined;const _0x3d29ca=_0x1ec3ab[_0x1c0069(0x145)];return Object[_0x1c0069(0x168)]({'namespaceAliases':_0x3d29ca,'id':_0x11ca2d},_0x1ec3ab);},_0x28b875=()=>{return{'endpointNode':_0x51f485};},_0xbfe698=()=>{const _0xe7a446=_0x1f57b3,_0x468cbe=$(_0xe7a446(0x1fa));if(_0x468cbe[_0xe7a446(0x141)]){const _0x2ec19f=$('<iframe></iframe>',{'src':'/opcua-for-node-red/support-frame.html','scrolling':'no','style':'background-color:transparent;overflow:hidden;border:3px','allowtransparency':_0xe7a446(0x1e5),'width':_0xe7a446(0x1d4),'height':_0xe7a446(0x11d)});_0x468cbe[_0xe7a446(0xf9)](_0x2ec19f),_0x2ec19f['css']({'position':'absolute','right':_0xe7a446(0x1ba),'bottom':'16px'});}};RED['nodes'][_0x1f57b3(0xfb)](_0x1f57b3(0x1f9),{'category':_0x1f57b3(0x187),'color':'#C0DEED','align':'right','icon':_0x1f57b3(0x1f8),'paletteLabel':_0x1f57b3(0x1fd),'defaults':{'inputs':{'value':0x1},'output':{'value':0x4},'name':{'value':''},'endpoint':{'value':'','required':!![],'type':'OpcUa-Endpoint2'},'attributeId':{'value':_0x1f57b3(0xe0),'required':!![]},'nodeId':{'value':'','required':![]}},'inputs':0x1,'outputs':0x1,'label'(){const _0x13f4b4=_0x1f57b3;return this[_0x13f4b4(0x1b1)]||_0x13f4b4(0xf1);},'labelStyle'(){const _0x1d9b93=_0x1f57b3;return this[_0x1d9b93(0x1b1)]?_0x1d9b93(0x12e):'';},'oneditprepare'(){const _0x33fe10=_0x1f57b3,_0x5934ea=this;_0x2a8044(),_0xbfe698(),_0x5934ea[_0x33fe10(0x179)]=0x1;const _0x2dac7a=$(_0x33fe10(0x1b5));_0x2dac7a['nodeBrowser'](Object[_0x33fe10(0x168)](Object[_0x33fe10(0x168)]({},_0x28b875()),{'isSelectable'(_0x23e96b){const _0x2a8f43=_0x33fe10;return _0x23e96b[_0x2a8f43(0x132)]===_0x2a8f43(0x197);}}));},'oneditsave'(){}});}()));function _0x1e84(_0x3579fa,_0x4baaae){const _0x46069b=_0x4606();return _0x1e84=function(_0x1e8404,_0x5ab766){_0x1e8404=_0x1e8404-0xdb;let _0x250bd4=_0x46069b[_0x1e8404];return _0x250bd4;},_0x1e84(_0x3579fa,_0x4baaae);}function _0x4606(){const _0x2654fb=['options','mask-image:\x20url(','<i>','statusCode','POST','browsePath','blur','border','Object','keyCode','<i\x20class=\x22fa\x20fa-id-card\x22/> \x20','Aliased\x20NodeId','fa-text-width','icon','764760HQhReo','.tree-text:first','nodes','verify','references','$selectTrigger','\x22\x20style=\x22color:','after','setMode','mode','name','requestedNodeId','placeholder','left','#node-input-nodeId','SteelBlue','$toggleTreeBtn','remove','top','20px','Aliased\x20Browse\x20Path','/opcua-for-node-red','fa-cog','wrap','referenceTypeId','loading','addClass','IsForward','css','off','[value=\x27','message','none','__parentNode','> \x20','title','show','keydown','red-ui-typedInput-focus','TypeDefinition','hide',':first','Inverse','endpointNode','#node-input-endpoint','180px','aliased\x20NodeId:\x20','attr','body','indexOf','Objects','18px','fa-sliders','red-ui-typedInput-icon','string','opc.tcp://opcuademo.sterfive.com:26543','<i\x20class=\x22fa\x20fa-tag\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> ','dblclick','<div/>','application/json','animate','HasProperty','true','Forward','filter','HasSubtype','/browse','pointer-events','sort',':focus','<div>','$verifyBtn','isSelectable','input[type=\x22checkbox\x22]','resolveParentNode','aliasedNodeId','position','msg.','disarmClick','Value\x20is\x20not\x20verified','log','../../icons/opcuanodeLogo.png','OpcUa-Client2-Write','.red-ui-tray-body','</span>','data','write','displayName','bp_indexed','mousedown','pageX','browse\x20path:\x20','nodeId:\x20','browseResult','><i\x20class=\x22fa\x20','$menu','stringify','Value','ns=0;i=85','Good','grey',':visible','offset','fa-object-group','nsu\x20nodeId:\x20','</span><ul></ul></li>','click','sterfive-input-group','empty','node','SandyBrown','push','$uiSelect','isTypeRef','OPCUA\x20Client\x20Write','HasChild','typeDefinition','browseName','CadetBlue','children','function','$input','append','each','registerType','nodeId','mousedown.red-ui-typedInput-focus-block','value','prev','NodeId\x20with\x20namespace\x20Urn','failure','reset','DodgerBlue','next','$elementDiv','<span\x20title=','_showMenu','\x22}><span\x20class=\x22tree-text\x22\x20title=','currentParent','target','<div\x20class=\x22spinner\x22></div>','<i\x20class=\x22red-ui-typedInput-icon\x20fa\x20fa-caret-down\x22></i>','expanded','nodeIds','<ul\x20class=\x22sterfive-tree\x22></ul>','nodeId_nsu','ns=0;i=46','li\x20>\x20.tree-text','statusCode:\x20','ns=0;i=35','1659MCsDKA','ns=0;i=40','json','<button\x20type=\x22button\x22\x20tabindex=\x220\x22></button>','appendTo','rgba(61,\x2060,\x204,\x200.525)','toggle','DarkOrange','30px','.spinner','apply','stopPropagation','DataType','BrowsePath','ReferenceType','text','sterfive-typedInput-options\x20sterfive-online-menu','scrollTop','err','trigger','prependTo','/walk-backward','<input\x20type=\x22checkbox\x22>','label','Method','node_label_italic','selectedMenuItem','7iIEPSs','enter\x20a\x20nodeId\x20or\x20a\x20browsePath\x20','nodeClass','callback','multiple','prop','<span\x20class=\x22red-ui-typedInput-type-label\x22></span>','nodeId_aliased','1317880hPwgyx','aliasedBrowsePath','val','fa-list-alt','15qlRTBd','checked','toggleClass','<div\x20class=\x22sterfive-info-text\x22></div>','ns=0;i=34','length','BrowseName','widget','main-wrapper','namespaceAliases','relativePath','replaceWith','node\x20id\x20or\x20\x20browse\x20path\x20comes\x20from\x20injected\x20msg\x20parameter','NodeClass','ns=0;i=45','find','907916bIWlHD','_hideMenu','auto','change','hasClass','fetching\x20failed\x20with\x20error','8452896nyrSQK','<li\x20key=\x22','View','$combo','parentNode','878QAlYpj','match','preventDefault','sterfive.nodeBrowser','_showTypeMenu','join','expandable','call','removeClass','aliased\x20browsePath:\x20','node\x20class:\x20','toString','before','$info','reference','tabindex','HasComponent','assign','Invalid','<button\x20title=\x22open\x20OPCUA\x20AddressSpace\x20Browser\x22><i\x20class=\x22fa\x20fa-sitemap\x22></i></button>','status','mousedown.red-ui-typedInput-close-property-select','3200013hKZEFj','bp_aliased','already\x20loading','error','closest','$inputGroup','Organizes','$tree','nsu','endpoint',');\x20-webkit-mask-image:\x20url(','sterfive-dropdown','inputs','expandable\x20expanded','focus',';\x22></i>\x20','done','ObjectType','VariableType','height','fetched','SuppressedError','_delay','Unspecified','ns=0;i=61','msg','opcua','parent','$selectLabel','then','suppressed','nsuNodeID','136813mNqCyi','catch','$dropdown','NodeId','statusText','opts','/checkNodeId','i=61','SeaGreen','Both','Variable','DisplayName'];_0x4606=function(){return _0x2654fb;};return _0x4606();}
</script>
<script type="text/x-red" data-template-name="OpcUa-Client2-Write">
<h3>OpcUa Write</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>
</select>
</div>
<div class="form-row">
<label for="node-input-nodeId" style="width: 100%"><i class="fa fa-tag"></i><span>NodeId</span></label>
<input type="text" id="node-input-nodeId" placeholder="ns=2;s=Variable1 or empty" />
</div>
</script>
<script type="text/markdown" data-help-name="OpcUa-Client2-Write">
# OPC UA Write Node
Writes values to OPC UA server variables and attributes. This node supports both single value writes and multiple value writes in a single operation.
## Configuration
### Node Properties
- **Name**: Optional friendly name for the node
- **Endpoint**: OPC UA server endpoint configuration (required)
- **AttributeId**: The attribute to write to (default: "Value")
- **NodeId**: The target node identifier (optional - can be provided via message)
### AttributeId Options
The node can write to various OPC UA node attributes:
- **Value** (default) - The node's current value
Note: only the "Value" attribute is supported for writing.
## Input Message Formats
### Single Value Write (Simple Form 1)
```javascript
msg = {
payload: <value>, // The value to write
nodeId: "ns=2;s=MyVar", // Target node (optional if configured)
topic: "ns=2;s=MyVar", // Alternative way to specify nodeId
attributeId: "Value", // Attribute to write (optional)
dataType: "Double" // Explicit data type (optional)
}
```
### Single Value Write (Simple Form 2)
```javascript
msg = {
payload: <value>, // The value to write
nodeId: "ns=2;s=MyVar", // Target node (optional if configured)
topic: "ns=2;s=MyVar", // Alternative way to specify nodeId
attributeId: "Value", // Attribute to write (optional)
dataType: "String" // Explicit data type as string (optional)
}
```
### Multiple Values Write
```javascript
msg = {
payload: [
// Array of write operations
{
nodeId: "ns=2;s=Var1",
value: 42,
dataType: "Int32",
},
{
nodeId: "ns=2;s=Var2",
value: "Hello",
dataType: "String",
},
],
};
```
## Payload Value Types
### Automatic Type Conversion
The node automatically converts JavaScript values to appropriate OPC UA data types:
- **Numbers**: Converted to appropriate numeric types (Int32, Double, etc.)
- **Strings**: Converted to OPC UA String type
- **Booleans**: Converted to OPC UA Boolean type
- **Arrays**: Converted to OPC UA arrays of the appropriate type
- **Objects**: Can be used for complex data structures
### Explicit Variant Format
For precise control over data type and structure:
```javascript
msg.payload = {
dataType: "Double", // OPC UA data type
value: 3.14159, // The actual value
arrayType: "Scalar", // "Scalar", "Array", or "Matrix"
dimensions: [3, 4], // Array dimensions (for matrices)
};
```
### Supported Data Types
Common OPC UA data types include:
- **Boolean** - true/false values
- **SByte, Byte** - 8-bit integers
- **Int16, UInt16** - 16-bit integers
- **Int32, UInt32** - 32-bit integers
- **Int64, UInt64** - 64-bit integers
- **Float, Double** - Floating point numbers
- **String** - Text strings
- **DateTime** - Date and time values
- **ByteString** - Binary data
- **NodeId** - OPC UA node identifiers
- **LocalizedText** - Localized text with language info
## Output Messages
### Single Write Response
```javascript
{
// Original input message properties
payload: <original_value>,
nodeId: "ns=2;s=MyVar",
// Write operation results
statusCode: "Good", // OPC UA status code
dataType: "Double", // Actual data type written
attributeId: "Value", // Attribute that was written
message: "error details" // Error message (if any)
}
```
### Multiple Write Response
```javascript
{
// Original input message properties
payload: [...],
// Array of write results
results: [
{
statusCode: "Goo