불필요한 코드 주석처리 및 bap command class 경로 재설정, 서버 세션 설정 api 수정
This commit is contained in:
@@ -53,7 +53,7 @@ public class BapConnSessionController extends BapBaseAnnotationController {
|
||||
|
||||
}
|
||||
|
||||
@RequestMapping(value= "/bap/adapter/socket/connStatus.json", params = "cmd=TRANSACTION")
|
||||
@RequestMapping(value= "/bap/adapter/socket/connStatus.json", params = "cmd=CONTROL")
|
||||
public ModelAndView control(HttpServletRequest request, String startStop, String uuid) throws Exception {
|
||||
|
||||
String[] args = new String[4];
|
||||
|
||||
+3
-3
@@ -80,7 +80,7 @@ public class BapTelePropertyController extends BapBaseAnnotationController {
|
||||
HashMap<String, Object>[] list = gson.fromJson(gridData, HashMap[].class);
|
||||
service.insert(map,list);
|
||||
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.teleproperty.UpdatePropertyCommand",(String)map.get("prptyGroupName"));
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.property.UpdatePropertyCommand",(String)map.get("prptyGroupName"));
|
||||
agentUtilService.broadcast(command);
|
||||
|
||||
return null;
|
||||
@@ -94,7 +94,7 @@ public class BapTelePropertyController extends BapBaseAnnotationController {
|
||||
HashMap<String, Object>[] list = gson.fromJson(gridData, HashMap[].class);
|
||||
service.update(map,list);
|
||||
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.teleproperty.UpdatePropertyCommand",(String)map.get("prptyGroupName"));
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.property.UpdatePropertyCommand",(String)map.get("prptyGroupName"));
|
||||
agentUtilService.broadcast(command);
|
||||
|
||||
return null;
|
||||
@@ -107,7 +107,7 @@ public class BapTelePropertyController extends BapBaseAnnotationController {
|
||||
paramMap.put("prptyGroupName", prptyGroupName);
|
||||
service.delete(paramMap);
|
||||
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.teleproperty.RemovePropertyCommand",prptyGroupName);
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.property.RemovePropertyCommand",prptyGroupName);
|
||||
agentUtilService.broadcast(command);
|
||||
|
||||
return null;
|
||||
|
||||
+1
-1
@@ -88,7 +88,7 @@ public class BapClassMapController extends BapBaseAnnotationController {
|
||||
HttpServletResponse response,@RequestParam HashMap<String,Object> map ) throws Exception {
|
||||
|
||||
// 전문클래스ID 공백 제거
|
||||
map.replace("telgmClsID",map.get("telgmClsID").toString().trim());
|
||||
// map.replace("telgmClsID",map.get("telgmClsID").toString().trim());
|
||||
|
||||
service.insert(map);
|
||||
CommonCommand command = new CommonCommand("com.eactive.eai.agent.rule.telegraminfo.UpdateTelegramInfoCommand", map.get("telgmClsID"));
|
||||
|
||||
Reference in New Issue
Block a user