diff --git a/IOB-UT-NEXT/utils.cs b/IOB-UT-NEXT/utils.cs index d5be4aa8..12391133 100644 --- a/IOB-UT-NEXT/utils.cs +++ b/IOB-UT-NEXT/utils.cs @@ -95,6 +95,7 @@ namespace IOB_UT_NEXT } } +#if false /// /// File SimData x simulazione deterministica /// @@ -104,7 +105,8 @@ namespace IOB_UT_NEXT { return string.Format(@"{0}\{1}", utils.dataDatDir, utils.CRS("simDataFile")); } - } + } +#endif #endregion Public Properties diff --git a/IOB-WIN-FORM/MainForm.cs b/IOB-WIN-FORM/MainForm.cs index a7958ab3..27df6d2b 100644 --- a/IOB-WIN-FORM/MainForm.cs +++ b/IOB-WIN-FORM/MainForm.cs @@ -502,14 +502,17 @@ namespace IOB_WIN_FORM lastComCheck = adesso.AddHours(-1); lblStatus.Text = "Loading"; + // fix versione e nome APP! + string nomeApp = $"{ConfigurationManager.AppSettings.Get("appName")}"; + string versione = $" v.{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version}"; + // fix icon! - notifyIcon1.Text = string.Format("IOB-WIN | {0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version); + notifyIcon1.Text = $"{nomeApp} | {versione}"; Icon = Icon.ExtractAssociatedIcon(utils.defIconFilePath); notifyIcon1.Icon = Icon.ExtractAssociatedIcon(utils.defIconFilePath); - // fix versione! - string nomeApp = $"{ConfigurationManager.AppSettings.Get("appName")} ({ModoAvvio})"; - string versione = $" v.{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version}"; + this.Text = nomeApp; + lblApp.Text = nomeApp; lblVers.Text = versione; @@ -520,7 +523,7 @@ namespace IOB_WIN_FORM // salvo versione SW! lgInfo("------ STARTUP DATA ------"); - lgInfo($"App Mode : {nomeApp}"); + lgInfo($"App Mode : {nomeApp} ({ModoAvvio})"); lgInfo($"Versione : {versione}"); lgInfo("--------------------------"); diff --git a/IOB-WIN-NEXT/AdapterFormNext.cs b/IOB-WIN-NEXT/AdapterFormNext.cs index 368c4dc3..b3bf1e24 100644 --- a/IOB-WIN-NEXT/AdapterFormNext.cs +++ b/IOB-WIN-NEXT/AdapterFormNext.cs @@ -240,10 +240,12 @@ namespace IOB_WIN_NEXT btnStart.Enabled = true; break; +#if false case tipoAdapter.PingWatchdog: iobObj = new IOB_WIN_FORM.Iob.PingWatchDog(this, IOBConf); btnStart.Enabled = true; - break; + break; +#endif case tipoAdapter.OSAI_OPEN: case tipoAdapter.OSAI_CNDEX: diff --git a/IOB-WIN-NEXT/App.config b/IOB-WIN-NEXT/App.config index b1491bef..08dd5abb 100644 --- a/IOB-WIN-NEXT/App.config +++ b/IOB-WIN-NEXT/App.config @@ -88,8 +88,8 @@ - - + + diff --git a/IOB-WIN-PING/App.config b/IOB-WIN-PING/App.config index a43a0964..93faf2cd 100644 --- a/IOB-WIN-PING/App.config +++ b/IOB-WIN-PING/App.config @@ -8,8 +8,7 @@ - - + @@ -88,8 +87,8 @@ - - + + diff --git a/IOB-WIN-WPS/App.config b/IOB-WIN-WPS/App.config index afb03bc4..06a4ce9b 100644 --- a/IOB-WIN-WPS/App.config +++ b/IOB-WIN-WPS/App.config @@ -8,8 +8,7 @@ - - + @@ -88,8 +87,8 @@ - - + +