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.
2.9 KiB
2.9 KiB
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; // 当前耗材信息属于哪个耗材组
}
---
title: 耗材扫描时序图
---
sequenceDiagram
actor user
participant ConsumableScanControler
participant AppConsumablesScanService
participant GStateMgrService
participant ConsumablesScanCtrlService
user->>+ConsumableScanControler: 开始扫描
ConsumableScanControler->>+AppConsumablesScanService: scanConsumables
AppConsumablesScanService->>+GStateMgrService: isDeviceInited
GStateMgrService->>-AppConsumablesScanService: 设备初始化结果
alt 未初始化
AppConsumablesScanService->>-ConsumableScanControler: 抛出系统未初始化异常
else
AppConsumablesScanService->>+ConsumablesScanCtrlService: doScanConsumablesAction
ConsumablesScanCtrlService->>-AppConsumablesScanService: scanRawResults原始扫描结果
loop 遍历扫描结果
AppConsumablesScanService->>+AppConsumablesScanService: parseScanResult
AppConsumablesScanService->>-AppConsumablesScanService: 解析后的结果
end
loop 遍历解析后的扫描结果
AppConsumablesScanService->>+AppConsumablesScanService: loadingConsumables
AppConsumablesScanService->>-AppConsumablesScanService: 解析后的结果
end
AppConsumablesScanService->>-ConsumableScanControler:ConsumablesScanResultPacket
end
ConsumableScanControler->>-user:ConsumablesScanResultPacket