调整设备休眠提示

This commit is contained in:
yangjiaxuan 2023-04-12 18:44:20 +08:00
parent 25045fbff4
commit c1dd3f1028
1 changed files with 12 additions and 6 deletions

View File

@ -688,7 +688,8 @@ void MainWindow::on_AcquireInto2()
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid())
if (m_devVersionNum < "G4393B1001"
&& ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid()))
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
@ -1569,7 +1570,8 @@ void MainWindow::on_continueScan()
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid())
if (m_devVersionNum < "G4393B1001"
&& ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid()))
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
@ -3882,7 +3884,8 @@ void MainWindow::on_act_acquire_triggered()
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid())//The 439 device can only be wakened manually when sleeping.
if (m_devVersionNum < "G4393B1001"
&& ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid()))//Previous versions of this firmware number and 439 device can only be manually awakened.
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
@ -3960,7 +3963,8 @@ void MainWindow::on_act_acquireSingle_triggered()
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid())
if (m_devVersionNum < "G4393B1001"
&& ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid()))
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
@ -4057,7 +4061,8 @@ void MainWindow::on_act_acquireInto_triggered()
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid())
if (m_devVersionNum < "G4393B1001"
&& ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid()))
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);
@ -4150,7 +4155,8 @@ void MainWindow::on_act_insertFromScanner_triggered()
m_dialogLog->updateStatus(false, false);
m_dialogLog->show();
if ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid() || "7039" == getDevPid())
if (m_devVersionNum < "G4393B1001"
&& ("439" == getDevPid() || "9220" == getDevPid() || "8529" == getDevPid()))
{
m_dialogLog->addLog(tr("Please wake up the device manually"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("Please wake up the device manually"), true);