首次提交lilili

This commit is contained in:
2025-03-25 18:55:59 +08:00
parent fabc7606e7
commit bc981fc7a9
13 changed files with 1693 additions and 415 deletions

View File

@ -684,6 +684,11 @@ namespace DHSoftware
_productLists.Add(products);
}
//流程执行时PLC
StartPLCAction();
// 转盘操作
// if (_PLC?.IIConfig?.IsEnabled == true)
@ -708,6 +713,21 @@ namespace DHSoftware
// MachineState = MachineState.Running;
}
/// <summary>
/// 流程开始执行PLC
/// </summary>
private void StartPLCAction()
{
if (PLC.PLCItemList?.Count > 0)
{
List<PLCItem> startPLCList= PLC.PLCItemList.Where(it=>it.StartExecute).ToList();
if (startPLCList?.Count > 0)
{
}
}
}
private void PrepareMLEngine()
{
//if (_visionEngine == null)