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 A8kConsumableContainer class TipContainer { } class ReactionPlateContainer { } class LittBottleContainer { public Integer projId; //项目ID public String projName; //项目名称 public String projShortName;//项目缩写名称 public LittleBottleConsumableType type; public String lotId = ""; //批次号 public String color = ""; //颜色 public Integer num = 0; public Integer reserveNum = 0; public Boolean isInstall = false; } class LarBottleContainer A8kConsumableContainer "1" --> "3" TipContainer A8kConsumableContainer "1" --> "6" ReactionPlateContainer A8kConsumableContainer "1" --> "6" LittBottleContainer A8kConsumableContainer "1" --> "6" LarBottleContainer class ConsumablesMgrService { + unInstallConsumable() // 卸载耗材 + useReserveConsumable() // 使用耗材 + reserveConsumable() // 预留耗材 } ConsumablesMgrService --> A8kConsumableContainer class ConsumableInfo { public String lotid; public ConsumableGroup group; // 耗材组 public Integer pos; // 当前耗材信息属于哪个耗材组 } ```
```mermaid --- title: 耗材扫描时序图 --- sequenceDiagram actor user participant ConsumableScanControler participant AppConsumablesScanService participant GStateMgrService participant ConsumablesScanCtrlService user->>+ConsumableScanControler: 开始扫描 AppConsumablesScanService->>+GStateMgrService: isDeviceInited GStateMgrService->>-AppConsumablesScanService: 设备初始化结果 alt 未初始化 ConsumableScanControler->>+AppConsumablesScanService: scanConsumables AppConsumablesScanService->>-ConsumableScanControler: 抛出系统未初始化异常 else 初始化完成 AppConsumablesScanService->>+ConsumablesScanCtrlService: doScanConsumablesAction ConsumablesScanCtrlService->>-AppConsumablesScanService: scanRawResults原始扫描结果 loop 遍历扫描结果 AppConsumablesScanService->>+AppConsumablesScanService: parseScanResult AppConsumablesScanService->>-AppConsumablesScanService: 解析后的结果 end loop 遍历解析后的扫描结果 AppConsumablesScanService->>+AppConsumablesScanService: loadingConsumables AppConsumablesScanService->>-AppConsumablesScanService: 解析后的结果 end ConsumableScanControler->>+AppConsumablesScanService: scanConsumables AppConsumablesScanService->>-ConsumableScanControler:result end ConsumableScanControler->>-user:ConsumablesScanResultPacket ```
|