rfid 처리 제거

main
이범준 6 months ago
parent ea1a593939
commit eca2dae9a9

@ -364,27 +364,18 @@ public class CommHoCController {
logger.info("======== kind 0: " + kind);
try {
String command = "";
if(kind.equals("0") == true) {
// RFID 데이터
logger.info("======== kind 1: " + kind);
command = String.format("sh /gpta/source-app/cfs/relay_jar/run_rfid.sh");
logger.info("======== kind 2: " + kind);
}
else if(kind.equals("1") == true) {
if(kind.equals("1") == true) {
// 발생사 데이터
logger.info("======== kind 3: " + kind);
command = String.format("sh /gpta/source-app/cfs/relay_jar/run_issue.sh");
logger.info("======== kind 4: " + kind);
}
else {
logger.info("======== kind 5: " + kind);
shellCmd(command);
} else if(kind.equals("0") == true) {
// RFID 데이터
} else {
result.setErrorMsg(ResultSmartPlatform.STATUS_ERROR, "kind값 오류");
logger.info(result.getResult().get("resultMessage").toString());
return result.getResult();
}
shellCmd(command);
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
result.setMsg(ResultSmartPlatform.RESULT_KEY_DEFAULT, "");
}catch(RuntimeException e) {

Loading…
Cancel
Save