PrintTicket: skip check of serial port
This commit is contained in:
parent
b3ad8e1ee9
commit
c603313d73
@ -609,11 +609,13 @@ void ATBDeviceControllerPlugin::requestPrintTicket(nsDeviceControllerInterface::
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
if (!this->hw->dc_isPortOpen()) {
|
if (!this->hw->dc_isPortOpen()) {
|
||||||
qCritical() << " ... serial port is not open!";
|
qCritical() << " ... serial port is not open!";
|
||||||
this->onPrintFinishedERR();
|
this->onPrintFinishedERR();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// TODO: wird hier nur 'licensePlate' gedruckt?
|
// TODO: wird hier nur 'licensePlate' gedruckt?
|
||||||
if (!this->hw->prn_sendDynamicPrnValues(dynTicketData->licensePlate)) {
|
if (!this->hw->prn_sendDynamicPrnValues(dynTicketData->licensePlate)) {
|
||||||
@ -750,12 +752,13 @@ void ATBDeviceControllerPlugin::requestPrintTicket(const QHash<QString, QVariant
|
|||||||
// DEBUG
|
// DEBUG
|
||||||
qCritical() << "ATBDeviceControllerPlugin::requestPrintTicket()";
|
qCritical() << "ATBDeviceControllerPlugin::requestPrintTicket()";
|
||||||
|
|
||||||
|
/*
|
||||||
if (!this->hw->dc_isPortOpen()) {
|
if (!this->hw->dc_isPortOpen()) {
|
||||||
qCritical() << " ... serial port is not open!";
|
qCritical() << " ... serial port is not open!";
|
||||||
this->onPrintFinishedERR();
|
this->onPrintFinishedERR();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// TODO: wird hier nur 'licensePlate' gedruckt?
|
// TODO: wird hier nur 'licensePlate' gedruckt?
|
||||||
if (!this->hw->prn_sendDynamicPrnValues(dynTicketData->licensePlate)) {
|
if (!this->hw->prn_sendDynamicPrnValues(dynTicketData->licensePlate)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user