Device_Simulator_DTS_Tester/src/com/dev/ica_600kw/IAC_Cmd.java
@@ -30,4 +30,22 @@ buffer.flip(); return buffer; } public static void main(String[] args) { // ByteBuffer bf = ByteBuffer.allocate(2); // bf.putShort((short)24); // bf.flip(); // ByteBuffer bf1 = ByteBuffer.allocate(bf.capacity()); // bf1.put(bf); // // bf.position(0); // bf1.position(0); // System.out.println(bf.getShort()); // System.out.println(bf1.getShort()); float ff = 1.0f; int d = 1; System.out.println((ff==d)); } }