Skip to content

Commit

Permalink
Some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-peter committed Nov 12, 2024
1 parent e7c3baa commit 96a246f
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions docs/uml/main/ExtEvSimulationClasses.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package simona-api {
+ void setup(ExtSimAdapterData data, List<ExtData> adapters)
+ void run()
# {abstract} Optional<Long> doActivity(long tick)
# {abstract} Long intitialize()
# {abstract} Long initialize()
}
ExtSimulation --r> ExtData
MobilitySim -|> ExtSimulation
Expand Down Expand Up @@ -71,7 +71,7 @@ package simona-api {
+ void queueExtResponseMsg(EvDataResponseMessageToExt extEvResponse)
}

node sub2{
node sub2 {
interface EvDataMessageFromExt

interface DataMessageFromExt
Expand All @@ -95,28 +95,28 @@ package simona-api {
ExtEvData --u|> ExtData
ExtEvSimulation -u> ExtEvData

node sub1{
node sub1 {
interface DataResponseMessageToExt

interface EvDataResponseMessageToExt

class ProvideCurrentPrices{
class ProvideCurrentPrices {
+ Map<UUID, Double> prices
}

class ProvideDepartingEvs{
class ProvideDepartingEvs {
+ List<EvModel> departedEvs
}

class ProvideEvcsFreeLots{
class ProvideEvcsFreeLots {
+ Map<UUID, Integer> evcs
}

ProvideEvcsFreeLots --|> EvDataResponseMessageToExt
ProvideDepartingEvs --|> EvDataResponseMessageToExt
ProvideCurrentPrices --|> EvDataResponseMessageToExt
ExtEvData --> EvDataResponseMessageToExt
EvDataResponseMessageToExt --|> DataResponseMessageToExt
EvDataResponseMessageToExt --|> DataResponseMessageToExt
}

node sub3 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 96a246f

Please sign in to comment.