Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1131,8 +1131,8 @@ private String updateAndSendRSU(WydotTravelerInputData timToSend, TimUpdateModel
createNewActiveTimHoldingRecord(timToSend.getTim().getPacketID(), aTim,
rsu.getRsuTarget(), nextRsuIndex, null);

// set msgCnt to 1 and create new packetId
timToSend.getTim().setMsgCnt(1);
// set msgCnt to 0 and create new packetId
timToSend.getTim().setMsgCnt(0);
timToSend.getRequest().getRsus()[0].setRsuIndex(nextRsuIndex);

var newRsuEx = odeService.sendNewTimToRsu(timToSend);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ public void sendTimToRsus(WydotTim wydotTim, WydotTravelerInputData timToSend, S
var df = timToSend.getTim().getDataframes()[0];
timToSend.getRequest().setSnmp(snmpHelper.getSnmp(df.getStartDateTime(), endDateTime, timToSend));

// set msgCnt to 1
timToSend.getTim().setMsgCnt(1);
// set msgCnt to 0
timToSend.getTim().setMsgCnt(0);
odeService.sendNewTimToRsu(timToSend);
}
}
Expand Down Expand Up @@ -534,8 +534,8 @@ private WydotRsu getRsu(Long rsuId) {

private void sendNewTimToSdw(WydotTravelerInputData timToSend, String recordId, List<Milepost> reducedMileposts) {

// set msgCnt to 1 and create new packetId
timToSend.getTim().setMsgCnt(1);
// set msgCnt to 0 and create new packetId
timToSend.getTim().setMsgCnt(0);

SDW sdw = new SDW();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ private void setupActiveTimModel() {
tum.setEndPoint(new Coordinate(BigDecimal.valueOf(-3L), BigDecimal.valueOf(-4L)));

// TIM Props
tum.setMsgCnt(1);// int
tum.setMsgCnt(0);// int
tum.setUrlB("urlb");// String
tum.setStartDate_Timestamp(Timestamp.from(Instant.now()));// Timestamp
tum.setEndDate_Timestamp(Timestamp.from(Instant.now()));// Timestamp
Expand Down
Loading