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

Replace the check column with corrected exchange data #309

Merged
merged 9 commits into from
May 3, 2024
9 changes: 5 additions & 4 deletions Contest.pas
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ TContest = class
const AStationCallsign : string) : TExchTypes; virtual;
procedure SendMsg(const AStn: TStation; const AMsg: TStationMessage); virtual;
procedure SendText(const AStn: TStation; const AMsg: string); virtual;
procedure FindQsoErrors(var Qso: TQso);
procedure FindQsoErrors(var Qso: TQso; var ACorrections: TStringList);
function ExtractMultiplier(Qso: PQso) : string; virtual;
function Minute: Single;
function GetAudio: TSingleArray;
Expand Down Expand Up @@ -365,11 +365,12 @@ procedure TContest.SendText(const AStn: TStation; const AMsg: string);

Side Effects:
- sets Qso.Exch1Error and Qso.Exch2Error
- add exchange corrections to ACorrection
}
procedure TContest.FindQsoErrors(var Qso: TQso);
procedure TContest.FindQsoErrors(var Qso: TQso; var ACorrections: TStringList);
begin
Qso.CheckExch1;
Qso.CheckExch2;
Qso.CheckExch1(ACorrections);
Qso.CheckExch2(ACorrections);
end;


Expand Down
2 changes: 1 addition & 1 deletion DxStn.pas
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ procedure TDxStation.ProcessEvent(AEvent: TStationEvent);
end;


// copies data from this DxStation to top of QsoList[].
// copies data from this DxStation to the last QSO (top of QsoList[]).
// removes Self from Stations[] container array.
procedure TDxStation.DataToLastQso;
begin
Expand Down
Loading