Presentation on theme: "Home Appliance Control System Ann K George Nithya Inbamani Shilpa Maddi."— Presentation transcript:
Home Appliance Control System Ann K George Nithya Inbamani Shilpa Maddi
Block Diagram of HACS System Home Owner Hacs Controller Thermostat System Bath tub System Sprinkler System
Use Case Diagram Shows a set of use cases, actors and relationships Addresses static use case view of a system.
Use Case Diagram
Login Use Case Template Use Case1.LOGIN History created 5/7/2005 DescriptionUser uses this use case to establish a session with the HACS controller ActorsUser AssumptionsThe user has to first log on to the HACS before he can have control over the appliances. The validation should be performed and only then can the session with the HACS Controller be established Steps1.User enters the UserID and Password and submits to HACS. IssuesWhat is the mode of communication between User and HACS controller.
Logout Use Case Template Use Case2.LOGOUT History created 5/7/2005 DescriptionUser uses this use case to end a session with the HACS controller. ActorsUser AssumptionsThe user is logged in. Steps1.User clicks LOGOUT button and the session is ended. IssuesWhat is the mode of communication between User and HACS controller.
ADD/Remove Appliance Use Case Template Use Case3.ADD/Remove Appliance uses 1.LOGIN History created 5/7/2005 DescriptionUser uses this use case to add or remove appliances from already existing set of appliances. ActorsUser AssumptionsThe user is logged into the system and established a session with HACS controller. Steps 1.User clicks on “add/remove appliance” option. 2. The appliance menu is displayed 3. The user selects the appliance to be added or removed 4. That particular appliance is added or removed from the list of appliances IssuesWhat is the mode of communication between User and HACS controller.
Set Appliance Use Case Template Use Case4.Set Appliance uses 1.LOGIN History created 5/7/2005 DescriptionThis use case is a generalization of the three systems –Set Bath tub,Set Sprinkler, Set Thermostat. ActorsUser AssumptionsThe user is logged into the system and established a session with HACS controller. Steps1.The user clicks on the Set Appliance. 2.The appliance menu is displayed. 3. The user selects the desired appliance 4. Based on the selection of the appliance, the control is transferred to the appropriate appliance IssuesWhat is the mode of communication between User and HACS controller.
Set Thermostat Use Case Template Use Case4.Set Thermostat Uses 1.LOGIN History created 5/7/2005 Description This use case is used to control the settings of the Thermostat. ActorsUser AssumptionsThe user is logged into the system and established a session with HACS controller. Steps1.The user selects the thermostat system. 2.The user gets the current status of the system. 3.Then he selects the temperature, heat or ac, auto or fan options to set the settings of the system. IssuesWhat is the mode of communication between User and HACS controller.
Interaction Diagrams Sequence Diagram Emphasizes the time-ordering of messages. Collaboration Diagram Emphasizes structural organization of objects that send and receive messages.
Sequence Diagram for Login
Collaboration Diagram for Login
Sequence Diagram for Logout
Collaboration Diagram for Logout
Sequence Diagram for Add/Remove Appliance
Collaboration Diagram for Add/Remove Appliance
Sequence Diagram for Bath Tub Controller
Collaboration Diagram for Bath Tub Controller
Sequence Diagram for ThermostatController
Collaboration Diagram for ThermostatController
Sequence Diagram for SprinklerController
Collaboration Diagram for SprinklerController
Class Diagram Shows a set of classes, interfaces and collaborations and their relationships. Static view of a system.
State Chart Diagrams Shows a state machine, consisting of states, transitions, events and activities. Address the dynamic view of a system.
State Chart Diagram for HacsController
State Chart Diagram for AddRemoveApp
State Chart Diagram for BathTubController
State Chart Diagram for ThermostatController
State Chart Diagram for SprinklerController
Activity Diagram Shows the flow from activity to activity within a system. Dynamic view of the system.
Activity Diagram for HacsController
Activity Diagram for AddRemoveApp
Activity Diagram for BathTubController
Activity Diagram for SprinklerController
Activity Diagram for ThermostatController
Package Diagram Package – A general purpose mechanism for organizing elements into groups. Static view of the system. Purely conceptual.
Component Diagram Shows the organizations and dependencies among a set of components Static implementation view of the system.
Deployment Diagram Shows the configuration of run-time processing nodes and the components that live on them. Addresses static deployment view.
Implementation Planning to implement using J2EE. JSP, HTML for providing the visual interfaces for the user. Servlets, Beans Cloudscape - database.