Write the numbered Cabrillo lines a .udc file asks for
CabrilloFormat 2, 3, 4 and 5 name the NAQP, NA Sprint, Sweepstakes and section-and-serial lines. A file asking for one of those got the default line; it now gets the layout, ported from CabrilloString2 and CabrilloString4 in N1MM's Contact.cs, in N1MM's columns. The exchange the layouts split into columns is built from the boxes the file defines, in the order it defines them. N1MM builds it from the section box alone, which writes only half of a two-box exchange such as NAQP's name and state. Format 6, the ARRL RTTY Roundup line, is still not read. No published .udc file asks for it, because the Roundup has a contest class of its own. ExchangeSlots.ValueOf moves to Nonemm.Contests as QsoExchange.ValueOf, so the contest code can read a contact through its exchange boxes without a second copy of that switch. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RoGtneMQaz4M9w7Kk49AVD
This commit is contained in:
@@ -116,10 +116,16 @@ Cabrillo one.
|
||||
for its own columns gets them, in N1MM's shape — the operator's callsign in the
|
||||
first 13 columns, then every column padded to the width the file gives with one
|
||||
space after it, and a value longer than its column cut rather than pushed. The
|
||||
numbered `CabrilloFormat` layouts are not read: 2, 3, 4 and 5 name the NAQP,
|
||||
NA Sprint, Sweepstakes and RFC lines, and a file asking for one of those gets
|
||||
the default line instead. `CabrilloFormat = 0` means the sponsor takes no
|
||||
Cabrillo log at all, and nothing here stops the operator writing one. The session, off-time and band-change settings
|
||||
numbered `CabrilloFormat` layouts 2, 3, 4 and 5 — the NAQP, NA Sprint,
|
||||
Sweepstakes and section-and-serial lines — are read as well, in N1MM's columns.
|
||||
The exchange those layouts split into columns is built from the boxes the file
|
||||
defines, in the order it defines them; N1MM builds it from the section box
|
||||
alone, which writes only half of a two-box exchange. Layout 6, the ARRL RTTY
|
||||
Roundup line, is not read, and a file asking for it gets the default line; no
|
||||
published `.udc` file asks for it, because the Roundup has a contest class of
|
||||
its own. `CabrilloFormat = 0` means the sponsor takes no Cabrillo log at all,
|
||||
and nothing here stops the operator writing one. The
|
||||
session, off-time and band-change settings
|
||||
(`MultipleSessions`, `MinimumOffTime`, the `…BandChange…` family,
|
||||
`DupeQSOMinutesAgo`) are read by nothing, so a contest with periods is logged
|
||||
as one long session.
|
||||
|
||||
Reference in New Issue
Block a user