XPAC Reference Guide

Methods

Methods

Previous topic Next topic  

Methods

Previous topic Next topic  

Method

Description

Calculate()

This method is called to return the calculated travel time of the current objects. The method returns the time in minutes required for the Truck to traverse the HaulRoute.

In the event of an error, this method will return –1.

If the computer does not have XPAC registered, this method will return –2.