Compare commits
1 Commits
31324ae82d
...
3ee1939b0a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ee1939b0a |
@@ -12,12 +12,14 @@ module.exports = [
|
|||||||
topic: 'set.mode',
|
topic: 'set.mode',
|
||||||
aliases: ['setMode'],
|
aliases: ['setMode'],
|
||||||
payloadSchema: { type: 'string' },
|
payloadSchema: { type: 'string' },
|
||||||
|
description: 'Switch the machine group between auto / manual modes.',
|
||||||
handler: handlers.setMode,
|
handler: handlers.setMode,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
topic: 'set.scaling',
|
topic: 'set.scaling',
|
||||||
aliases: ['setScaling'],
|
aliases: ['setScaling'],
|
||||||
payloadSchema: { type: 'string' },
|
payloadSchema: { type: 'string' },
|
||||||
|
description: 'Select the group scaling strategy.',
|
||||||
handler: handlers.setScaling,
|
handler: handlers.setScaling,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -25,6 +27,7 @@ module.exports = [
|
|||||||
aliases: ['registerChild'],
|
aliases: ['registerChild'],
|
||||||
// payload is the Node-RED id (string) of the child node.
|
// payload is the Node-RED id (string) of the child node.
|
||||||
payloadSchema: { type: 'string' },
|
payloadSchema: { type: 'string' },
|
||||||
|
description: 'Register a child machine with this group.',
|
||||||
handler: handlers.registerChild,
|
handler: handlers.registerChild,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -32,6 +35,8 @@ module.exports = [
|
|||||||
aliases: ['Qd'],
|
aliases: ['Qd'],
|
||||||
// any: number or numeric string — handler runs parseFloat.
|
// any: number or numeric string — handler runs parseFloat.
|
||||||
payloadSchema: { type: 'any' },
|
payloadSchema: { type: 'any' },
|
||||||
|
units: { measure: 'volumeFlowRate', default: 'm3/h' },
|
||||||
|
description: 'Operator demand setpoint dispatched to the child machines.',
|
||||||
handler: handlers.setDemand,
|
handler: handlers.setDemand,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user