diff --git a/MTC_Adapter/SCMA/MainForm.cs b/MTC_Adapter/SCMA/MainForm.cs index aa35d2f..f680670 100644 --- a/MTC_Adapter/SCMA/MainForm.cs +++ b/MTC_Adapter/SCMA/MainForm.cs @@ -1446,7 +1446,7 @@ namespace SCMA // aggiungo su file... replString = item.BrowseName.Replace("Machine:", "").Replace(":Type", ""); fileOut.WriteLine($"A|I|{newElement.ident}_Status|{replString}:Status"); - numRules += 1; + numRules ++; } if (item.Value == "LUBRO") { @@ -1459,7 +1459,8 @@ namespace SCMA // aggiungo su file... replString = item.BrowseName.Replace("Machine:", "").Replace(":Type", ""); fileOut.WriteLine($"A|I|{newElement.ident}_Count|{replString}:Repetitions"); - numRules ++; + fileOut.WriteLine($"A|I|{newElement.ident}_Status|{replString}:Status"); + numRules +=2; } if (item.Value == "VACUUM_PUMP") { diff --git a/MTC_Adapter/packages/NLog.4.5.10.deleteme b/MTC_Adapter/packages/NLog.4.5.10.deleteme deleted file mode 100644 index e69de29..0000000