Sequence module is controlled from the UI. Everything runs in the main.js on the main process. The DOM changes when ipc messages are sent from the sequence module to the render process.
This commit is contained in:
parent
43ee0d0672
commit
c129739394
|
@ -27,7 +27,7 @@ seq.listener = function (event, arg) {
|
|||
} else if (typeof arg.step !== 'undefined' && arg.start) {
|
||||
seq.activeStep(arg.step);
|
||||
log.info(`Step ${arg.step} active`, 'SERIAL', true);
|
||||
} else if (arg.step && arg.stop) {
|
||||
} else if (typeof arg.step !== 'undefined' && arg.stop) {
|
||||
seq.inactiveAll();
|
||||
} else if (arg.stop) {
|
||||
log.info('Sequence stopped', 'SERIAL', true);
|
||||
|
|
Loading…
Reference in New Issue