Example #1
0
 /// <summary>
 /// Returns an awaitable task that sends new "technician mode" settings to the terminal.
 /// </summary>
 public async Task SetTechnicianModeSettingsAsync(TechnicianModeSettings settings)
 {
     var firmwareRevision = (await GetHardwareConfigurationAsync()).FirmwareVersion;
     var response = await _client.SendAndReceiveAsync(RequestCommand.SystemCommands, settings.ToString(), ACK, NACK);
     response = SetTechnicianModeSettings_AdjustResponse(response, firmwareRevision);
     ValidateAcknowledgment(response);
 }
Example #2
0
 /// <summary>
 /// Sends new "technician mode" settings to the terminal.
 /// </summary>
 public void SetTechnicianModeSettings(TechnicianModeSettings settings)
 {
     var firmwareRevision = GetHardwareConfiguration().FirmwareVersion;
     var response = _client.SendAndReceive(RequestCommand.SystemCommands, settings.ToString(), ACK, NACK);
     response = SetTechnicianModeSettings_AdjustResponse(response, firmwareRevision);
     ValidateAcknowledgment(response);
 }