From 96a246f1b1b4ef2b5740000692519006097c8d30 Mon Sep 17 00:00:00 2001 From: Sebastian Peter Date: Tue, 12 Nov 2024 20:40:19 +0100 Subject: [PATCH] Some small fixes --- docs/uml/main/ExtEvSimulationClasses.puml | 29 +++++++++++------------ 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/uml/main/ExtEvSimulationClasses.puml b/docs/uml/main/ExtEvSimulationClasses.puml index f4652d28eb..500f1a8ea2 100644 --- a/docs/uml/main/ExtEvSimulationClasses.puml +++ b/docs/uml/main/ExtEvSimulationClasses.puml @@ -22,7 +22,7 @@ package simona-api { + void setup(ExtSimAdapterData data, List adapters) + void run() # {abstract} Optional doActivity(long tick) - # {abstract} Long intitialize() + # {abstract} Long initialize() } ExtSimulation --r> ExtData MobilitySim -|> ExtSimulation @@ -71,7 +71,7 @@ package simona-api { + void queueExtResponseMsg(EvDataResponseMessageToExt extEvResponse) } - node sub2{ + node sub2 { interface EvDataMessageFromExt interface DataMessageFromExt @@ -95,20 +95,20 @@ package simona-api { ExtEvData --u|> ExtData ExtEvSimulation -u> ExtEvData - node sub1{ + node sub1 { interface DataResponseMessageToExt interface EvDataResponseMessageToExt - class ProvideCurrentPrices{ + class ProvideCurrentPrices { + Map prices } - class ProvideDepartingEvs{ + class ProvideDepartingEvs { + List departedEvs } - class ProvideEvcsFreeLots{ + class ProvideEvcsFreeLots { + Map evcs } @@ -116,7 +116,7 @@ package simona-api { ProvideDepartingEvs --|> EvDataResponseMessageToExt ProvideCurrentPrices --|> EvDataResponseMessageToExt ExtEvData --> EvDataResponseMessageToExt - EvDataResponseMessageToExt --|> DataResponseMessageToExt + EvDataResponseMessageToExt --|> DataResponseMessageToExt } node sub3 { @@ -155,18 +155,17 @@ package simona { interface SecondaryData - class ArrivingEvs{ - + arrivals Seq[EvModelWrapper] + class ArrivingEvs { + + arrivals: Seq[EvModelWrapper] } - class DepartingEvsRequest{ - + evcs UUID - + evModels Seq[EvModelWrapper] + class DepartingEvsRequest { + + evcs: UUID + + departingEvs: Seq[EvModelWrapper] } - class EvFreeLotsRequest{ - + evcs: UUID, - + freeLots: Int, + class EvFreeLotsRequest { + + freeLots: Int } abstract EvData