mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 03:49:13 +03:00
comments
This commit is contained in:
@@ -91,7 +91,7 @@ class Scenario {
|
|||||||
}
|
}
|
||||||
this->load(); //после этого мы получили все сценарии
|
this->load(); //после этого мы получили все сценарии
|
||||||
while (_scenarioTmp.length() > 1) {
|
while (_scenarioTmp.length() > 1) {
|
||||||
this->calculate1();
|
this->calculate1(); //расчет необходимый для ответа на следующий вопрос
|
||||||
if (this->isIncommingEventInScenario()) { //если вошедшее событие есть в сценарии
|
if (this->isIncommingEventInScenario()) { //если вошедшее событие есть в сценарии
|
||||||
this->calculate2();
|
this->calculate2();
|
||||||
if (this->isConditionSatisfied()) { //если вошедшее событие выполняет условие сценария
|
if (this->isConditionSatisfied()) { //если вошедшее событие выполняет условие сценария
|
||||||
|
|||||||
Reference in New Issue
Block a user