Behavior Engineering Based Software Change Case Studies |
|
|
Microwave Oven Case Study RBTsThe requirement behavior trees of the Microwave Oven case study is listed: • R1 : There is a single control button available for the user of the oven. If the oven is idle with the door is closed and you push the button, the oven will start cooking (that is, energize the power-tube for one minute).
• R3 : Pushing the button when the door is open has no effect (because it is disabled). • R4 : Whenever the oven is cooking or the door is open the light in the oven will be on. • R5 : Opening the door stops the cooking. • R6 : Closing the door turns off the light. This is the normal idle state, prior to cooking when the user has placed food in the oven. • R7 : If the oven times-out the light and the power-tube are turned off and then a beeper emits a sound to indicate that the cooking is finished
|