feat: shutdown_or_startup 如果不是工段不用关心其开停
This commit is contained in:
parent
634884f336
commit
ca15092c5c
|
@ -46,6 +46,9 @@ def shutdown_or_startup(equipId: str, last_timex: datetime, last_mrs):
|
|||
|
||||
# 设备运行状态决定工段运行状态
|
||||
mgroup: Mgroup = equip.mgroup
|
||||
# 如果不是工段不用关心其开停
|
||||
if mgroup.cate != 'section':
|
||||
return
|
||||
indicate = equip.indicate_mgroup_running
|
||||
new_run = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue