Implemented run action API in relevant feature plugins. Missing bits.

pull/1073/head
f4exb 2021-10-23 10:53:15 +02:00
rodzic 920fa82022
commit 10f79b183f
3 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -341,7 +341,6 @@ int AFC::webapiActionsPost(
{
bool featureRun = swgAFCActions->getRun() != 0;
unknownAction = false;
MsgStartStop *msg = MsgStartStop::create(featureRun);
getInputMessageQueue()->push(msg);
}

Wyświetl plik

@ -402,10 +402,8 @@ int GS232Controller::webapiActionsPost(
if (featureActionsKeys.contains("run"))
{
bool featureRun = swgGS232ControllerActions->getRun() != 0;
MsgStartStop *msg = MsgStartStop::create(featureRun);
getInputMessageQueue()->push(msg);
return 202;
}
else

Wyświetl plik

@ -493,7 +493,6 @@ int PERTester::webapiActionsPost(
bool featureRun = swgPERTesterActions->getRun() != 0;
unknownAction = false;
MsgStartStop *msg = MsgStartStop::create(featureRun);
getInputMessageQueue()->push(msg);
}