Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add networkMode to defaultVehicleType #3560

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Conversation

rewertvsp
Copy link
Contributor

@rewertvsp rewertvsp commented Nov 12, 2024

@rewertvsp rewertvsp requested a review from rakow November 12, 2024 15:00
@@ -81,7 +81,7 @@ public static VehicleType createDefaultVehicleType() {
.createVehicleType(Id.create(DEFAULT_VEHICLE_TYPE_ID, VehicleType.class));

defaultVehicleType.getCapacity().setSeats(4);

defaultVehicleType.setNetworkMode("car");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use TransportMode.CAR here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

@rakow rakow enabled auto-merge (squash) November 12, 2024 15:06
@rakow rakow merged commit cc8d18d into master Nov 12, 2024
49 checks passed
@rakow rakow deleted the addNetworkModeToDefaultVehicleType branch November 12, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants