infra docu
This commit is contained in:
@@ -21,3 +21,62 @@ In the middel layer we are showing the data flow and processing of the data at c
|
|||||||
### UML diagram of software
|
### UML diagram of software
|
||||||
|
|
||||||
At the lowest level of our system we are showing how the software is designed. This is shown as a UML diagram. The diagram is made with mermaid. This shows the work flow of the different parts of the software which is running on the main server, for which we are using a Raspberry pi. The pi is located on the 6th floor of the school building in a locked server room.
|
At the lowest level of our system we are showing how the software is designed. This is shown as a UML diagram. The diagram is made with mermaid. This shows the work flow of the different parts of the software which is running on the main server, for which we are using a Raspberry pi. The pi is located on the 6th floor of the school building in a locked server room.
|
||||||
|
|
||||||
|
``` mermaid
|
||||||
|
classDiagram
|
||||||
|
|
||||||
|
Node --> Raspberry pi : Websocket
|
||||||
|
Raspberry pi --> Website : getData
|
||||||
|
Raspberry pi <--> EnqueteNode : Websocket
|
||||||
|
|
||||||
|
namespace Server {
|
||||||
|
class Raspberry pi {
|
||||||
|
+MariaDB
|
||||||
|
+Apache2
|
||||||
|
+Python
|
||||||
|
Database()
|
||||||
|
Webserver()
|
||||||
|
Websocket()
|
||||||
|
|
||||||
|
}
|
||||||
|
class Node {
|
||||||
|
+Co2
|
||||||
|
+Temperature
|
||||||
|
+Humidity
|
||||||
|
+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