From 8216480950eddc33ad06c6e79dd6c90bb3a74000 Mon Sep 17 00:00:00 2001 From: znetsixe Date: Wed, 27 May 2026 16:09:27 +0200 Subject: [PATCH] =?UTF-8?q?change(ps):=20emit=20flow=20in=20m=C2=B3/h=20(c?= =?UTF-8?q?anonical=20+=20output)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch pumpingStation flow unit from m³/s to m³/h for canonical and output so telemetry/dashboard series land on the same axis as the rest of the group. NOTE: diverges from the platform-wide m³/s canonical convention — flagged for review. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/specificClass.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/specificClass.js b/src/specificClass.js index 073d3f3..c2b5768 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -24,9 +24,9 @@ class PumpingStation extends BaseDomain { // MeasurementContainer keeps the integrator's m³ unit on those streams // (FlowAggregator writes spill / underflow per tick). static unitPolicy = UnitPolicy.declare({ - canonical: { flow: 'm3/s', pressure: 'Pa', power: 'W', temperature: 'K' }, + canonical: { flow: 'm3/h', pressure: 'Pa', power: 'W', temperature: 'K' }, output: { - flow: 'm3/s', netFlowRate: 'm3/s', level: 'm', volume: 'm3', + flow: 'm3/h', netFlowRate: 'm3/h', level: 'm', volume: 'm3', overflowVolume: 'm3', underflowVolume: 'm3', }, requireUnitForTypes: [],