Added labels to scada,
Remove network card monitor
This commit is contained in:
@@ -32,16 +32,9 @@ namespace Step.Core
|
||||
private volatile static List<Thread> RunningThreadsList = new List<Thread>();
|
||||
internal volatile static Dictionary<string, string> RunningThreadStatus = new Dictionary<string, string>();
|
||||
|
||||
private static Thread MonitorNetworkResources;
|
||||
|
||||
public static void Start()
|
||||
{
|
||||
ThreadsFunctions.RestoreConnection();
|
||||
|
||||
// Start Thread Network monitor
|
||||
Action Monitor = new Action(ThreadsFunctions.MonitorPanelPCResources);
|
||||
MonitorNetworkResources = new Thread(() => Monitor());
|
||||
MonitorNetworkResources.Start();
|
||||
}
|
||||
|
||||
public static void StartWorkers()
|
||||
@@ -85,8 +78,6 @@ namespace Step.Core
|
||||
RunningThreadStatus.Clear();
|
||||
RunningThreadStatus.Add("TryNcConnection", "---");
|
||||
}
|
||||
// Close network monitor
|
||||
MonitorNetworkResources.Abort();
|
||||
|
||||
MessageServices.Current.Publish(SEND_THREADS_STATUS, null, RunningThreadStatus);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user