dev
liuwf 1 year ago
parent a315a8c3de
commit aade61a4c6

@ -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;

Loading…
Cancel
Save