Commit f123fbb9 authored by filatov's avatar filatov
Browse files

return int64 from fx_getCurrentTime

parent 2a7d2f7d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -698,8 +698,10 @@ public class PluginAdapter implements TriCommunicationSA, TriCommunicationTE, xT
        returnValue.setNumberOfBits(Long.SIZE);
        returnValue.setEncodedParameter(
            ByteHelper.longToByteArray(
                ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left
                6/*Long.SIZE / Byte.SIZE*/              // Encoding on 48 bits
//                ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left
  //              6/*Long.SIZE / Byte.SIZE*/              // Encoding on 48 bits
                ((IntegerValueEx)time).getInt64(),
                Long.SIZE / Byte.SIZE
            ));
        
        _logger.exiting("PluginAdapter", "exec_getCurrentTime", ByteHelper.byteArrayToString(returnValue.getEncodedParameter()));