Aggiunta messaggio richiesta stop thread
This commit is contained in:
@@ -7,11 +7,20 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using static SteamWare.Logger.Logging;
|
||||
using static SteamWare.Logger.Constants;
|
||||
using System.Threading;
|
||||
|
||||
namespace Iob.Net
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
#region Public Fields
|
||||
|
||||
public static readonly ManualResetEvent StopRequest = new ManualResetEvent(false);
|
||||
|
||||
#endregion Public Fields
|
||||
|
||||
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public static void Main()
|
||||
@@ -103,6 +112,12 @@ namespace Iob.Net
|
||||
}
|
||||
#endif
|
||||
|
||||
// avvio i thread: lettura PLC, pubblicazione http su MP/IO, gestione task MP/IO, invio update UI
|
||||
|
||||
// attendo chiusura
|
||||
|
||||
// chiudo
|
||||
|
||||
#if false
|
||||
// Stop Threads
|
||||
ThreadsHandler.Close();
|
||||
|
||||
Reference in New Issue
Block a user