exercise 5 done, please check

This commit is contained in:
Claudio Maggioni 2023-03-19 18:40:30 +01:00
parent 742dc1a789
commit eed426d4d7
2 changed files with 29 additions and 3 deletions

28
src/sa/model/context.puml Normal file
View file

@ -0,0 +1,28 @@
@startuml
!include <C4/C4_Container>
Person(user_s, "User", "")
Person(user_p, "System administrator", "could be also power user/tinkerer")
System_Boundary(boundary, "SmartHut") {
}
System_Ext(smartdevice, "Smart Device")
System_Ext(sensor, "Smart Sensor")
Rel(user_s, boundary, "Controls smart devices")
Rel(boundary, user_s, "Informs of device status")
Rel(user_p, boundary, "Installs and maintains")
Rel(boundary, user_p, "Reports performance metrics")
Rel(boundary, smartdevice, "Checks if alive")
Rel(boundary, smartdevice, "Controls", "device state, settings")
Rel(smartdevice, boundary, "Transmits state")
Rel(boundary, sensor, "Checks if alive")
Rel(sensor, boundary, "Transmits measurements", "temperature, light, humidity")
@enduml

View file

@ -443,8 +443,6 @@ Here is a list of features included in the existing application. All other featu
- x66-64 linux - x66-64 linux
- docker-compose script - docker-compose script
- v2.4 - v2.4
![Feature Model Diagram](./features.fml1) ![Feature Model Diagram](./features.fml1)
@ -468,7 +466,7 @@ Exceed: >1 User and >1 Dependency, with both incoming and outgoing dependencies
} }
![Context Diagram](./context.puml)
# Ex - Component Model: Top-Down # Ex - Component Model: Top-Down