Entity
Name |
Type |
Description |
Auto Cook Presets |
FUNCTION |
Looks up proper
power level and
cooking time settings for a given auto cook preset food item |
Auto Defrost |
FUNCTION |
Determines correct
power level
and cooking time values based on type of meat and weight of meat being
defrosted |
Beeper |
FUNCTION |
Sounds beeper tone
for
specified length of time |
Beeper duration
time |
INTEGER |
The number of
seconds that the
beeper is to sound a tone. |
Clock |
FUNCTION |
Begins measuring
time from an
initial time of day input |
Clock start time |
TIME_H_M |
Operator entered
time value
used to initialize the clock |
Cooking Control |
FUNCTION |
Sends signals to
set oven
control function to set proper power level then turn oven on for the
length of time specified in the input to this function |
Current time of day |
TIME_H_M |
Current time of
day to be
displayed |
Current timer value |
TIME_M_S |
Current timer
value to be
displayed |
Display Power |
FUNCTION |
Sends power level
setting to
LCD screen to be displayed |
Display Time |
FUNCTION |
Sends time setting
to LCD
screen to be displayed |
Door opened
interrupt |
ENUMERATION |
Door closed = 0,
Door open = 1 |
Door switch signal |
DOOR_SWITCH |
Signal from door
sensor to
indicate whether the microwave door is opened or closed |
Echo digits 0-9 |
ECHO_DIGITS |
Echo digits 0-9 to
LCD screen
as operator presses these keys |
Feedback tones |
FEEDBACK_TONES |
Sound tones after
each key is
entered |
HW Beeper on off
signal |
HW_BEEPER_CNTL |
Discrete signal to
beeper
hardware to turn beeper on and off |
HW Oven on off
signal |
HW_OVEN_CNTL |
Discrete signal to
microwave
generator hardware to turn oven on and off |
HW Power level |
HW_PWR_LEVEL |
Signal to set
microwave
generator hardware to correct value |
Initial timer value |
TIME_M_S |
The operator
entered time value
used to initialize the timer |
Keypad input
signals |
KEYPAD_INPUTS |
Input signals from
keypad
hardware |
LCD Power level |
LCD_PWR_LEVEL |
Power level
formatted for
display on LCD screen. |
LCD Time |
LCD_TIME |
Time value (XX:XX)
sent to LCD
screen (can be either in hours, minutes or in minutes, seconds
depending on which microwave function is active) |
Meat type |
ENUMERATION |
Type of meat (Beef
= 1, Poultry
= 2, Fish = 3) |
Monitor and
Process Inputs |
FUNCTION |
Receives and
decodes inputs
from keypad and door sensor then calls appropriate sub-functions |
Operator prompts |
OPER_PROMPT |
Operator prompts
sent to the
LCD screen to request operator inputs |
Oven on/off signal |
ENUMERATION |
Off = 0, On = 1 |
Oven Control |
FUNCTION |
Sends power level
settings to
microwave generator hardware then turns microwave generator hardware on
and off as inputs indicate |
Power level |
INTEGER |
Power level
selected by
operator (1 – 10) |
Preset selected |
ENUMERATION |
Preset key
selected by operator
(Popcorn = 0, Potato = 1, Beverage = 2, Pizza = 3, Frozen
Entrée = 4, Fresh Veg. = 5) |
Remaining cooking
time |
TIME_M_S |
Length of time
before cooking
completes |
Start |
ENUMERATION |
Indicates that the
Start button
has been pushed (Start active = 1, Start inactive = 0) |
Stop/Clear
interrupt |
ENUMERATION |
Stop/Clear button
indication
signal (Stop/Clear active = 1, Stop/Clear inactive = 0) |
Timer |
FUNCTION |
Receives an
initial timer value
then counts down the time to 00:00 and sends a signal to the beeper
function to sound a tone. |
Weight of meat |
FLOAT |
Weight of meat for
defrosting
in ounces |
Term |
Description |
Type |
Requirements
Trace |
Auto-Defrost
Key Object |
Process
scope of Auto-Defrost Key control flow. |
Process
Entity |
|
Controller
Object |
Process
scope of Controller control flow with respect to Auto-Defrost Key
interaction. |
Process
Entity |
|
Display
Prompt |
Process
within Controller Object processing scope that displays prompts for
requesters. |
Sub-Process
Entity |
|
Handle
Auto-Defrost Key Event |
Process
within Auto-Defrost Key Object processing scope that handles events as
they occur. |
Sub-Process
Entity |
|
Keypad |
Keypad
input device. |
Hardware
Component |
|
Process
Meat Type |
Process
within Auto-Defrost Key Object processing scope that processes data for
the meat type selected. |
Sub-Process
Entity |
|
Process
Meat Weight |
Process
within Auto-Defrost Key Object processing scope that processes data for
the meat weight selected. |
Sub-Process
Entity |
|
Prompt
for Meat Type |
Process
within Auto-Defrost Key Object processing scope that requests display
of meat type prompt. |
Sub-Process
Entity |
|
Prompt
for Meat Weight |
Process
within Auto-Defrost Key Object processing scope that requests display
of meat type prompt. |
Sub-Process
Entity |
|
Start
Defrost Operation |
Process
within Controller Object processing scope that communicates with the
generator to start cooking. |
Sub-Process
Entity |
|
Wait
for Start Button Press |
Process
within Auto-Defrost Key Object processing scope that waits for user
acknowledgement of selection via the start button event. |
Sub-Process
Entity |
Term |
Description |
Type |
Requirements
Trace |
AutoCookPresetKeyImpl |
Parent
class object to AutoDefrostKeyImpl class object that contains and
processes cooking duration and power level data. |
Object |
|
AutoDefrostKeyImpl |
Class
object that contains and processes type of meat and meat weight data. |
Object |
|
Consumer |
Role
stereotype of object association that shows the object is a consumer of
data via the association arc. |
Association
Role |
|
Controller |
Class
object that manages controller data and system state and provides
services to other system objects. |
Object |
|
FunctionKeyImpl |
Class
object that is used (indirectly) by the AutoDefrostKeyImpl class
object. FunctionKeyImpl class object provides Start button
functionality. |
Object |
|
KeyImpl |
Parent
class object to AutoDefrostKeyImpl, FunctionKeyImpl, and NumericKeyImpl
class objects that maintains key state and handles key-press events. |
Object |
|
LCD |
Class
object that processes display data so that it is correct rendered on
the display screen. |
Object |
|
NumericKeyImpl |
Class
object that is used by the AutoDefrostKeyImpl class object.
NumericKeyImpl class object contains integer values of numeric keys
that have been pressed. |
Object |
|
Producer |
Role
stereotype of object association that shows the object is a producer of
data via the association arc. |
Association
Role |
|
Term |
Description |
Type |
Requirements
Trace |
autoDefrostKey |
AutoDefrostKeyImpl
class object that contains and processes cooking duration and power
level data (via inheritance). Class object also contains and processes
type of meat and meat weight data. |
Object |
|
AutoDefrostKeyImpl |
Class
that contains and processes type of meat and meat weight data. |
Class |
|
commandProcessingSystem |
Controller
class object that manages controller data and system state and provides
services to other system objects. |
Object |
|
Controller |
Class
that manages controller data and system state and provides services to
other system objects. |
Class |
|
displayTypePrompt |
Method
of Controller class that displays meat type prompt on LCD. |
Method |
|
displayWeightPrompt |
Method
of Controller class that displays meat weight prompt on LCD. |
Method |
|
handlePressEvent |
Method
of AutoDefrostKeyImpl class that handles key-press events as they occur. |
Method |
|
pushAutoDefrost |
Method
of Controller class that displays meat weight prompt on LCD. |
Method |
Term |
Description |
Type |
Requirements
Trace |
1,2, or
3 Entered |
Key-press
event representing user selected type of meat. |
Transition |
|
2 Valid
Numerics Entered |
Key-press
events representing user specified meat weight. |
Transition |
|
Handle
Auto Defrost Key Event |
Handling
activity of user key-press of auto-defrost key. |
Activity |
|
Handle
Numeric Key Event |
Handling
activity of user key-press of numeric key. |
Activity |
|
Handle
Start Key Event |
Handling
activity of user key-press of start key. |
Activity |
|
Invalid |
Invalid
keycode for key-press event. |
Transition |
|
Request
Meat Type Prompt Display on LCD |
Request
activity for display of meat type prompt by controller. |
Activity |
|
Request
Meat Weight Prompt Display on LCD |
Request
activity for display of meat weight prompt by controller. |
Activity |
|
Request
Defrost Operation Start |
Request
activity for start of generator in auto-defrost mode by controller. |
Activity |
|
Set
Power Level and Cook Time |
Data
processing activity for type of meat and weight of meat specified by
the user. |
Activity |
No part of this work should be produced or used without the permission of the authors: Michael Turner and Dr. Sharon A White.