|
|
@ -17,6 +17,8 @@ import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* 加热模块 |
|
|
|
*/ |
|
|
@ -136,6 +138,8 @@ public class HeatModuleService { |
|
|
|
* 获取一个空闲加热区 |
|
|
|
*/ |
|
|
|
public HeatModuleState getIdleHeatModule() { |
|
|
|
//List<HeatModuleState> heatModuleStateList=deviceStateService.getDeviceState().getHeatModule(); |
|
|
|
//heatModuleStateList.removeIf(heatModuleState -> heatModuleState.getModuleCode().equals(HeatModuleCode.heat_module_04)); |
|
|
|
for (HeatModuleState heatModuleState : deviceStateService.getDeviceState().getHeatModule()) { |
|
|
|
boolean flag = true; |
|
|
|
for (TrayState trayState : deviceStateService.getDeviceState().getTrays()) { |
|
|
|