UNPKG

node-red-contrib-dnp

Version:

The DNP/DNP3 toolbox package for Node-RED.

15 lines (14 loc) 1.1 kB
<!-- The BSD 3-Clause License Copyright (c) 2017 - Klaus Landsdorf (http://bianco-royal.de/) All rights reserved. node-red-contrib-dnp --> <script type='text/javascript'> RED.nodes.registerType("DNP-Write",{category:"DNP",color:"#D1330E",defaults:{name:{value:""},server:{type:"DNP-Client",required:!0}},inputs:1,outputs:1,align:"right",icon:"dnp-icon-small.png",label:function(){return this.name||"DNP Write"},labelStyle:function(){return this.name?"node_label_italic":""}}) </script> <script type='text/x-red' data-template-name='DNP-Write'> <div class='form-row'> <label for='node-input-name'><i class='icon-tag'></i> <span data-i18n='node-red:common.label.name'></span></label> <input type='text' id='node-input-name' placeholder=''> </div> <div class='form-row'> <label for='node-input-server'><i class='icon-globe'></i> <span data-i18n='dnp-contrib.label.server'></span></label> <input type='text' id='node-input-server'> </div> </script> <script type='text/x-red' data-help-name='DNP-Write'> <h2>DNP Write node</h2> <p>!!! NOT READY TO USE - UNDER DEVELOPMENT !!!</p> </script>