Function SimOneAPI::GetMainVehicleStatus
Defined in File SimOneServiceAPI.h
Function Documentation
-
bool SimOneAPI::GetMainVehicleStatus(const char *mainVehicleId, SimOne_Data_MainVehicle_Status *pMainVehicleStatus)
获取主车状态信息
Get main vehicle status information.
此函数用于获取指定主车的状态信息
This function is used to retrieve the status information of a specified main vehicle.
- 参数:
mainVehicleId -- [in]
主车的ID
ID of the main vehicle.
pMainVehicleStatus -- [out]
指向主车状态信息的指针
Pointer to the main vehicle status information.
- 返回:
成功获取返回true,否则返回false
Returns true if the information is successfully retrieved, false otherwise.