* Fixed no website directory
* Fixed message errros and startup orders
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user