# UML


## Infrastructure
``` 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()


    }

}
```

