2019-03-20 02:33:15 +00:00
|
|
|
'use strict';
|
|
|
|
let log;
|
|
|
|
let seq;
|
|
|
|
class Sequence {
|
|
|
|
constructor(cfg, cmd) {
|
|
|
|
this.cfg = cfg;
|
|
|
|
this.cmd = cmd;
|
|
|
|
}
|
|
|
|
//currently called by ui
|
|
|
|
init() {
|
|
|
|
}
|
|
|
|
//new
|
|
|
|
start() {
|
|
|
|
}
|
|
|
|
//new
|
|
|
|
pause() {
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Stop the sequence
|
|
|
|
**/
|
|
|
|
stop() {
|
2019-03-22 01:02:28 +00:00
|
|
|
this.running = false;
|
2019-03-20 02:33:15 +00:00
|
|
|
}
|
2019-03-20 19:30:45 +00:00
|
|
|
exec() {
|
|
|
|
}
|
|
|
|
execStop() {
|
|
|
|
}
|
|
|
|
//private
|
|
|
|
run() {
|
|
|
|
}
|
|
|
|
step() {
|
|
|
|
}
|
2019-03-20 02:33:15 +00:00
|
|
|
}
|
|
|
|
module.exports = function (cfg, cmd, l) {
|
|
|
|
log = l;
|
|
|
|
seq = new Sequence(cfg, cmd);
|
|
|
|
};
|
|
|
|
//# sourceMappingURL=index.js.map
|