Web TX meter: show power/SWR in S-meter canvas during transmit

- WebServer: add fwd_w, swr, pa_max_power to state JSON and PushSpectrum
- MainForm: pass FLastFwdW, FLastSWR, FPAMaxPower to PushSpectrum
- Web UI: paintSM switches to paintTXMeter when transmitting/tuning;
  same layout as desktop — two sub-bars at 44-58% height, power ticks
  above, SWR ticks below, SWR>2.5 turns red with "SWR High" label

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 14:14:52 +03:00
co-authored by Claude Sonnet 4.6
parent 96b0ccb2c7
commit 76e5c5514a
3 changed files with 86 additions and 5 deletions
+2 -1
View File
@@ -2804,7 +2804,8 @@ begin
FCenterFreq, FFilter,
FVfoB, FActiveVfo,
FTransmitting, TrkDrive.Position,
FAtten, FTuning, FDisplayDuplex);
FAtten, FTuning, FDisplayDuplex,
FLastFwdW, FLastSWR, FPAMaxPower);
end;
// ===========================================================================