kris horn santhoshi smitha thota uday chandra karrotthi
Post on 27-Dec-2015
224 Views
Preview:
TRANSCRIPT
Introduction to HACS
• What is HACS?– Acronym for Home Appliance Control System
– Integrates wireless devices and home appliances
• Purpose of HACS– Enables users to remotely control home
appliances using their wireless devices
SAVES TIME & RESOURCES!!!
Overview of HACS (contd.)
• It is a system controlled by remote devices like:– Cell phones
– PDAs
– Palm tops
– Laptops etc.
• In turn it controls, monitors and co-ordinates home appliances like:– Air conditioner
– Alarm
– Oven
– TV etc.
Why HACS will work
1. Two places at once
2. Saves time
3. Save money (Long run)
4. Self Maintenance
5. Laziness
Assumptions
• User can operate computer, WAP enabled mobile phone, or a PDA.
• Servers are always on.
• Communication Link.
• Appliance are assumed to be on and in working condition.
Use Cases (contd.)
LogInUser
SetParameters
SetMode
CheckApplianceStatus
ConfigureAppliance
ManageAppliances
ManageUsers
AlarmAlert
Owner Administrator
FireDept
Interaction Diagrams
• Model the dynamic aspects of a system. • Show the interaction of any kind of instance in any
view of a system’s • Architecture (classes, interfaces, components, and
nodes).• Model the system as a whole.• Are attached to use cases to model a scenario
Sequence diagram• Emphasizes time ordering of messages.• Depicts the lifeline of objects.
Collaboration diagram• Emphasizes structural organization.• Potentially easier to model complex interactions
Statechart Diagram
• Shows a state machine, consisting of states, transitions, events, and activities.
• Represents the dynamic view of a system.
• Models the behavior of an interface, class or collaboration.
• Emphasize the event-ordered behavior.
• Useful for reactive systems.
1. Whole System
Idle
Processing
Sending Signal
start receive signal
send signal
shut down
Statechart Diagram (contd.)
2. Hacs Controller
idle
Processing
start
Dispaly Status
status operation
updating appliance
set operation
receive signal
shut down
Statechart Diagram (contd.)
3. Microwave OvenCooking
Sending
Idle
getStatus
start
switchOff
notifyCompletion
startCooking
setParameterorMode
switchOff
notifyCompletion
Statechart Diagram (contd.)
4. Air Conditioner
idle
start
cool
heat
sending statutsnotificationComplete
switchOff
switchOff
switchOff
getStatus
tempLow
tempUpsetParameterorMode
Statechart Diagram (contd.)
5. Fire Alarm
idle
start
stop
checkStatus alert
detectFire
switchOffAppliances
Statechart Diagram (contd.)
Activity Diagram
Login
Select Appliance
View Status
[satisfied]
[else]
[else]
Set Parameter 1
Set Parameter 2 ....
logout
[exit]
Component Diagram
Bluetooth
Appliance<<class>>
Air_Conditioner<<class>>
Oven<<class>>
Fire_Alarm<<class>>
User<<class>>
Owner<<class>>
Administrator<<class>>
HACS<<class>>
Allows HACS to communicate with the appliances
Deployment Diagram
HACS Application Server
HACS Web Server
Oven appliance
Fire Alarm Appliance
Air Conditioner Appliance
Allows users to access HACS
Allows HACS to access the appliances
top related