Logo
Explore Help
Register Sign In
Aaltronav/dougal-software
1
0
Fork 0
You've already forked dougal-software
mirror of https://gitlab.com/wgp/dougal/software.git synced 2025-12-06 10:07:08 +00:00
Code Issues Packages Projects Releases Activity
Files
64fceb0a010b65ef61331ba052f95d37ce8c1ffe
dougal-software/lib/www/server/events/handlers/index.js

14 lines
186 B
JavaScript
Raw Normal View History

Refactor SOL/EOL real-time detection handler. This also implements a generic handler mechanism that can be reused for other purposes, such as sending email / XMPP notifications, doing real-time QC checks and so on. Fixes #113.
2021-05-24 13:48:53 +02:00
const Handlers = [
Add event handler for midnight shot detection. 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.
2022-05-15 13:39:45 +02:00
require('./detect-soleol'),
require('./detect-fdsp')
Refactor SOL/EOL real-time detection handler. This also implements a generic handler mechanism that can be reused for other purposes, such as sending email / XMPP notifications, doing real-time QC checks and so on. Fixes #113.
2021-05-24 13:48:53 +02:00
];
function init () {
return Handlers.map(Handler => new Handler());
}
module.exports = {
Handlers,
init
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 260ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API