forked from petomat/ZIOModbus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathServiceLayers.puml
33 lines (30 loc) · 1.53 KB
/
ServiceLayers.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@startuml
package "Serial Port Service" as SPS {
component SerialPortService<<Interface>>
component JSerialCommSerialPortService<<Implementation>>
JSerialCommSerialPortService -u-|> SerialPortService : implements
() "Factory" as SPF
JSerialCommSerialPortService -r- SPF
}
package "Modbus Request Response Service" as MRRS {
component "ModbusRequestResponseService[ModbusProtocol]" as ModbusRequestResponseService <<Interface>>
component "DefaultModbusRequestResponseService[ModbusProtocol]" as DefaultModbusRequestResponseService <<Implementation>>
DefaultModbusRequestResponseService -u-|> ModbusRequestResponseService : implements
() "Factory" as DMRRSF
DefaultModbusRequestResponseService -r- DMRRSF
DefaultModbusRequestResponseService ..> SerialPortService : depends on
}
package "Modbus Registers Service" as MRS {
component ModbusRegistersService<<Interface>>
component DefaultModbusRegistersService<<Implementation>>
component GroupingModbusRegistersService<<Implementation>>
DefaultModbusRegistersService -u-|> ModbusRegistersService : implements
GroupingModbusRegistersService -u-|> ModbusRegistersService : implements
() "Factory" as DMRSF
DefaultModbusRegistersService -r- DMRSF
DefaultModbusRegistersService ..> ModbusRequestResponseService : depends on \nModbusRequestResponseService[**RWModbusProtocol**]
() "Factory" as GMRSF
GroupingModbusRegistersService -r- GMRSF
GroupingModbusRegistersService ..> ModbusRequestResponseService : depends on \nModbusRequestResponseService[**RWModbusProtocol**]
}
@enduml