* Fixed no website directory

* Fixed message errros and startup orders
This commit is contained in:
Lucio Maranta
2017-12-21 17:01:14 +01:00
parent 4a1a56f2b6
commit e84832f9ee
4 changed files with 37 additions and 22 deletions
+14 -3
View File
@@ -31,13 +31,16 @@ public static class ThreadsFunctions
MessageServices.Current.Publish(SEND_ALARMS, null, alarms);
}
Thread.Sleep(200);
}
}
catch (ThreadAbortException ex)
{
ncHandler.Dispose();
}
catch (Exception ex)
{
ncHandler.Dispose();
TryNcConnection();
ncHandler.Dispose();
TryNcConnection();
}
}
@@ -60,6 +63,10 @@ public static class ThreadsFunctions
Thread.Sleep(1000);
}
}
catch (ThreadAbortException ex)
{
ncHandler.Dispose();
}
catch (Exception ex)
{
ncHandler.Dispose();
@@ -87,6 +94,10 @@ public static class ThreadsFunctions
Thread.Sleep(200);
}
}
catch (ThreadAbortException ex)
{
ncHandler.Dispose();
}
catch (Exception ex)
{
ncHandler.Dispose();