typo fix x task

This commit is contained in:
Samuele E. Locatelli
2019-10-11 09:45:40 +02:00
parent 8131f5d1ab
commit 4de2ef340b
2 changed files with 5 additions and 7 deletions
+3 -5
View File
@@ -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<string, string> task2exe = new Dictionary<string, string>();
Dictionary<string, string> taskDone = new Dictionary<string, string>();
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}";
+2 -2
View File
@@ -125,7 +125,7 @@ namespace IOB_WIN
// salvo su DB
Dictionary<string, string> task2exe = new Dictionary<string, string>();
Dictionary<string, string> taskDone = new Dictionary<string, string>();
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}";