feat(formatters): frost handoff formatter + config wiring

Adds src/helper/formatters/frostFormatter.js — structured-envelope formatter parallel to the InfluxDB one. Produces dbase messages that a CoreSync collector can forward to FROST/SensorThings without coupling producing nodes to FROST HTTP details. Registered in formatters/index.js.

Config additions in 4 node schemas (machineGroupControl, measurement, pumpingStation, rotatingMachine) expose the new dbase format option in the editor.

Part of the CoreSync FROST handoff initiative — see superproject CORESYNC_FROST_INTERVIEW_HANDOFF.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-05-21 15:06:39 +02:00
parent ae30cef89c
commit 6c4db03aba
6 changed files with 33 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ const influxdbFormatter = require('./influxdbFormatter');
const jsonFormatter = require('./jsonFormatter');
const csvFormatter = require('./csvFormatter');
const processFormatter = require('./processFormatter');
const frostFormatter = require('./frostFormatter');
// Built-in registry
const registry = {
@@ -21,6 +22,7 @@ const registry = {
json: jsonFormatter,
csv: csvFormatter,
process: processFormatter,
frost: frostFormatter,
};
/**