Moved status routes to instrument/state

This commit is contained in:
Joel Collins 2020-01-29 17:43:52 +00:00
parent e9e2419fe4
commit 9b4bf4c8fc
16 changed files with 52 additions and 64 deletions

View file

@ -18,9 +18,9 @@ class MissingStage(BaseStage):
@property
def state(self):
"""The general status dictionary of the board."""
status = {"position": self.position_map}
return status
"""The general state dictionary of the board."""
state = {"position": self.position_map}
return state
@property
def configuration(self):

View file

@ -33,7 +33,7 @@ class SangaStage(BaseStage):
@property
def state(self):
"""The general status dictionary of the board."""
"""The general state dictionary of the board."""
return {"position": self.position_map}
@property