diff --git a/Iob.Net/Program.cs b/Iob.Net/Program.cs index 17e0f14d..b4d10ab1 100644 --- a/Iob.Net/Program.cs +++ b/Iob.Net/Program.cs @@ -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();