首次提交lilili
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user