changed colours and icon based on s88

This commit is contained in:
znetsixe
2025-10-14 13:52:34 +02:00
parent 5a0c46cb67
commit a12c083b3f
2 changed files with 11 additions and 42 deletions

View File

@@ -1,11 +1,20 @@
<!--
| S88-niveau | Primair (blokkleur) | Tekstkleur |
| ---------------------- | ------------------- | ---------- |
| **Area** | `#0f52a5` | wit |
| **Process Cell** | `#0c99d9` | wit |
| **Unit** | `#50a8d9` | zwart |
| **Equipment (Module)** | `#86bbdd` | zwart |
| **Control Module** | `#a9daee` | zwart |
-->
<script src="/measurement/menu.js"></script> <!-- Load the menu script for dynamic dropdowns -->
<script src="/measurement/configData.js"></script> <!-- Load the config script for node information -->
<script>
RED.nodes.registerType("measurement", {
category: "EVOLV",
color: "#e4a363", // color for the node based on the S88 schema
color: "#a9daee", // color for the node based on the S88 schema
defaults: {
// Define default properties
@@ -48,7 +57,7 @@
outputs: 3,
inputLabels: ["Input"],
outputLabels: ["process", "dbase", "parent"],
icon: "font-awesome/fa-tachometer",
icon: "font-awesome/fa-sliders",
label: function () {
return this.positionIcon + " " + this.assetType || "Measurement";