|
@@ -198,9 +198,10 @@ public class Iec104Session {
|
|
|
int firstMsgAddr = allPoints.get(0).getPointAddr();
|
|
|
msg104.setMessageAddress(firstMsgAddr);
|
|
|
}
|
|
|
-
|
|
|
+ // log.info(allPoints.get(0).getPoint() + allPoints.get(0).getValue());
|
|
|
for(int i=0;i<allPoints.size();i++) {
|
|
|
Point point = allPoints.get(i);
|
|
|
+
|
|
|
if (!isContinous && point.isConsumed())
|
|
|
continue;
|
|
|
|
|
@@ -262,7 +263,6 @@ public class Iec104Session {
|
|
|
}
|
|
|
|
|
|
private synchronized void sendMessage(Iec104Message msg) {
|
|
|
-
|
|
|
msg.setSendSeq(sendSeq++);
|
|
|
log.info("send message:" + msg.getSendSeq() + ", address = " + msg.getMessageAddress()
|
|
|
+ ",type= " + msg.getTypeIdentifier()) ;
|