You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
```mermaid classDiagram class AppEventBusService { + regListener(AppEventListener listener) + pushEvent(AppEvent appEvent) - eventBusSchedule() - callOnEvent(AppEvent appEvent) } AppEventBusService --> Thread AppEventBusService --> BlockingQueue AppEventBusService "1" --> "*" AppEventListener AppEventListener --> AppEvent A8kCanBusOnConnectEvent --|> AppEvent AppTubeholderSettingUpdateEvent --|> AppEvent A8kHardwareReport --|> AppEvent A8kCanBusOnConnectEvent --|> AppEvent AppIDCardMountEvent --|> AppEvent AppIDCardUnmountEvent --|> AppEvent AppPromptEvent --|> AppEvent AppWarningNotifyEvent --|> AppEvent DoA8kStepActionEvent --|> AppEvent
```
```mermaid flowchart TD BEGIN(开始) --容器初始化完成--> A[初始化事件处理线程] A --> B{阻塞消息队列存在待处理消息} B --Y--> C[遍历消息处理器调用消息处理器处理消息] B --N--> B C --> B ```
```mermaid --- title 设备状态与应用事件更新 --- classDiagram class AppWebSocketEndpointMgr { - broadcastEvent() - broadcastState() %% 上报应用事件 + reportEvent() %% 上报设备状态 + reportDeviceState() %% 上报Session状态 + reportSessionState() %% 上报耗材状态 + reportConsumableStateState() } class AppStateWebsocketEndpoint class AppEventWebsocketEndpoint class FrontEndMessageBoxAndEventMgr class DeviceWorkStateMgrService class GStateMgrService class TubeStateMgrService class IncubationPlateStateMgrService class OptScanModuleStateMgrService class ConsumablesMgrService class TubeHolderSettingMgrService class Report AppStateWebsocketEndpoint --> AppWebSocketEndpointMgr AppEventWebsocketEndpoint --> AppWebSocketEndpointMgr AppWebSocketEndpointMgr --> FrontEndMessageBoxAndEventMgr AppWebSocketEndpointMgr --> DeviceWorkStateMgrService AppWebSocketEndpointMgr --> GStateMgrService AppWebSocketEndpointMgr --> TubeStateMgrService AppWebSocketEndpointMgr --> IncubationPlateStateMgrService AppWebSocketEndpointMgr --> OptScanModuleStateMgrService AppWebSocketEndpointMgr --> ConsumablesMgrService AppWebSocketEndpointMgr --> TubeHolderSettingMgrService ```
|