Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
f123fbb9
Commit
f123fbb9
authored
Nov 12, 2016
by
filatov
Browse files
return int64 from fx_getCurrentTime
parent
2a7d2f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java
View file @
f123fbb9
...
...
@@ -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
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment