Commit f123fbb9 authored by filatov's avatar filatov

return int64 from fx_getCurrentTime

parent 2a7d2f7d
......@@ -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()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment