forked from RnD/rotatingMachine
generic updates completed for now
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user