Compare commits

...

2 Commits

Author SHA1 Message Date
znetsixe
ae5bc750cd docs: add CLAUDE.md with S88 classification and superproject rule reference
References the flow-layout rule set in the EVOLV superproject
(.claude/rules/node-red-flow-layout.md) so Claude Code sessions working
in this repo know the S88 level, colour, and placement lane for this node.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 07:48:15 +02:00
Rene De Ren
548778c3f5 Expose output format selectors in editor 2026-03-12 16:39:25 +01:00
2 changed files with 43 additions and 0 deletions

23
CLAUDE.md Normal file
View File

@@ -0,0 +1,23 @@
# valve — Claude Code context
Individual valve modelling and control.
Part of the [EVOLV](https://gitea.wbd-rd.nl/RnD/EVOLV) wastewater-automation platform.
## S88 classification
| Level | Colour | Placement lane |
|---|---|---|
| **Equipment Module** | `#86bbdd` | L3 |
## Flow layout rules
When wiring this node into a multi-node demo or production flow, follow the
placement rule set in the **EVOLV superproject**:
> `.claude/rules/node-red-flow-layout.md` (in the EVOLV repo root)
Key points for this node:
- Place on lane **L3** (x-position per the lane table in the rule).
- Stack same-level siblings vertically.
- Parent/children sit on adjacent lanes (children one lane left, parent one lane right).
- Wrap in a Node-RED group box coloured `#86bbdd` (Equipment Module).

View File

@@ -22,6 +22,8 @@
// Define specific properties // Define specific properties
speed: { value: 1, required: true }, speed: { value: 1, required: true },
processOutputFormat: { value: "process" },
dbaseOutputFormat: { value: "influxdb" },
//define asset properties //define asset properties
uuid: { value: "" }, uuid: { value: "" },
@@ -113,6 +115,24 @@
<input type="number" id="node-input-speed" style="width:60%;" /> <input type="number" id="node-input-speed" style="width:60%;" />
</div> </div>
<h3>Output Formats</h3>
<div class="form-row">
<label for="node-input-processOutputFormat"><i class="fa fa-random"></i> Process Output</label>
<select id="node-input-processOutputFormat" style="width:60%;">
<option value="process">process</option>
<option value="json">json</option>
<option value="csv">csv</option>
</select>
</div>
<div class="form-row">
<label for="node-input-dbaseOutputFormat"><i class="fa fa-database"></i> Database Output</label>
<select id="node-input-dbaseOutputFormat" style="width:60%;">
<option value="influxdb">influxdb</option>
<option value="json">json</option>
<option value="csv">csv</option>
</select>
</div>
<!-- Optional Extended Fields: supplier, cat, type, model, unit --> <!-- Optional Extended Fields: supplier, cat, type, model, unit -->
<!-- Asset fields will be injected here --> <!-- Asset fields will be injected here -->
<div id="asset-fields-placeholder"></div> <div id="asset-fields-placeholder"></div>