Attribute.h 1.6 KB
/**
 ********************************************************************
 * @file   Attribute.h
 *         Attribute.h 的头文件
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef ATTRIBUTE_H
#define ATTRIBUTE_H

/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/

/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode Attribute_SetGpsTime(T_JZsdkAttributeGpsTime GpsTime);
T_JZsdkAttributeGpsTime Attribute_GetGpsTime();

T_JZsdkReturnCode Attribute_SetGpsPosition(T_JZsdkAttributeGpsPosition GpsPosition);
T_JZsdkAttributeGpsPosition Attribute_GetGpsPosition();

T_JZsdkReturnCode Attribute_SetGpsDate(T_JZsdkAttributeGpsDate GpsDate);
T_JZsdkAttributeGpsDate Attribute_GetGpsDate();

T_JZsdkReturnCode Attribute_GetGpsXYZ_ByF(float *x, float *y, float *z);
T_JZsdkReturnCode Attribute_GetTime_ByI(int *year, int *month, int *day, int *hour, int *minute, int *second);
T_JZsdkReturnCode Attribute_GetGpsXYZ_ByStr(unsigned char *latitude, unsigned char *longitude, float *z);
T_JZsdkReturnCode Attribute_Init();

T_JZsdkReturnCode JZsdk_convert_gpstime(T_JZsdkAttributeGpsTime gpstime, t_JZdateTime *result);


#ifdef __cplusplus
}
#endif

#endif