diff --git a/src/sa/model/context.puml b/src/sa/model/context.puml new file mode 100644 index 0000000..111950a --- /dev/null +++ b/src/sa/model/context.puml @@ -0,0 +1,28 @@ +@startuml +!include + +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 \ No newline at end of file diff --git a/src/sa/model/index.md b/src/sa/model/index.md index f7f5b89..13875fb 100644 --- a/src/sa/model/index.md +++ b/src/sa/model/index.md @@ -443,8 +443,6 @@ Here is a list of features included in the existing application. All other featu - x66-64 linux - docker-compose script - v2.4 - - ![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