|
@@ -74,7 +74,7 @@ public class CenterCommServerReceiver {
|
|
|
// VMS 통신 서버는 Sender, Receiver 위치가 바뀌었음. ==> 서버 수정했음.
|
|
|
//if (CENTER_COMM_DEFINE.INT_ID_VMS_OPER == data.getSendId() && CENTER_COMM_DEFINE.INT_ID_VMS_SERVER == data.getRecvId()) {
|
|
|
if (CENTER_COMM_DEFINE.INT_ID_VMS_SERVER == data.getSendId()) {
|
|
|
- log.info("RECV VMS Server Message[0xFF]: Length: {} Bytes.", data.getLength());
|
|
|
+ log.info("RECV VMS Server Message: OpCode: {}, Length: {} Bytes.", data.getOpCode(), data.getLength());
|
|
|
//log.error("VMS PACKET: {}", SysUtils.byteArrayToHex(data.getBody()));
|
|
|
if (data.getLength() > 0) {
|
|
|
ByteBuffer byteBuffer = ByteBuffer.wrap(data.getBody());
|
|
@@ -84,10 +84,10 @@ public class CenterCommServerReceiver {
|
|
|
byte count;
|
|
|
byte opCode = data.getOpCode();
|
|
|
byte msgSeq = data.getMsgSeq();
|
|
|
- log.info("OP CODE: {}, MsgSeq: {}", opCode, msgSeq);
|
|
|
+ //log.info("OP CODE: {}, MsgSeq: {}", opCode, msgSeq);
|
|
|
switch(opCode) {
|
|
|
case CENTER_COMM_DEFINE.INT_OP_PG_STATE_RES:
|
|
|
- // Program State....
|
|
|
+ log.info("INT_OP_PG_STATE_RES");
|
|
|
break;
|
|
|
case CENTER_COMM_DEFINE.INT_OP_VMS_FORM_SAVE:
|
|
|
byte[] saveDt = new byte[CENTER_COMM_DEFINE.INT_VMS_MAX_DATETIME];
|
|
@@ -148,7 +148,7 @@ public class CenterCommServerReceiver {
|
|
|
short normal = byteBuffer.getShort();
|
|
|
short module = byteBuffer.getShort();
|
|
|
count = byteBuffer.get();
|
|
|
-// log.info("INT_OP_VMS_STATE_RES: total({}), error({}), normal({}), module({}), count: {} EA.", total, error, normal, module, count);
|
|
|
+ log.info("INT_OP_VMS_STATE_RES: total({}), error({}), normal({}), module({}), count: {} EA.", total, error, normal, module, count);
|
|
|
// for (int ii = 0; ii < count; ii++) {
|
|
|
// vmsId = new byte[CENTER_COMM_DEFINE.INT_VMS_MAX_ID];
|
|
|
// byteBuffer.get(vmsId);
|
|
@@ -199,7 +199,7 @@ public class CenterCommServerReceiver {
|
|
|
// }
|
|
|
break;
|
|
|
default:
|
|
|
- log.info("Other opCode: {}", opCode);
|
|
|
+ log.info("INT_ID_VMS_SERVER: Other opCode: {}", opCode);
|
|
|
break;
|
|
|
}
|
|
|
}
|