|
|
@ -13,9 +13,12 @@ import jakarta.annotation.Resource; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.ResponseBody; |
|
|
|
|
|
|
|
|
|
|
|
@Component |
|
|
|
@Controller |
|
|
|
public class DeviceInitializationCtrlService { |
|
|
|
public static final Logger logger = LoggerFactory.getLogger(DeviceInitializationCtrlService.class); |
|
|
|
|
|
|
@ -32,6 +35,8 @@ public class DeviceInitializationCtrlService { |
|
|
|
SamplesPreProcessModuleCtrlParamsService samplesPreProcessModuleCtrlParams; |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/api/DeviceInitializationCtrlService/initializeDevice") |
|
|
|
@ResponseBody |
|
|
|
public AppEcode initializeDevice() { |
|
|
|
logger.info("Initializing device ..."); |
|
|
|
boolean initSuc = false; |
|
|
|