Function SimOneAPI::GetMainVehicleList

Function Documentation

bool SimOneAPI :: GetMainVehicleList ( SimOne_Data_MainVehicle_Info * pMainVehicleInfo )

获取主车信息列表

Retrieve the list of main vehicle information.

此函数用于获取主车信息列表,通常只需要检索一次

This function is used to retrieve the list of main vehicle information, which typically only needs to be retrieved once.

参数 :

pMainVehicleInfo [out]

指向主车信息结构的指针,包括车辆ID、数量和类型

Pointer to the main vehicle information structure, including vehicle ID, number, and type.

返回 :

成功获取返回true,否则返回false

Returns true if the information is successfully retrieved, false otherwise.