Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manningbusfleet [2013/11/28 15:16] bruno |
manningbusfleet [2013/11/29 08:20] bruno |
||
---|---|---|---|
Line 16: | Line 16: | ||
{{ : | {{ : | ||
+ | |||
+ | You can check it out in this video: | ||
+ | |||
+ | {{ : | ||
+ | |||
After that you can pick any bus and reach the details: | After that you can pick any bus and reach the details: | ||
- | - Line. | + | * Line. |
- | - Manning. | + | |
- | - Nearest address (That uses Google API solution). | + | |
- | - Bus licence in order to make easer identify the correct bus. | + | |
+ | |||
This is a demo: | This is a demo: | ||
{{ : | {{ : | ||
+ | |||
+ | This is a test video: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Each bus is configurated to provide random seats availability. However you can use the Class MenuOnibus.java to simulate a driver control with easy controls: | ||
- | Each bus is configurated to provide random seats availability. However you can use the Class MenuOnibus.java to simulate a driver control. | + | <file java ClientTest.java> |
+ | (...) | ||
+ | switch (choice) { | ||
+ | case 1: | ||
+ | occuped = occuped + 5; | ||
+ | try { | ||
+ | command.setContentObject("# | ||
+ | groupManager.sendGroupcastMessage(command, | ||
+ | } | ||
+ | catch (IOException e) { | ||
+ | e.printStackTrace(); | ||
+ | } | ||
+ | break; | ||
+ | case 2: | ||
+ | if (occuped > 0) { | ||
+ | occuped = occuped - 5; | ||
+ | } | ||
+ | try { | ||
+ | command.setContentObject("# | ||
+ | groupManager.sendGroupcastMessage(command, | ||
+ | } | ||
+ | catch (IOException e) { | ||
+ | e.printStackTrace(); | ||
+ | } | ||
+ | break; | ||
+ | default: | ||
+ | choice = 0; | ||
+ | System.out.println(" | ||
+ | break; | ||
+ | } | ||
+ | (...) | ||
+ | </ | ||
==== Disclamer ==== | ==== Disclamer ==== |