2023-04-04 10:56:27 +02:00
|
|
|
@startuml Class Diagram
|
|
|
|
|
|
|
|
|
|
|
|
Class API {
|
|
|
|
- user: String
|
|
|
|
- password: String
|
|
|
|
- serveurHost: String
|
|
|
|
- https: bool
|
|
|
|
- client: WiFiEspClient*
|
|
|
|
- connect(): bool
|
|
|
|
+ API(user: String, password: String, host: String, https: bool = true)
|
|
|
|
+ wifiBegin(wifiId: String, wifiPass: String, espSerial: Stream*): bool
|
|
|
|
+ sendValue(val: String, pouvelleID: String, unit: String, full: bool): bool
|
|
|
|
}
|
|
|
|
|
|
|
|
Class Program {
|
2023-04-04 10:57:46 +02:00
|
|
|
+ Program()
|
2023-04-04 10:56:27 +02:00
|
|
|
+ setup()
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@enduml
|