Commit da5c0d70 张东亮

灯光定义但不亮问题

1 个父辈 1be3eaa4
using ConfigHelper; using ConfigHelper;
using OnlineStore.Common; using OnlineStore.Common;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChangeConfigKey namespace ChangeConfigKey
{ {
......
...@@ -135,8 +135,9 @@ namespace DeviceLibrary ...@@ -135,8 +135,9 @@ namespace DeviceLibrary
if (SafetyLightStop) if (SafetyLightStop)
{ {
ProcessLefCfg(MachineLedStateE.SafetyLightCurtains); ProcessLefCfg(MachineLedStateE.SafetyLightCurtains);
return;
} }
else
{
//回原 绿闪 //回原 绿闪
if (runStatus == RunStatus.HomeReset) if (runStatus == RunStatus.HomeReset)
{ {
...@@ -201,6 +202,8 @@ namespace DeviceLibrary ...@@ -201,6 +202,8 @@ namespace DeviceLibrary
// StandbyLed.LedState = LedState.blink; // StandbyLed.LedState = LedState.blink;
//} //}
} }
}
Led.LedGroup.ForEach((x) => { x.run(); }); Led.LedGroup.ForEach((x) => { x.run(); });
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!