|
|
@ -48,7 +48,7 @@ namespace Aucma.Core.RunPlc
|
|
|
|
if (allPlcServices == null) return Task.CompletedTask;
|
|
|
|
if (allPlcServices == null) return Task.CompletedTask;
|
|
|
|
var list = allPlcServices.FindAll(d => d.PlcType == "Melsec" && d.Enabled == true);
|
|
|
|
var list = allPlcServices.FindAll(d => d.PlcType == "Melsec" && d.Enabled == true);
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var item in allPlcServices)
|
|
|
|
foreach (var item in list)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PlcModel model = new PlcModel();
|
|
|
|
PlcModel model = new PlcModel();
|
|
|
|
model.Id = item.Id;
|
|
|
|
model.Id = item.Id;
|
|
|
|