Add Quick draft of some UML to help conceptualize the Architecture a bit better.

This commit is contained in:
Matthew Colvin 2023-08-11 12:50:28 -05:00 committed by MatthewColvin
parent a771c64c71
commit 6bbc0e5e5d
2 changed files with 40 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -0,0 +1,40 @@
@startuml
' KEY
' --> : is a
' *-- : must have
' o-- : should have
namespace HAL{
interface BatteryInterface
interface WifiInterface
interface OtherHWInterface
abstract HardwareAbstract
HardwareAbstract o-- BatteryInterface
HardwareAbstract o-- WifiInterface
HardwareAbstract o-- OtherHWInterface
}
namespace Simulator{
class BatterySimulator
class WifiSimulator
BatterySimulator --> HAL.BatteryInterface
WifiSimulator --> HAL.WifiInterface
}
namespace ESP32{
class Battery
class WifiHandler
Battery --> HAL.BatteryInterface
WifiHandler --> HAL.WifiInterface
}
namespace UI {
class OmoteUI
OmoteUI *-- HAL.HardwareAbstract
}
@enduml