Quick fix related to exception handler thrown while LotATC or SRS data cannot be usd.

This commit is contained in:
Szymon Porwolik
2019-08-25 19:09:52 +02:00
parent 073b9a72e2
commit 976feec650
2 changed files with 3 additions and 3 deletions

View File

@@ -456,7 +456,7 @@ namespace Perun_v1
}
if (boolSRSdefault2)
{
strSRSJson = "{'type':'100','instance':'2','payload':{'ignore':'true'}}";
strSRSJson2 = "{'type':'100','instance':'2','payload':{'ignore':'true'}}";
}
DatabaseController.SendToMySql(strSRSJson2);
@@ -505,7 +505,7 @@ namespace Perun_v1
}
if (boolLotATCdefault2)
{
strLotATCJson = "{'type':'101','instance':'2','payload':{'ignore':'true'}}"; // No LotATC controller connected
strLotATCJson2 = "{'type':'101','instance':'2','payload':{'ignore':'true'}}"; // No LotATC controller connected
}
DatabaseController.SendToMySql(strLotATCJson2);
}