| 
					
				 | 
			
			
				@@ -2,6 +2,7 @@ package com.ruoyi.sim.controller; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.common.core.controller.BaseController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.common.core.domain.AjaxResult; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ruoyi.sim.service.impl.CommBuildService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ruoyi.sim.service.impl.CommSendService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import io.swagger.annotations.Api; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import io.swagger.annotations.ApiOperation; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,6 +18,8 @@ public class HardwareCommDebugController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private CommSendService commSendService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private CommBuildService commBuildService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private ApplicationContext applicationContext; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @GetMapping(value = "/spring-boot-close") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,4 +92,13 @@ public class HardwareCommDebugController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                       @RequestParam final Boolean checkReplace) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return commSendService.debugWriteSelectedFaultBySimNum(simNum, faultIds, checkReplace); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @GetMapping(value = "/debugBuildMsg/") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiOperation("debugBuildMsg") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public AjaxResult debugBuildMsg(@RequestParam final String simNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    @RequestParam final String cmd, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    @RequestParam final String cmdId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    @RequestParam final String data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return commBuildService.debugBuildSendMsg(simNum, cmd, cmdId, data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |