Add project setup
This commit is contained in:
30
liquidFlowHandler.html
Normal file
30
liquidFlowHandler.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType("liquidFlowHandler", {
|
||||
category: "WWTP",
|
||||
color: "#e4a363",
|
||||
defaults: {
|
||||
name: { value: "" },
|
||||
F2: { value: 0, required: true },
|
||||
inlet: { value: 1, required: true }
|
||||
},
|
||||
inputs: 1,
|
||||
outputs: 3,
|
||||
inputLabels: ["input"],
|
||||
outputLabels: ["process", "dbase", "parent"],
|
||||
icon: "font-awesome/fa-random",
|
||||
label: function() {
|
||||
return this.name || "Liquid Flow Handler";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="liquidFlowHandler">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-help-name="liquidFlowHandler">
|
||||
<p>Liquid Flow Handler for handling multicomponent liquid flows</p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user