Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #14 - Add some comments to CWT code in SaveQso(). #15

Merged
merged 1 commit into from
Sep 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions Log.pas
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TQso = record
Rst, TrueRst: integer;
Nr, TrueNr: integer;
OpName, TrueOpName: string;
TrueWpm: integer;
TrueWpm: integer; // WPM of sending DxStn (reported in log)
Pfx: string;
Dupe: boolean;
Err: string;
Expand Down Expand Up @@ -425,23 +425,27 @@ procedure SaveQso;
with QsoList[i] do
if (Call = Qso.Call) and (Err = ' ') then
Qso.Dupe := true;
//what's in the DX's log?

// find Wpm from DX's log
for i:=Tst.Stations.Count-1 downto 0 do
if Tst.Stations[i] is TDxStation then
with Tst.Stations[i] as TDxStation do
if (MyCall = Qso.Call) then begin
if (MyCall = Qso.Call) then
begin
Qso.TrueWpm := Wpm;
Break;
end; //deletes the dx station!
end;

//what's in the DX's log?
for i:=Tst.Stations.Count-1 downto 0 do
if Tst.Stations[i] is TDxStation then
with Tst.Stations[i] as TDxStation do
if (Oper.State = osDone) and (MyCall = Qso.Call) then begin
DataToLastQso;
Break;
end; //deletes the dx station!
if (Oper.State = osDone) and (MyCall = Qso.Call) then
begin
DataToLastQso; //deletes this dx station!
Break;
end;

//QsoList[High(QsoList)].Err:= '...';
CheckErr;
end;
Expand Down