From 4de2ef340bb99125e32ffce82a314626a5ce8987 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 11 Oct 2019 09:45:40 +0200 Subject: [PATCH] typo fix x task --- IOB-WIN/IobSiemensAt2001.cs | 8 +++----- IOB-WIN/IobSiemensSaet.cs | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/IOB-WIN/IobSiemensAt2001.cs b/IOB-WIN/IobSiemensAt2001.cs index 4e84ac6b..1fb03ff4 100644 --- a/IOB-WIN/IobSiemensAt2001.cs +++ b/IOB-WIN/IobSiemensAt2001.cs @@ -1,8 +1,6 @@ using IOB_UT; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IOB_WIN { @@ -65,7 +63,7 @@ namespace IOB_WIN // salvo i valori PREC... LastTSVC.Add(item.Key, 0); } - } + } } #region Metodi specifici (da verificare/completare in implementazione) @@ -88,7 +86,7 @@ namespace IOB_WIN // salvo su DB Dictionary task2exe = new Dictionary(); Dictionary taskDone = new Dictionary(); - task2exe.Add("SendWatchDogMes2Plc", counterMes2Plc.ToString()); + task2exe.Add("sendWatchDogMes2Plc", counterMes2Plc.ToString()); taskDone = executeTasks(task2exe); // salvo watchdog PLC lastPLCWatchDog = adesso; @@ -115,7 +113,7 @@ namespace IOB_WIN // controllo sulla KEY switch (item.Key) { - case "SendWatchDogMes2Plc": + case "sendWatchDogMes2Plc": MemBlock[1] = (byte)counterMes2Plc; MemBlock[0] = (byte)(counterMes2Plc >> 8); taskVal = $"VALUE DB1275.92 --> {counterMes2Plc}"; diff --git a/IOB-WIN/IobSiemensSaet.cs b/IOB-WIN/IobSiemensSaet.cs index c044e804..64e3f47e 100644 --- a/IOB-WIN/IobSiemensSaet.cs +++ b/IOB-WIN/IobSiemensSaet.cs @@ -125,7 +125,7 @@ namespace IOB_WIN // salvo su DB Dictionary task2exe = new Dictionary(); Dictionary taskDone = new Dictionary(); - task2exe.Add("SendWatchDogMes2Plc", counterMes2Plc.ToString()); + task2exe.Add("sendWatchDogMes2Plc", counterMes2Plc.ToString()); taskDone = executeTasks(task2exe); // salvo watchdog PLC lastPLCWatchDog = adesso; @@ -152,7 +152,7 @@ namespace IOB_WIN // controllo sulla KEY switch (item.Key) { - case "SendWatchDogMes2Plc": + case "sendWatchDogMes2Plc": MemBlock[1] = (byte)counterMes2Plc; MemBlock[0] = (byte)(counterMes2Plc >> 8); taskVal = $"VALUE DB1275.92 --> {counterMes2Plc}";