-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from RobertGawron/feature/use_docker
add more uml diagrams
- Loading branch information
Showing
9 changed files
with
48 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@startuml | ||
actor User | ||
|
||
participant "Main" as Main | ||
participant "Application Builder" as AppBuilder | ||
participant "Clock Configurator" as Clock | ||
participant "Timer Configurator" as Timer | ||
participant "Logger" as Logger | ||
participant "Measurement Collector" as MeasurementCollector | ||
participant "Measurement Frame" as Frame | ||
participant "Voltage Sensor" as Voltage | ||
|
||
User -> Main : Power on the device | ||
Main -> AppBuilder : ApplicationBuilder_Init() | ||
AppBuilder -> Clock : ClockConfigurator_Init() | ||
AppBuilder -> Timer : TimerConfigurator_Init() | ||
AppBuilder -> Logger : Logger_Init() | ||
AppBuilder -> UI : UserInterface_Init() | ||
AppBuilder -> Voltage : VoltageSensorActualValue_Init() | ||
AppBuilder -> MeasurementCollector : MeasurementCollector_Init() | ||
|
||
AppBuilder -> UI : UserInterface_ShowMessage(USER_INTERFAE_STATE_OK_MSG) | ||
|
||
== Main Loop == | ||
Main -> AppBuilder : ApplicationBuilder_Run() | ||
loop Wait for interrupt and process | ||
Main -> AppBuilder : ApplicationBuilder_Tick() | ||
AppBuilder -> MeasurementCollector : MeasurementCollector_Tick() | ||
MeasurementCollector -> Voltage : VoltageSensorActualValue_GetConfiguration() | ||
MeasurementCollector -> Voltage : VoltageSensorActualValue_MeasureValue() | ||
Voltage -> MeasurementCollector : Measurement Data | ||
MeasurementCollector -> Frame : MeasurementFrame_Create(configuration, data) | ||
MeasurementCollector -> Frame : MeasurementFrame_Send(callback) | ||
|
||
Frame -> Logger : Logger_Print(data) | ||
Logger --> Frame : Acknowledge | ||
|
||
AppBuilder -> UI : UserInterface_Tick() | ||
end | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters