|
|
@@ -93,7 +93,7 @@ namespace parkMonitor.server.CoreThread
|
|
|
{
|
|
|
GetTotalStatus();
|
|
|
});
|
|
|
- // Task.WaitAll(PLCTask, queueTask);
|
|
|
+ tasklist.Add(taskFactory.StartNew(act1));
|
|
|
Task.WaitAll(tasklist.ToArray());
|
|
|
Command queueCmd = (Command)func.EndInvoke(result);
|
|
|
SimpleCMDFactory simpleCMDFactory = new SimpleCMDFactory();
|