interfaces and communication

Interfaces and - status Table Spinner | Communicates with the GUI Incoming messages from the GUI to tell it when to start and/or stop No outgoing

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Top-level Object Communicates With Incoming Messages Outgoing Messages Graphical Interface/Central Computer Door Switch Communicates with the GUI to be sure that you can only turn the device on if the door is closed Incoming messages are from the user, i.e. power, timing, etc., also from the door which tells the GUI if the wave generator is safe to go on Outgoing messages tell the generator to begin making the waves, the table spinner to spin, and displays things on the screen Door Communicates with the GUI to be sure that you can only turn the device on if the door is closed No incoming messages except from the user who can open and close the door Outgoing messages whenever the door is opened or closed, it must inform the interface so that the device turns off when the door is opened Microwave Generator Communicates with the GUI Incoming messages from the GUI to either start or stop generating waves, setting the power, setting the time, etc. Outgoing messages to the GUI to inform it of its current
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: status Table Spinner | Communicates with the GUI Incoming messages from the GUI to tell it when to start and/or stop No outgoing messages The GUI of the microwave is able to tell the user if the microwave is operational and if not , then why it cannot operate. The GUI also inputs the user information to determine the cooking time, power, and patterns (such as defrosting). The GUI is used to display instructions to the user to provide the correct input to run the machine. Advantages of having a componentized system The major advantage of having a componentized system is that if one component breaks, you can just replace that one thing without having to replace the whole system. Take for example in a computer system, if one part of the code has a bug in it, you just have to focus on that one part instead of the whole code. For the example of the microwave breaking, if it breaks then you just have to replace the microwave instead of the whole kitchen....
View Full Document

This note was uploaded on 04/03/2011 for the course IT 210 taught by Professor Josephpillera during the Spring '10 term at University of Phoenix.

Page1 / 2

Interfaces and - status Table Spinner | Communicates with the GUI Incoming messages from the GUI to tell it when to start and/or stop No outgoing

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online