@iotschema/averagephasetophasevoltage
Version:
undefined
172 lines (132 loc) • 6.56 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('averagephasetophasevoltage',{
category: 'iotschemaorg',
color: '#00A4B4',
defaults: {
propertyType: {value:""},
minValue: {value:""},
maxValue: {value:""},
unitCode: {value:""},
name: {value:""},
iptype: {value:"iot:AveragePhaseToPhaseVoltage"},
capability: {value:"iot:VoltageMonitoring"},
foitype: {value:""},
foi: {value:""},
operation:{value:""}
},
inputs:1,
outputs:2,
icon: "file.png",
label: function() {
return this.name||"averagephasetophasevoltage";
}
});
</script>
<script type="text/x-red" data-template-name="averagephasetophasevoltage">
<div class="form-row">
<label for="node-input-name" style="width:40%"><i class="icon-tag"></i> Name:</label>
<input type="text" id="node-input-name" placeholder="Name" style="width:50%"/>
</div>
<div class="form-row">
<label for="node-input-iptype" style="width:40%"><i class="icon-tag"></i> Interaction Pattern Type:</label>
<input type="text" id="node-input-iptype" style="width:50%" readonly/>
</div>
<div class="form-row">
<label for="node-input-capability" style="width:40%"><i class="icon-tag"></i> Capability:</label>
<input type="text" id="node-input-capability" style="width:50%" value="iot:VoltageMonitoring" disabled/>
</div>
<div class="form-row">
<label for="node-input-foitype" style="width:40%"><i class="icon-tag"></i> Feature Of Interest Type:</label>
<input type="text" id="node-input-foitype" style="width:50%" placeholder=""/>
</div>
<div class="form-row">
<label for="node-input-foi" style="width:40%"><i class="icon-tag"></i> Feature Of Interest:</label>
<input type="text" id="node-input-foi" style="width:50%" placeholder=""/>
</div>
<fieldset>
<legend style="font-size:14px;font-weight:bold;color:#555;font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;">VoltageData</legend>
<div class="form-row">
<label for="node-input-propertyType" style="width:40%"><i class="icon-tag"></i> PropertyType:</label>
<input type="text" id="node-input-propertyType" style="width:50%" placeholder="float" disabled><br/>
</div>
<div class="form-row">
<label for="node-input-minValue" style="width:40%"><i class="icon-tag"></i> MinValue:</label>
<input type="text" id="node-input-minValue" style="width:50%" placeholder="float"><br/>
</div>
<div class="form-row">
<label for="node-input-maxValue" style="width:40%"><i class="icon-tag"></i> MaxValue:</label>
<input type="text" id="node-input-maxValue" style="width:50%" placeholder="float"><br/>
</div>
<div class="form-row">
<label for="node-input-unitCode" style="width:40%"><i class="icon-tag"></i> UnitCode:</label>
<select id="node-input-unitCode" style="width:30%">
<option value="iot:FemtoVolt">FemtoVolt</option>
<option value="iot:GigaVolt">GigaVolt</option>
<option value="iot:KiloVolt">KiloVolt</option>
<option value="iot:MegaVolt">MegaVolt</option>
<option value="iot:MicroVolt">MicroVolt</option>
<option value="iot:MilliVolt">MilliVolt</option>
<option value="iot:NanoVolt">NanoVolt</option>
<option value="iot:PicoVolt">PicoVolt</option>
<option value="iot:TeraVolt">TeraVolt</option>
<option value="iot:Volt">Volt</option>
</select><br/>
</div>
</fieldset>
<div class="form-row">
</div>
<fieldset>
<legend style="font-size:14px;font-weight:bold;color:#555;font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;">Optional</legend>
<div class="form-row">
<label for="node-input-operation" style="width:40%"><i class="icon-tag"></i> Operation:</label>
<select id="node-input-operation" style="width:30%">
<option value="create">Create</option>
<option value="retrieve">Retrieve</option>
<option value="update">Update</option>
<option value="delete">Delete</option>
<option value="observe">Observe</option>
</select>
</div>
</fieldset>
</script>
<script type="text/x-red" data-help-name="averagephasetophasevoltage">
<p>AveragePhaseToPhaseVoltage
is a
Property.
It provides output
which
is
<code>VoltageData</code> .</p>
<p><br/>
<code>VoltageData</code> can be configured with
<code>propertyType</code>
<code>minValue</code>
<code>maxValue</code>
<code>unitCode</code>
<br/><br/>
<h4><b>Configurations</b></h4>
<dl class="message-properties">
<dt>PropertyType <span class="property-type">
Float
<ul></ul>
</span></dt>
</dl>
<dl class="message-properties">
<dt>MinValue <span class="property-type">
Float
<ul></ul>
</span></dt>
</dl>
<dl class="message-properties">
<dt>MaxValue <span class="property-type">
Float
<ul></ul>
</span></dt>
</dl>
<dl class="message-properties">
<dt>UnitCode <span class="property-type">
<ul><li>FemtoVolt</li><li>GigaVolt</li><li>KiloVolt</li><li>MegaVolt</li><li>MicroVolt</li><li>MilliVolt</li><li>NanoVolt</li><li>PicoVolt</li><li>TeraVolt</li><li>Volt</li></ul>
</span></dt>
</dl>
</dl>
</script>