Syntax
void PCMSSetHubMode(Trip trip, bool onOff)
Parameters
Trip trip – Handle to a trip.
bool onOff – Set to True to turn on Hub Mode; False to turn off.
Description
Turns Hub Mode on or off. Hub routing calculates routing from a central hub location to many locations (like spokes on a wheel).
Return Values
None
Sample Code
PCMSClearStops(trip); PCMSAddStop(trip, HOME); PCMSAddStop(trip, WORK); PCMSAddStop(trip, "12345"); PCMSAddStop(trip, "11230"); PCMSSetHubMode(trip, false); ret = PCMSCalculate(trip); TestErr(ret > 0, "PCMSCalculate(trip)"); Log_Pcmstest("-- Hub mode off --");
Supported Since: PC*MILER|Connect 12
Category: Trip Options