-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopcua-write.html
27 lines (26 loc) · 905 Bytes
/
opcua-write.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<script type="text/javascript">
RED.nodes.registerType('opcua-write', {
category: 'opcuax',
color: '#a6bbcf',
defaults: {
client: { value: "", required: true, type: "opcua-client" },
nodeid: { required: true },
},
inputs: 1,
outputs: 0,
icon: "opcua-logo.png",
label: function () {
return this.defaults.client.name;
}
});
</script>
<script type="text/html" data-template-name="opcua-write">
<div class="form-row">
<label for="node-input-client"><i class="fa fa-plug"></i> Client</label>
<input type="text" id="node-input-client" placeholder="">
</div>
<div class="form-row">
<label for="node-input-nodeid"><i class="fa fa-link"></i> NodeId</label>
<input type="text" id="node-input-nodeid" placeholder="ns=*;i=*, ns=*;s=*">
</div>
</script>