|
@@ -75,15 +75,15 @@ public class Job_Data implements JobProtocol {
|
|
|
for (int ii = 0; ii < laneCnt; ii++) {
|
|
|
idx = (ii * 9) + 5;
|
|
|
|
|
|
- tfvl = body[idx];
|
|
|
- spd = body[idx+1];
|
|
|
- occ1 = body[idx+2];
|
|
|
- occ2 = body[idx+3];
|
|
|
- lngt = body[idx+4];
|
|
|
- hdwy = body[idx+5];
|
|
|
- spc_occ1 = body[idx+6];
|
|
|
- spc_occ2 = body[idx+7];
|
|
|
- spc_spd = body[idx+8];
|
|
|
+ tfvl = Byte.toUnsignedInt(body[idx]);
|
|
|
+ spd = Byte.toUnsignedInt(body[idx+1]);
|
|
|
+ occ1 = Byte.toUnsignedInt(body[idx+2]);
|
|
|
+ occ2 = Byte.toUnsignedInt(body[idx+3]);
|
|
|
+ lngt = Byte.toUnsignedInt(body[idx+4]);
|
|
|
+ hdwy = Byte.toUnsignedInt(body[idx+5]);
|
|
|
+ spc_occ1 = Byte.toUnsignedInt(body[idx+6]);
|
|
|
+ spc_occ2 = Byte.toUnsignedInt(body[idx+7]);
|
|
|
+ spc_spd = Byte.toUnsignedInt(body[idx+8]);
|
|
|
|
|
|
occ = (float)(occ1 + (occ2 * 0.01));
|
|
|
spc_occ = (float)(spc_occ1 + (spc_occ2 * 0.01));
|