Send the messages N1MM actually reads
Three of the messages this program sends were its own invention or in the wrong units, so an N1MM beside it read them wrongly or not at all. | Message | N1MM | What was sent | |---|---|---| | `XMIT` | transmitting, the function key's caption, Run2, F1 pressed, stop sending | transmitting, the radio number | | `PASSFREQ` | the frequency in hundredths of a kilohertz, and nothing else | the frequency in kilohertz, and a callsign | | `FREQ` | the frequency in hundredths of a kilohertz | `BANDMAP`, which N1MM has no such message for | So N1MM showed a radio number where the other operators read what a station is sending, read a pass on 14205.5 as 140.25, and never saw this station move at all. `BANDMAP` is gone: the frequency goes out in `FREQ` when the radio moves and the mode, run and the rest ride in the `STATUS` that follows it, which is where N1MM carries them. The `Msg` column now shows what a station is sending, which is what the caption is for. `PassCall` and `RadioNumber` are gone from the station: neither is on the wire, so neither was ever anything but this program talking to itself. **A station that reconnects resynchronises by itself.** N1MM sends `LASTQAT` — when I last worked anybody — as soon as a connection opens, and a station holding nothing that late asks for the hours in between. An empty log asks for nothing: a program that has just been started has no business pulling the whole contest across, and N1MM suppresses it the same way. The answer goes over the connection this station opens, which is not always up when the message arrives, so a resync that has nothing to ask over waits for it rather than being lost — and one that still cannot send stops and says so instead of leaving the row resynchronising for the rest of the contest. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdAYHcdRktqKry7nk414TU
This commit is contained in:
@@ -44,7 +44,7 @@ public sealed class NetworkedStation
|
||||
|
||||
public string ContestName { get; internal set; } = "";
|
||||
|
||||
/// Where the station is, from the last `BANDMAP` it sent.
|
||||
/// Where the station is, from the last `FREQ` or `STATUS` it sent.
|
||||
public Frequency Frequency { get; internal set; }
|
||||
|
||||
public Mode? Mode { get; internal set; }
|
||||
@@ -64,17 +64,20 @@ public sealed class NetworkedStation
|
||||
|
||||
public bool IsTransmitting { get; internal set; }
|
||||
|
||||
/// What the station is sending, which is the caption of the function key
|
||||
/// it pressed. N1MM shows it in the `Msg` column while the station is
|
||||
/// transmitting and clears it when the station stops.
|
||||
public string Message { get; internal set; } = "";
|
||||
|
||||
/// True when the station is the second run radio of a two-radio position.
|
||||
/// N1MM shows Run1 or Run2/Mult in its `R/M` column.
|
||||
public bool IsRun2 { get; internal set; }
|
||||
|
||||
public int RadioNumber { get; internal set; } = 1;
|
||||
|
||||
/// A frequency this station has passed, from `PASSFREQ`, and who is on it.
|
||||
/// A frequency this station has passed, from `PASSFREQ`. N1MM sends the
|
||||
/// frequency alone: which station is on it is what the operator is about to
|
||||
/// say over the talk line.
|
||||
public Frequency PassFrequency { get; internal set; }
|
||||
|
||||
public string PassCall { get; internal set; } = "";
|
||||
|
||||
/// When anything last arrived from the station, and what it was. The window
|
||||
/// shows both: a station whose last message is minutes old is not there any
|
||||
/// more, whatever its connection says.
|
||||
@@ -111,6 +114,10 @@ public sealed class NetworkedStation
|
||||
|
||||
public string ResyncStatus { get; internal set; } = "";
|
||||
|
||||
/// Set when this station said it is ahead of us before there was a
|
||||
/// connection to answer over. The resync starts as soon as one opens.
|
||||
internal DateTime? ResyncWanted { get; set; }
|
||||
|
||||
public int HoursOk { get; internal set; }
|
||||
|
||||
public int HoursFixed { get; internal set; }
|
||||
|
||||
Reference in New Issue
Block a user