mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 08:57:08 +00:00
This event handler checks if there is an UTC date jump between consecutive shots. If a jump is detected, it sends to new entries to the event log, for the last shot and first shot of the previous and current dates, respectively. Fixes #223.
14 lines
186 B
JavaScript
14 lines
186 B
JavaScript
const Handlers = [
|
|
require('./detect-soleol'),
|
|
require('./detect-fdsp')
|
|
];
|
|
|
|
function init () {
|
|
return Handlers.map(Handler => new Handler());
|
|
}
|
|
|
|
module.exports = {
|
|
Handlers,
|
|
init
|
|
}
|