|
|
@ -1,10 +1,8 @@ |
|
|
|
package a8k.service.appstate; |
|
|
|
|
|
|
|
import a8k.service.appdevicectrl.type.A8kEcodeContext; |
|
|
|
import a8k.service.appdevicectrl.type.app_consumables_mgr_service.ConsumableState; |
|
|
|
import a8k.service.appstate.type.*; |
|
|
|
import a8k.service.appstate.type.state.A8kWorkState; |
|
|
|
import a8k.service.bak_appbase.progress.TubeHolderProgress; |
|
|
|
import a8k.type.tube_setting.TubeHolderSetting; |
|
|
|
import lombok.Data; |
|
|
|
import org.slf4j.Logger; |
|
|
@ -19,8 +17,6 @@ import java.util.List; |
|
|
|
public class AppA8kGStateService { |
|
|
|
public static final Logger logger = LoggerFactory.getLogger(AppA8kGStateService.class); |
|
|
|
|
|
|
|
public TubeHolderProgress tubeHolderProgress = TubeHolderProgress.Idle; |
|
|
|
|
|
|
|
//温度 |
|
|
|
Integer temperature = 25; |
|
|
|
//设备是否初始化过 |
|
|
@ -28,7 +24,6 @@ public class AppA8kGStateService { |
|
|
|
//设备工作状态标识位 |
|
|
|
A8kWorkState workState = A8kWorkState.IDLE; // |
|
|
|
|
|
|
|
|
|
|
|
//当前正在被处理的试管架状态 |
|
|
|
TubeHolderState tubeHolderState = new TubeHolderState(); |
|
|
|
//急诊为状态 |
|
|
@ -40,10 +35,11 @@ public class AppA8kGStateService { |
|
|
|
// |
|
|
|
|
|
|
|
//耗材状态 |
|
|
|
ConsumableState consumableState = new ConsumableState(); |
|
|
|
ConsumableState consumableState = new ConsumableState(); |
|
|
|
//试管配置 |
|
|
|
List<TubeHolderSetting> tubeHolderSettings = new ArrayList<>(); |
|
|
|
List<TubeHolderSetting> tubeHolderSettings = new ArrayList<>(); |
|
|
|
|
|
|
|
//主流程控制状态 |
|
|
|
public MainFlowCtrlState mainFlowCtrlState = new MainFlowCtrlState(); |
|
|
|
|
|
|
|
public Boolean isDeviceInited() { |
|
|
|