1.修正AutoRuning PM条件不满足问题

This commit is contained in:
HCL 2024-04-22 13:48:04 +08:00
commit d7cece2d2f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ namespace SicRT.Scheduler
{ {
get get
{ {
if (Singleton<EquipmentManager>.Instance.IsAutoMode) if (SC.GetValue<bool>("System.IsATMMode"))
{ {
return _pm.IsIdle && _pm.IsOnline && CheckTaskDone(); return _pm.IsIdle && _pm.IsOnline && CheckTaskDone();
} }