Fill in the rest of N1MM's network status window

Seven tabs now, in N1MM's order, and the messages behind them.

**Options** holds what there is something behind: Log QSOs at all Stations,
which decides whether the contacts the others log are kept here; the
message trace, moved off the Messages tab where N1MM does not keep it; and
Run1/Run2, which used to be guessed from the radio number and is now the
operator's choice, sent in every `STATUS` and every `XMIT`. The transmit
interlocks stay out: this program does not block a transmitter, and a
station that claimed it did would be waited on for nothing.

**Call Stack Targets.** A callsign heard at one station and handed to the
position that will work it — `STACKANOTHERCALL` with the call alone,
`STACKCALL` with the contact behind it. The target is picked from the tab
or from the station list, and what arrives goes on the call stack of the
radio the operator is on, sorted by whether it is a multiplier here.

**The master** is the station the entry follows for cluster spots and the
time. `MASTER` names it to everybody, so the column agrees everywhere.

**The clock.** `TIME` carries a station's clock and Force Time Sync sends
it. N1MM sets the clock from it when it is running as an administrator and
says how far out it is when it is not; this program always does the second,
because setting the clock needs root and a contest logger has no business
asking for it. Anything over two seconds is called out.

**Serial numbers.** Reset Serial Numbers at all Stations sends
`RESETQSONRS` and every station starts again at one. The contacts already
logged keep the numbers they were sent with.

**What the entry agrees on** is now checked rather than assumed:

| What | How |
|---|---|
| the contest | `CONTESTNAME` as soon as a connection opens, and again in every `CHECKSUM` |
| the country file | its issue date — the publisher's `=VER20260826` — rides in `STATUS` |
| the computer name | longer than N1MM's fifteen characters is named at startup; a second computer answering to this one's name is named when its beacon arrives |
| the station number | two stations on the same number are named when the second says so |

`CountryFile` reads its issue date, which nothing had asked it for before.

Left for later: the master relaying its cluster spots, and the shared
serial-number pool where stations claim numbers in advance.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdAYHcdRktqKry7nk414TU
This commit is contained in:
2026-09-03 23:15:44 +00:00
co-authored by Claude Opus 5
parent b5d86c1677
commit 0b92bfc6ee
18 changed files with 838 additions and 40 deletions
@@ -2,13 +2,13 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Nonemm.App.Windows"
x:Class="Nonemm.App.Windows.NetworkStatusWindow"
Title="Network Status" Width="900" Height="360">
Title="Network Status" Width="1000" Height="380">
<DockPanel>
<TextBlock DockPanel.Dock="Bottom" Name="StateText" Margin="8,4" FontSize="11"
Opacity="0.75" TextWrapping="Wrap" />
<TabControl Name="Tabs">
<TabItem Header="Stations">
<TabItem Header="Stations" Name="StationsTab">
<DataGrid Name="Rows" IsReadOnly="True" GridLinesVisibility="Horizontal"
CanUserSortColumns="False" FontSize="12" FontFamily="monospace"
AutoGenerateColumns="False" x:DataType="local:StationRow">
@@ -25,9 +25,11 @@
<Separator />
<MenuItem Header="Talk" Click="OnTalkTo" />
<MenuItem Header="Show Connection Log" Click="OnShowMessages" />
<MenuItem Header="Target for Call Stacking" Click="OnStackTarget" />
<Separator />
<MenuItem Header="Close Connection" Click="OnCloseConnection" />
<MenuItem Header="Open Connection" Click="OnOpenConnection" />
<MenuItem Header="Set station as master for telnet and time sync" Click="OnSetMaster" />
<Separator />
<MenuItem Header="Edit Computer Addresses" Click="OnSetup" />
<MenuItem Header="Stop Networking" Click="OnStopNetworking" />
@@ -45,6 +47,7 @@
<DataGridTextColumn Header="Msg" Binding="{Binding Msg}" />
<DataGridTextColumn Header="Send" Binding="{Binding Send}" />
<DataGridTextColumn Header="Receive" Binding="{Binding Receive}" />
<DataGridTextColumn Header="Master" Binding="{Binding Master}" />
<DataGridTextColumn Header="Band" Binding="{Binding Band}" />
<DataGridTextColumn Header="R/M" Binding="{Binding RunMult}" />
<DataGridTextColumn Header="Mode" Binding="{Binding Mode}" />
@@ -52,24 +55,7 @@
</DataGrid>
</TabItem>
<TabItem Header="Actions">
<StackPanel Margin="8" Spacing="8">
<StackPanel Orientation="Horizontal" Spacing="6">
<TextBox Name="TalkBox" Width="460" PlaceholderText="a line to the other operators" />
<Button Content="Talk" Click="OnTalk" IsDefault="True" />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="6">
<Button Content="Set Your Pass Frequency" Click="OnSetPass" />
<Button Content="Ask Every Station If It Is There" Click="OnEcho" />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="6">
<Button Content="Edit Computer Addresses" Click="OnSetup" />
<Button Name="NetworkingButton" Content="Stop Networking" Click="OnStopNetworking" />
</StackPanel>
</StackPanel>
</TabItem>
<TabItem Header="Resynchronize">
<TabItem Header="Resynchronize" Name="ResyncTab">
<DockPanel Margin="8">
<StackPanel DockPanel.Dock="Top" Spacing="6" Margin="0,0,0,8">
<StackPanel Orientation="Horizontal" Spacing="12">
@@ -101,7 +87,7 @@
</DockPanel>
</TabItem>
<TabItem Header="Rescore">
<TabItem Header="Rescore" Name="RescoreTab">
<StackPanel Margin="8" Spacing="8">
<TextBlock Text="Rescore Log, No Log Resync" FontWeight="Bold" />
<StackPanel Orientation="Horizontal" Spacing="6">
@@ -116,10 +102,57 @@
</StackPanel>
</TabItem>
<TabItem Header="Messages">
<TabItem Header="Options" Name="OptionsTab">
<StackPanel Margin="8" Spacing="8">
<CheckBox Name="LogEverywhereBox" Content="Log QSOs at all Stations"
IsCheckedChanged="OnLogEverywhereChanged" />
<CheckBox Name="TraceBox" Content="Trace Networked Computer Messages" />
<StackPanel Orientation="Horizontal" Spacing="12">
<RadioButton Name="Run1Button" GroupName="RunPosition" Content="Run1"
IsCheckedChanged="OnRunPositionChanged" />
<RadioButton Name="Run2Button" GroupName="RunPosition" Content="Run2/Mult"
IsCheckedChanged="OnRunPositionChanged" />
</StackPanel>
<TextBlock TextWrapping="Wrap" FontSize="11" Opacity="0.75"
Text="N1MM's transmit interlocks are not here: this program does not block a transmitter, so a station that claims it does would be waited on for nothing." />
</StackPanel>
</TabItem>
<TabItem Header="Call Stack Targets" Name="StackTargetTab">
<StackPanel Margin="8" Spacing="8">
<TextBlock Text="Destination Station" FontWeight="Bold" />
<StackPanel Orientation="Horizontal" Spacing="6">
<ComboBox Name="StackTargetBox" Width="220" SelectionChanged="OnStackTargetPicked" />
<Button Content="Send the Call Being Worked" Click="OnSendStackedCall" />
</StackPanel>
<TextBlock Name="StackText" TextWrapping="Wrap" FontSize="11" Opacity="0.75" />
</StackPanel>
</TabItem>
<TabItem Header="Actions" Name="ActionsTab">
<StackPanel Margin="8" Spacing="8">
<StackPanel Orientation="Horizontal" Spacing="6">
<TextBox Name="TalkBox" Width="460" PlaceholderText="a line to the other operators" />
<Button Content="Talk" Click="OnTalk" IsDefault="True" />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="6">
<Button Content="Set Your Pass Frequency" Click="OnSetPass" />
<Button Content="Ask Every Station If It Is There" Click="OnEcho" />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="6">
<Button Content="Force Time Sync" Click="OnForceTimeSync" />
<Button Content="Reset Serial Numbers at all Stations" Click="OnResetSerialNumbers" />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="6">
<Button Content="Edit Computer Addresses" Click="OnSetup" />
<Button Name="NetworkingButton" Content="Stop Networking" Click="OnStopNetworking" />
</StackPanel>
</StackPanel>
</TabItem>
<TabItem Header="Messages" Name="MessagesTab">
<DockPanel Margin="8">
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Spacing="8" Margin="0,0,0,6">
<CheckBox Name="TraceBox" Content="Trace networked computer messages" />
<Button Content="Clear Messages" Click="OnClearMessages" />
</StackPanel>
<ScrollViewer Name="MessageScroll">