diff --git a/IOB-WIN/App.config b/IOB-WIN/App.config index 65504916..eb5de65b 100644 --- a/IOB-WIN/App.config +++ b/IOB-WIN/App.config @@ -21,7 +21,7 @@ - + diff --git a/IOB-WIN/IobGeneric.cs b/IOB-WIN/IobGeneric.cs index 72ab34f9..dd760f20 100644 --- a/IOB-WIN/IobGeneric.cs +++ b/IOB-WIN/IobGeneric.cs @@ -1186,8 +1186,7 @@ namespace IOB_WIN } #endregion - - + #region gestione dataMonitor (accodamento valori) @@ -1196,18 +1195,7 @@ namespace IOB_WIN /// private void displayRawData() { -#if false - // mostro update...... - string newString = string.Format("{0:X}{1}{2}", (int)B_input, Environment.NewLine, parentForm.dataMonitor_0); - // se num righe superiore a limite trimmo... - if (newString.Split('\n').Length > parentForm.nLine2show) - { - int idx = newString.LastIndexOf(Environment.NewLine); - newString = newString.Substring(0, idx); - } - parentForm.dataMonitor_0 = newString; -#endif - // mostro update...... + // mostro update... string newString = string.Format("{0:X}", (int)B_input); accodaRawData(newString); // salvo coda debug... @@ -1218,15 +1206,9 @@ namespace IOB_WIN /// public void displayInData() { - // mostro update...... - string newString = string.Format("{0:0000}|{1}{2}{3}", counter, utils.IntToBinStr((int)B_output, 8), Environment.NewLine, parentForm.dataMonitor_1); - // se num righe superiore a limite trimmo... - if (newString.Split('\n').Length > parentForm.nLine2show) - { - int idx = newString.LastIndexOf(Environment.NewLine); - newString = newString.Substring(0, idx); - } - parentForm.dataMonitor_1 = newString; + // mostro update... + string newString = string.Format("{0:0000}|{1}", counter, utils.IntToBinStr((int)B_output, 8)); + accodaSignaInlData(newString); } /// /// Mostra cosa ha/avrebbe inviato @@ -1256,7 +1238,7 @@ namespace IOB_WIN /// Accoda (visualizzando in cima allo stack) la nuova stringa di output per area OTHER DATA /// /// - public void accodaSignalData(string newLine) + public void accodaSignaInlData(string newLine) { // inserisco in cima allo stack, trimmo e aggiorno display parentForm.dataMonitor_1 = limitLine2show(string.Format("{0}{1}{2}", newLine, Environment.NewLine, parentForm.dataMonitor_1)); diff --git a/IOB-WIN/MainForm.cs b/IOB-WIN/MainForm.cs index 5ff84c0e..3a505bc8 100644 --- a/IOB-WIN/MainForm.cs +++ b/IOB-WIN/MainForm.cs @@ -140,8 +140,11 @@ namespace IOB_WIN /// public MainForm() { + // se NON sono in DEBUG faccio check update... +#if !(DEBUG) // avvio autoupdater... AutoUpdater.Start(updateUrl); +#endif // continuo avvio... InitializeComponent(); diff --git a/README.md b/README.md index cec5b1a7..8b7cab49 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ Qui sono raccolte le informazioni relative al sw **MAPO-IOB-WIN**, progetto per - [MAPO-IOB-WIN](#mapo-iob-win) - - [Standard Tecnici](#standard-tecnici) - - [Setup](#setup) - - [Applicativo](#applicativo) + - [Standard Tecnici](#standard-tecnici) + - [Setup](#setup) + - [Applicativo](#applicativo) @@ -26,7 +26,7 @@ Il computer deve avere - un account admin - username: **steamware** - - pwd: musicale numerica complicata + - pwd: musicale numerica standard - un account utente base - username: **IOB** - pwd: viadante16 diff --git a/README.pdf b/README.pdf index 2eefc39a..d97c5801 100644 Binary files a/README.pdf and b/README.pdf differ