Method |
Description |
ClearAll() |
This method clears all Axle, Rimpull and Retard data. |
AddAxle(long NumTyres,double dFullWeight, double dEmptyWeight,Boolean bDriven) |
This method adds a single Axle to the Axles object associated with the SimpleTruck object. Weight arguments are expected to be in kilograms. |
AddRetardPoint(double dSpeed,double dForce) |
This method adds a single RimpullPoint of the supplied speed and force to the SimpleTruck’s Retard collection of RimpullPoints. Speed is expected to be in Kilometres per hour, and Force is expected to be in Kilograms. |
AddRimpullPoint(double dSpeed,double dForce) |
This method adds a single RimpullPoint of the supplied speed and force to the SimpleTruck’s Rimpull collection of RimpullPoints. Speed is expected to be in Kilometres per hour, and Force is expected to be in Kilograms. |
LoadFromFile(String FileName) |
This method clears all Axle, Rimpull and Retard data from the SimpleTruck object, and then reads the specified file. This file is in a BINARY format, and is not human readable. |
SaveToFile(String FileName) |
This method saves all Axle, Rimpull and retard data to the specified file. The file may be read by the LoadFromFile method above. |
LoadFromTalpac6File() |
This method clears all Axle, Rimpull and Retard data from the SimpleTruck object, and then reads the specified file. Talpac8 can generate this file. See Appendix A for a description of how to export this file from Talpac8. |