Skip to content

Conversation

@conordoh98
Copy link
Contributor

Added systemDisabled bool in program.cs, setting this to true disables system.
Added system controller.
Added if statement at the start of setDoor() so if systemDisabled is true, all doors are set to open(line 79 methods.cs)
Added && in overrideDoor so if systemDisabled is true, door is not overriden.(line 110 methods.cs)
Not sure where im going wrong here, could you take a look?

Added  a bool which is set by api/system/string to disable and enable system
@ocualaib ocualaib marked this pull request as ready for review April 20, 2021 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants