Skip to content

Commit

Permalink
Merge pull request #274 from BCDA-APS/273-aps-mode
Browse files Browse the repository at this point in the history
APS user operations could be in mode 1 OR 2
  • Loading branch information
prjemian committed Jan 31, 2020
2 parents 670b187 + 2cf6220 commit 888b308
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apstools/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,10 @@ def inUserOperations(self):
pass
"""
verdict = self.machine_status.value in (1, "USER OPERATIONS")
# verdict = verdict and self.operating_mode.value not in (5, "MAINTENANCE")
return verdict
return self.machine_status.get() in (
1, "USER OPERATIONS",
2, "Bm Ln Studies"
)


class ShutterBase(Device):
Expand Down

0 comments on commit 888b308

Please sign in to comment.