mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-06-18 04:50:25 +08:00
add component test: ControlParameters
This commit is contained in:
@@ -58,7 +58,6 @@ public class ControlParameterMtu implements TlvComponentBase,InitialAble,IEncodi
|
||||
if (tmplen < 0) {
|
||||
return -1;
|
||||
}
|
||||
System.out.println("tmplen-1: "+tmplen);
|
||||
totalLength += tmplen;
|
||||
|
||||
// 编码 TLV-LENGTH
|
||||
@@ -66,7 +65,6 @@ public class ControlParameterMtu implements TlvComponentBase,InitialAble,IEncodi
|
||||
if (tmplen < 0) {
|
||||
return -1;
|
||||
}
|
||||
System.out.println("tmplen-2: "+tmplen);
|
||||
totalLength += tmplen;
|
||||
|
||||
// 编码 TLV-TYPE
|
||||
@@ -74,7 +72,6 @@ public class ControlParameterMtu implements TlvComponentBase,InitialAble,IEncodi
|
||||
if (tmplen < 0) {
|
||||
return -1;
|
||||
}
|
||||
System.out.println("tmplen-3: "+tmplen);
|
||||
totalLength += tmplen;
|
||||
|
||||
return totalLength;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package component;
|
||||
|
||||
import encoding.*;
|
||||
import logicface.LogicFaceException;
|
||||
import mgmt.MgmtException;
|
||||
import packet.PacketException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user