Add project setup

This commit is contained in:
2025-07-23 14:07:42 +02:00
parent e10083278e
commit 4362471a73
5 changed files with 209 additions and 0 deletions

30
liquidFlowHandler.html Normal file
View 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>