Question: 2 . 4 Two Push Buttons: Electric Generator Load Control ( v 2 ) In this part, we will modify the previous part by implementing
Two Push Buttons: Electric Generator Load Control v
In this part, we will modify the previous part by implementing policies that enhance the safety of the
plant. The main idea here is that the operators should be aware of the current condition and should not
make simultaneous requests. Modify the code to implement the following criteria. If a machine is run
ning and the other operator makes a request pushes the button the running machine stops immediately.
Furthermore, no machine can be started unless both operators have released their buttons. This implies
that a request made while the other button was pushed will not be honored even if the earlier button was
released Both buttons must be released before any request is processed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
