Added documentation infrastructure uml
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
``` mermaid
|
||||
classDiagram
|
||||
|
||||
Node --> Raspberry pi : postData
|
||||
|
||||
Node --> Raspberry pi : Websocket
|
||||
Raspberry pi --> Website : getData
|
||||
Raspberry pi <--> EnqueteNode : Websocket
|
||||
|
||||
namespace Server {
|
||||
class Raspberry pi {
|
||||
Database()
|
||||
Webserver()
|
||||
|
||||
Websocket()
|
||||
|
||||
}
|
||||
class Node {
|
||||
@@ -22,7 +23,39 @@ namespace Server {
|
||||
+Tfok
|
||||
+Sound
|
||||
collectData()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace User {
|
||||
class Website {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
+Graph
|
||||
+Map
|
||||
+Settings
|
||||
GetData()
|
||||
}
|
||||
class EnqueteNode {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
+Graph
|
||||
+Map
|
||||
+QuestionResponse
|
||||
EnqueteDisplay()
|
||||
EnqueteButtons()
|
||||
GetData()
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user