Compare commits

..

No commits in common. "db6ce1973a9a501f628c1a773643cf0f1ef9cf14" and "a5a0b094a39f317809898a8236c5272081b3a44c" have entirely different histories.

4 changed files with 5 additions and 146 deletions

View File

@ -1,74 +0,0 @@
---
puppeteer:
landscape: false
format: "A4"
timeout: 3000
export_on_save:
puppeteer: true
---
```plantuml
@startuml
!include https://deep-tek.com/puml/core.puml
class Satellite {
-String satelliteId
-String type
-Angle position
-double height
+setPosition
}
class StandardSatellite {
-int speed
-int getFileSpeed
}
class ShrinkingSatellite {
-int speed
-int getFileSpeed
}
class RelaySatellite {
-int speed
-int getFileSpeed
}
Satellite <|- StandardSatellite
Satellite <|- ShrinkingSatellite
Satellite <|- RelaySatellite
class Device {
-String deviceId
-String type
-Angle position
+setPosition
}
class BlackoutController {
-List<String> deviceList
-List<String> satelliteList
-List<String> fileSendingList
-Map<String, Device> deviceMap
-Map<String, Satellite> satelliteMap
-Map<String, EntityInfoResponse> map
+void createDevice(String deviceId, String type, Angle position)
+void removeDevice(String deviceId)
+void createSatellite(String satelliteId, String type, double height, Angle position)
+void removeSatellite(String satelliteId)
+List<String> listDeviceIds()
+List<String> listSatelliteIds()
+void addFileToDevice(String deviceId, String filename, String content)
+EntityInfoResponse getInfo(String id)
+void simulate()
+List<String> communicableEntitiesInRange(String id)
+void sendFile(String fileName, String fromId, String toId)
}
Device - Satellite : sendFile >
Satellite - Device : sendFile >
Device <|.. BlackoutController
Satellite <|.. BlackoutController
@enduml
```

View File

@ -1,62 +0,0 @@
@startuml
!include https://deep-tek.com/puml/core.puml
class Satellite {
-String satelliteId
-String type
-Angle position
-double height
+setPosition
}
class StandardSatellite {
-int speed
-int getFileSpeed
}
class ShrinkingSatellite {
-int speed
-int getFileSpeed
}
class RelaySatellite {
-int speed
-int getFileSpeed
}
Satellite <|- StandardSatellite
Satellite <|- ShrinkingSatellite
Satellite <|- RelaySatellite
class Device {
-String deviceId
-String type
-Angle position
+setPosition
}
class BlackoutController {
-List<String> deviceList
-List<String> satelliteList
-List<String> fileSendingList
-Map<String, Device> deviceMap
-Map<String, Satellite> satelliteMap
-Map<String, EntityInfoResponse> map
+void createDevice(String deviceId, String type, Angle position)
+void removeDevice(String deviceId)
+void createSatellite(String satelliteId, String type, double height, Angle position)
+void removeSatellite(String satelliteId)
+List<String> listDeviceIds()
+List<String> listSatelliteIds()
+void addFileToDevice(String deviceId, String filename, String content)
+EntityInfoResponse getInfo(String id)
+void simulate()
+List<String> communicableEntitiesInRange(String id)
+void sendFile(String fileName, String fromId, String toId)
}
Device - Satellite : sendFile >
Satellite - Device : sendFile >
Device <|.. BlackoutController
Satellite <|.. BlackoutController
@enduml

View File

@ -4,7 +4,7 @@ puppeteer:
format: "A4" format: "A4"
timeout: 3000 timeout: 3000
export_on_save: export_on_save:
puppeteer: true puppeteer: true
--- ---
[TOC] [TOC]
@ -71,13 +71,10 @@ export_on_save:
``` ```
# 时序图-相对路径2 # 时序图-相对路径2
```plantuml align="center"} ```plantuml
@startuml @startuml
!include ../puml/core.puml !include ../puml/core.puml
scale max 800 width
scale max 800 height
用户 -> 认证中心: 登录操作2 用户 -> 认证中心: 登录操作2
认证中心 -> 缓存: 存放(key=token+ip,value=token)token 认证中心 -> 缓存: 存放(key=token+ip,value=token)token

View File

@ -1,10 +1,8 @@
--- ---
puppeteer: puppeteer:
landscape: false landscape: false format: "A4"
format: "A4" timeout: 3000 export_on_save:
timeout: 3000 puppeteer: true
export_on_save:
puppeteer: true
--- ---
# 时序图 # 时序图