feat: Update new error code.

This commit is contained in:
sunwen
2025-07-03 10:53:48 +08:00
parent f3608b8ce2
commit ec452e31bb
2 changed files with 41 additions and 71 deletions

View File

@@ -809,11 +809,11 @@ void DeviceManager::processAlarm(const QString& aAlarm)
{
switch (alarmCode)
{
case 492://left emergency button pushed
case DMSL_F417://left emergency button pushed
prepareFinishScan(false,"");
emit emergencyButtonPushed(true, false);
return;
case 494://right emergency button pushed
case DMSL_F418://right emergency button pushed
prepareFinishScan(false,"");
emit emergencyButtonPushed(false, false);
return;