Skip to content

Commit

Permalink
change response for StatusInformation with error code
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Sep 14, 2023
1 parent d649a85 commit 5c0d702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Portalum.Zvt/ZvtCommunication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ protected virtual void ProcessData(byte[] data)
else if (dataProcessed.Response is StatusInformation statusInformation)
{
this._logger.LogInformation($"{nameof(ProcessData)} - StatusInformation with ErrorCode:{statusInformation.ErrorCode:X2} {statusInformation.ErrorMessage} received");
this._deviceCommunication.SendAsync(this._negativeIssueGoodsData);
this._deviceCommunication.SendAsync(this._positiveCompletionData1);
}
else if (dataProcessed.Response is Completion completion)
{
Expand Down

0 comments on commit 5c0d702

Please sign in to comment.