Attribute.h
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
********************************************************************
* @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