View Full Document

30 views

Unformatted text preview:

HOME APPLIANCE CONTROL SYSTEM HOME APPLIANCE CONTROL SYSTEM OOAD PROJECT PHASE I APARNA NANDAKUMAR http utdallas edu axn045000 SHARAYU PATIL http utdallas edu smp032000 PRASHANTHI KARNATI http utdallas edu pxk045000 1 HOME APPLIANCE CONTROL SYSTEM 1 TABLE OF CONTENTS 1 Introduction 3 2 Project Overview 3 0 USE CASE DIAGRAM 4 3 1 USE CASE DESCRIPTION 5 3 1 1 Use Case Name Authentication 7 3 1 1 1 Sequence diagram 6 3 1 1 2 Collaboration Diagram 3 1 2 Use Case Name Logout 7 3 1 2 1 Sequence diagram 7 3 1 2 2 Collaboration Diagram 8 3 1 3 Use Case Name HACS Appliance Controller 8 3 1 3 1 Sequence diagram 9 3 1 3 2 Collaboration Diagram 9 3 1 4 Use Case Name Operate Microwave 9 3 1 4 1 Sequence diagram 10 3 1 4 2 Collaboration Diagram 10 3 1 5 Use Case Name Cook Warm Defrost 11 3 1 5 1 Sequence diagram 3 1 5 2 Collaboration Diagram 12 3 1 6 Use Case Name Operate Sprinkler 12 3 1 6 1 Sequence diagram 13 3 1 6 2 Collaboration Diagram 13 3 1 7 Use Case Name On Off Sprinkler 13 3 1 7 1 Sequence diagram 14 3 1 7 2 Collaboration Diagram 15 3 1 8 Use Case Name Operate Pet Feeder 15 3 1 8 1 Sequence diagram 3 1 8 2 Collaboration Diagram 3 1 9 Use Case Name Set Time Pet Feeder 17 3 1 9 1 Sequence diagram 17 3 1 9 2 Collaboration Diagram 18 3 1 10 Use Case Name Select Appliance List 18 3 1 10 1 Sequence diagram 19 3 1 10 2 Collaboration Diagram 20 3 1 11 Use Case Name Select Cancel Appliance Operation 20 3 1 11 1 Sequence diagram Select Appliance Operation 21 3 1 11 2 Collaboration Diagram Select Appliance Operation 21 3 1 11 3 Sequence diagram Cancel Appliance Operation 3 1 11 4 Collaboration Diagram Cancel Appliance Operation 3 1 12 Use Case Name Get Status 23 3 1 12 1 Sequence diagram 23 2 HOME APPLIANCE CONTROL SYSTEM 3 1 12 2 Collaboration Diagram 24 3 1 13 Use Case Name Add Appliance 24 3 1 13 1 Sequence diagram 25 3 1 13 2 Collaboration Diagram 25 3 1 14 Use Case Name Remove Appliance 26 3 1 14 1 Sequence diagram 27 3 1 14 2 Collaboration Diagram 27 3 1 15 Use Case Name Add Appliance Operation 27 3 1 15 1 Sequence diagram 28 3 1 15 2 Collaboration Diagram 28 3 1 16 Use Case Name Remove Appliance Operation 29 3 1 16 1 Sequence diagram 29 3 1 16 2 Collaboration Diagram 30 3 1 17 Use Case Name Add User 30 3 1 17 1 Sequence diagram 31 3 1 17 2 Collaboration Diagram 31 3 1 18 Use Case Name Delete User 31 3 1 18 1 Sequence diagram 32 3 1 18 2 Collaboration Diagram 4 SYSTEM ANALYSIS USING CRC CARDS 33 4 1 HACS USER CRC Card 33 4 2 HACS appliance controller CRC Card 33 4 3 SYSTEM ADMIN CRC Card 34 4 4 MICROWAVE CRC Card 34 4 5 SPRINKLER CRC Card 35 4 6 PET FEEDER CRC Card 35 5 CLASS DIAGRAM 36 5 1 Class Diagram Description 37 5 1 1 HACS User 37 5 1 2 HACS Appliance Controller 37 5 1 3 System Admin 5 1 4 Microwave 38 5 1 5 Sprinkler 38 5 1 6 Pet Feeder 39 3 HOME APPLIANCE CONTROL SYSTEM HOME APPLIANCE CONTROL SYSTEM 1 Introduction A home appliance control system HACS is a system which provides various services to remote systems such as a mobile phone desktop and palm top to control monitor and coordinate home appliances such as microwave oven entertainment system security system air conditioning system Sprinklers Pet Feeder etc The HACS system is illustrated below This document furnishes the Use Case diagrams Class diagrams Sequence diagrams and Collaboration diagrams for the Home Appliance Control System using UML 4 HOME APPLIANCE CONTROL SYSTEM 2 Project Overview The Home appliance control system is controlled either by a cell phone or a by palm top or by a PC It controls various appliance such as a microwave sprinklers etc The HACS system receives signals from the user either through wireless application protocol WAP or through Internet The system in turn gives command to respective appliances The system administrator of the HACS system has the ability to add or delete a new appliance and its operations Also the system administrator can add or delete user The user can give commands to existing device get the status of a device and set the operation of a specific appliance For example if the user wants to operate Microwave then he can give commands like Cook Warm or Defrost If the user wants to change his previously specified operation for a particular appliance he simply proceeds with his request The HACS system in turn stops the current ongoing operation and processes the new request The HACS system is highly adaptable to changes in environment For example user can request through system administrator to add a new device to the existing system He can operate the system using various remote devices for example when he is out of the house he can use a cell phone when at home he can use a simple remote or there will be one remote system near each family member 3 Use Case Diagram Use case diagrams are central to modeling the behavior of the system It shows a set of use cases and actors and their relationships The following figure shows the use case diagram of the HACS system from the end user point of view 5 HOME APPLIANCE CONTROL SYSTEM These are the options provided to the User Cook Select Appliance List Warm Select Appliance Operations Operate Microwave Defrost Cancel Appliance Operation User Get Staus On Off Authentication The user needs to enter LoginInfo to get access to the system Logout HACSApplianceController Operate Sprinkler Set Sprinkler Add Appliance Remove Appliance Feed SystemAdmin Add Device Operation Operate Pet Feeder The user can be a customer who logs on using laptop mobile etc or a system administrator Delete Device Operation Set Time Add User Delete User These are the options provided to the system Admin after login 6 HOME APPLIANCE CONTROL SYSTEM 3 1 Use Case Description 3 1 1 Use Case Name Authentication Flow of events Precondition User needs a valid user name and password to logon to the HACS system Main Flow This use case takes in the user name and password and checks for its validity o After validation the HACS Appliance Controller establishes a session between the remote user and the system Exceptional flow If the validation fails it sends a message and asks the user to re enter the user name and password Post condition A session is established for the authenticated user 3 1 1 1 Sequence Diagram Authentication HacsUser HacsSystem Database login username password Query Database validateUser Provide Main Menu displayMainMenu 7 HOME APPLIANCE CONTROL SYSTEM 3 1 1 2 …


Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view HOME APPLIANCE CONTROL SYSTEM and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view HOME APPLIANCE CONTROL SYSTEM and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?