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) if (boolSRSdefault2)
{ {
strSRSJson = "{'type':'100','instance':'2','payload':{'ignore':'true'}}"; strSRSJson2 = "{'type':'100','instance':'2','payload':{'ignore':'true'}}";
} }
DatabaseController.SendToMySql(strSRSJson2); DatabaseController.SendToMySql(strSRSJson2);
@@ -505,7 +505,7 @@ namespace Perun_v1
} }
if (boolLotATCdefault2) 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); DatabaseController.SendToMySql(strLotATCJson2);
} }

View File

@@ -32,7 +32,7 @@
<SuiteName>Perun</SuiteName> <SuiteName>Perun</SuiteName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish> <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>Perun.htm</WebPage> <WebPage>Perun.htm</WebPage>
<ApplicationRevision>6</ApplicationRevision> <ApplicationRevision>7</ApplicationRevision>
<ApplicationVersion>0.7.0.%2a</ApplicationVersion> <ApplicationVersion>0.7.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust> <UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut> <CreateDesktopShortcut>true</CreateDesktopShortcut>