Fix typo PrgName + fix log SYS e PROG

This commit is contained in:
Samuele E. Locatelli
2017-10-26 09:17:18 +02:00
parent fa932958f5
commit 6117830f88
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ namespace IOB_WIN
try
{
string nome = new string(answ.name);
prgName= string.Format("{0}{1}", answ.o_num, nome);
prgName= string.Format("{0}|{1}", answ.o_num, nome);
}
catch(Exception exc)
{
+2 -2
View File
@@ -1225,7 +1225,7 @@ namespace IOB_WIN
// salvo!
lastPrgName = currPrgName;
displayOtherData(currPrgName);
lg.Info(string.Format("{0}", currPrgName));
lg.Info(string.Format("[PROG]{0}", currPrgName));
// --> accodo (valore già formattato)!
QueueFLog.Enqueue(qEncodeFLog("PROG", currPrgName));
// Gestione counter FLog!
@@ -1258,7 +1258,7 @@ namespace IOB_WIN
string sVal = "";
foreach (var item in currSysInfo)
{
sVal = string.Format("{0}: {1}", item.Key, item.Value);
sVal = string.Format("[SYSINFO]{0}|{1}", item.Key, item.Value);
displayOtherData(sVal);
lg.Info(string.Format("{0}", sVal));
// --> accodo (valore già formattato)!