refactor export limit semantics
Some checks failed
CI and deploy / migration-check (pull_request) Failing after 15s
CI and deploy / deploy (pull_request) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-05-03 22:24:35 +02:00
parent 349a15e96a
commit e8eb867a2a
16 changed files with 134 additions and 17 deletions

View File

@@ -84,6 +84,12 @@ const LiveRegistersSection = memo(
valueText={live?.reg142_limit_control != null ? String(live.reg142_limit_control) : undefined}
/>
<Metric label="Energy mode" reg={141} valueText={live?.reg141_energy_mode != null ? String(live.reg141_energy_mode) : undefined} />
<Metric
label="Export cap"
reg={143}
sub="Hard limit lokality / invertoru; neforecastuje se"
valueText={fmtW(live?.reg143_export_limit_w)}
/>
<Metric
label="Peak shaving switch"
reg={178}