Flex Stop

Flex Stop integrates flex functionality into Driver Mate where flex stops/nodes are added to a paratransit route.

Flex stops/nodes are displayed in the Manifest screen.
Flex Stop in Manifest screen
A Flex Stop Summary screen will allow drivers to add passengers that are boarding, or remove passengers that are departing.
Flex Stop Summary screen

Once the driver finishes all boarding and departing passengers, tapping the Perform button will send a VDPerform message to MdtServer. After the Stop/Node event is performed, DriverMate will return to the Manifest screen.

VD Perform message example:
<MDT:VDPerform>
    <msgId>218423140</msgId>
    <mdcId>1003</mdcId>
    <msgDate>20240821</msgDate>
    <msgTime>62227</msgTime>
    <replacePassInfo>1</replacePassInfo>
    <passengers>
        <_row_>
            <activityId>0</activityId>
            <pass>CLI</pass>
            <space>AM</space>
            <fare>STA</fare>
            <paymentTypes/>
            <passCount>1</passCount>
            <fareDeducted>0</fareDeducted>
            <fareCollected>0</fareCollected>
            <fareAmount>267</fareAmount>
            <pickup>1</pickup>
            <transactionId>0</transactionId>
            <authorizationNumber/>
            <stopId>0</stopId>
        </_row_>
        <_row_>
           <activityId>0</activityId>
           <pass>CLI</pass>
           <space>AM</space>
           <fare>STA</fare>
           <paymentTypes/>
           <passCount>1</passCount>
           <fareDeducted>0</fareDeducted>
           <fareCollected>0</fareCollected>
           <fareAmount>0</fareAmount>
           <pickup>0</pickup>
           <transactionId>0</transactionId>
           <authorizationNumber/>
           <stopId>0</stopId>
        </_row_>
        <_row_>
           <activityId>0</activityId>
           <pass>CLI</pass>
           <space>AM</space>
           <fare>Test 15</fare>
           <paymentTypes/>
           <passCount>1</passCount>
           <fareDeducted>0</fareDeducted>
           <fareCollected>0</fareCollected>
           <fareAmount>300</fareAmount>
           <pickup>1</pickup>
           <transactionId>0</transactionId>
           <authorizationNumber/>
           <stopId>0</stopId>
       </_row_>
    </passengers>
    <eventId>181</eventId>
    <skip>0</skip>
    <ignoreFare>1</ignoreFare>
    <fareCollected>567</fareCollected>
    <paymentType/>
    <comment/>
    <smartCardId/>
    <driverSmartCard/>
    <specialAssistCard/>
    <amountCollected>0</amountCollected>
    <amountLoaded>0</amountLoaded>
    <meterCollected>0</meterCollected>
    <cost>0</cost>
    <code/>
    <type>2</type>
    <odometer>4161763</odometer>
    <typeValue>0</typeValue>
</MDT:VDPerform>

Configuration

Flex Stop configuration in DriverMate is done via the JSON Settings file. The following table describes the settings that need to be configured.

ID Name Description Default
2600 Flex Stop Functionality This enables and disables the Flex Stop functionality.
To use the functionality, this setting must be the string Summary (case insensitive) since the default value is empty.
Attention:
Both the WalkonPassengerEnable (2000) and Flex Stop Functionality (2600) cannot be enabled at same time. If WalkonPassengerEnable is enabled, DriverMate will disable the Flex Stop Functionality.
Empty
2610 Flex Stop Default Passenger Type If a default Passenger Type is provided, make sure it exists in the database, for example, CLI. Empty
2611 Flex Stop Default Space Type If a default Space Type is provided, make sure it exists in the database, for example, AM Empty
2612 Flex Stop Default Fare Type If a default Fare Type is provided, make sure it exists in the database, for example, STA.

If the FareCollectEnable setting is enabled, then DriverMate will prompt all Fare Types for the driver to select from, and then the selected Fare Type (with its rate) will be applied to the boarding passenger.

Empty
2613 Flex Stop Default Fare Type Only Enable If the Flex Stop Default Fare Type Only Enable (2613) is enabled, ensure that Flex Stop Default Fare Type (2612) has a valid Fare Type defined.

If the FareCollectEnable is enabled, then a Flat Rate of the Default Fare Type will be applied to all boarding passengers.

False
2620 Flex Stop Auto Arrive Perform Enable Enable/Disables Flex Stop Auto Arrive Perform.

By default, when the vehicle enters the radius (Flex Stop Auto Arrive Perform Distance Threshold) of the destination, the Stop/Node event will be arrived automatically. When the vehicle exits the radius of the arrived location, the Stop/Node event will be performed automatically. If the setting is False, then nothing will happen.

True
2621 Flex Stop Auto Arrive Perform Distance Threshold The distance threshold in meters for Flex Stop Arrive Perform 1000