From 976feec65005df2e2bfc984c710d0cb5803c6749 Mon Sep 17 00:00:00 2001 From: Szymon Porwolik Date: Sun, 25 Aug 2019 19:09:52 +0200 Subject: [PATCH] Quick fix related to exception handler thrown while LotATC or SRS data cannot be usd. --- 02_Windows_App/Perun_v1/02_Forms/form_Main.cs | 4 ++-- 02_Windows_App/Perun_v1/Perun_v1.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/02_Windows_App/Perun_v1/02_Forms/form_Main.cs b/02_Windows_App/Perun_v1/02_Forms/form_Main.cs index cd002ff..cd3e7f9 100644 --- a/02_Windows_App/Perun_v1/02_Forms/form_Main.cs +++ b/02_Windows_App/Perun_v1/02_Forms/form_Main.cs @@ -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); } diff --git a/02_Windows_App/Perun_v1/Perun_v1.csproj b/02_Windows_App/Perun_v1/Perun_v1.csproj index 56d316f..c42be6f 100644 --- a/02_Windows_App/Perun_v1/Perun_v1.csproj +++ b/02_Windows_App/Perun_v1/Perun_v1.csproj @@ -32,7 +32,7 @@ Perun true Perun.htm - 6 + 7 0.7.0.%2a false true