generic updates completed for now

This commit is contained in:
znetsixe
2025-07-01 15:25:07 +02:00
parent 85eb1eb4a6
commit a6dfbec5d0
9 changed files with 97 additions and 1408 deletions

View File

@@ -8,7 +8,7 @@
color: "#4f8582",
defaults: {
// Define default properties
name: { value: "", required: true }, // use asset category as name ?
name: { value: ""}, // use asset category as name ?
// Define specific properties
speed: { value: 1, required: true },
@@ -31,6 +31,7 @@
//physicalAspect
positionVsParent: { value: "" },
positionIcon: { value: "" },
},
inputs: 1,
@@ -39,8 +40,8 @@
outputLabels: ["process", "dbase", "parent"],
icon: "font-awesome/fa-tachometer",
label: function() {
return this.name || "rotatingMachine";
label: function () {
return this.positionIcon + " " + this.category.slice(0, -1) || "Machine";
},
oneditprepare: function() {