Update infrasturcture.md to make mermaid work
This commit is contained in:
@@ -25,58 +25,59 @@ At the lowest level of our system we are showing how the software is designed. T
|
|||||||
``` mermaid
|
``` mermaid
|
||||||
classDiagram
|
classDiagram
|
||||||
|
|
||||||
Node --> Raspberry pi : Websocket
|
Node --> Raspberry pi : Websocket
|
||||||
Raspberry pi --> Website : getData
|
Raspberry pi --> Website : getData
|
||||||
Raspberry pi <--> EnqueteNode : Websocket
|
Raspberry pi <--> EnqueteNode : Websocket
|
||||||
|
|
||||||
namespace Server {
|
namespace Server {
|
||||||
class Raspberry pi {
|
class Raspberry pi {
|
||||||
+MariaDB
|
+MariaDB
|
||||||
+Apache2
|
+Apache2
|
||||||
+Python
|
+Python
|
||||||
Database()
|
Database()
|
||||||
Webserver()
|
Webserver()
|
||||||
Websocket()
|
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()
|
|
||||||
|
|
||||||
|
}
|
||||||
|
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