Compare commits
2 Commits
a2277eec39
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54e1fd0f43 | ||
|
|
ae239901be |
@@ -76,6 +76,9 @@ class ValveGroupControl {
|
|||||||
|
|
||||||
registerOnChildEvents() {}
|
registerOnChildEvents() {}
|
||||||
|
|
||||||
|
registerChild(child, positionVsParent) {
|
||||||
|
}
|
||||||
|
|
||||||
isValidSourceForMode(source, mode) {
|
isValidSourceForMode(source, mode) {
|
||||||
const allowedSourcesSet = this.config.mode.allowedSources[mode] || [];
|
const allowedSourcesSet = this.config.mode.allowedSources[mode] || [];
|
||||||
this.logger.info(`Allowed sources for mode '${mode}': ${allowedSourcesSet}`);
|
this.logger.info(`Allowed sources for mode '${mode}': ${allowedSourcesSet}`);
|
||||||
|
|||||||
23
vgc.html
23
vgc.html
@@ -1,15 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
brabantse delta kleuren:
|
| S88-niveau | Primair (blokkleur) | Tekstkleur |
|
||||||
#eaf4f1
|
| ---------------------- | ------------------- | ---------- |
|
||||||
#86bbdd
|
| **Area** | `#0f52a5` | wit |
|
||||||
#bad33b
|
| **Process Cell** | `#0c99d9` | wit |
|
||||||
#0c99d9
|
| **Unit** | `#50a8d9` | zwart |
|
||||||
#a9daee
|
| **Equipment (Module)** | `#86bbdd` | zwart |
|
||||||
#0f52a5
|
| **Control Module** | `#a9daee` | zwart |
|
||||||
#50a8d9
|
|
||||||
#cade63
|
|
||||||
#4f8582
|
|
||||||
#c4cce0
|
|
||||||
-->
|
-->
|
||||||
<script src="/valveGroupControl/menu.js"></script> <!-- Load the menu script for dynamic dropdowns -->
|
<script src="/valveGroupControl/menu.js"></script> <!-- Load the menu script for dynamic dropdowns -->
|
||||||
<script src="/valveGroupControl/configData.js"></script> <!-- Load the config script for node information -->
|
<script src="/valveGroupControl/configData.js"></script> <!-- Load the config script for node information -->
|
||||||
@@ -17,7 +14,7 @@
|
|||||||
<script>
|
<script>
|
||||||
RED.nodes.registerType('valveGroupControl',{
|
RED.nodes.registerType('valveGroupControl',{
|
||||||
category: "EVOLV",
|
category: "EVOLV",
|
||||||
color: "#eaf4f1",
|
color: "#50a8d9",
|
||||||
defaults: {
|
defaults: {
|
||||||
// Define default properties
|
// Define default properties
|
||||||
name: { value: "" },
|
name: { value: "" },
|
||||||
@@ -38,7 +35,7 @@
|
|||||||
outputs:3,
|
outputs:3,
|
||||||
inputLabels: ["Input"],
|
inputLabels: ["Input"],
|
||||||
outputLabels: ["process", "dbase", "parent"],
|
outputLabels: ["process", "dbase", "parent"],
|
||||||
icon: "font-awesome/fa-tachometer",
|
icon: "font-awesome/fa-tasks",
|
||||||
|
|
||||||
label: function () {
|
label: function () {
|
||||||
return this.positionIcon + " " + "valveGroupControl";
|
return this.positionIcon + " " + "valveGroupControl";
|
||||||
|
|||||||
Reference in New Issue
Block a user