summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h
blob: 506c300ed8969649d942200dcdb3e82304f890b7 (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
//
//  HSProfileModule.h
//  ReactNativeIOSLibrary
//
//  Created by ihealth on 16/12/2.
//  Copyright © 2016年 daiqingquan. All rights reserved.
//

#import <Foundation/Foundation.h>
#if __has_include(<React/RCTAssert.h>)
#import <React/RCTBridgeModule.h>
#else
#import "RCTBridgeModule.h"
#endif

@interface HSProfileModule : NSObject<RCTBridgeModule>

#define ACTION_LIVEDATA_HS  @"liveData_hs"
#define LIVEDATA_HS  @"value"

#define ACTION_ONLINE_RESULT_HS  @"online_result_hs"
#define DATAID @"dataID"
#define WEIGHT_HS  @"value"
#define FAT_HS  @""
#define WATER_HS  @""
#define MUSCLE_HS  @""
#define SKELETON_HS  @""
#define FATELEVEL_HS  @""
#define DCI_HS  @""

#define ACTION_GET_ALL_CONNECTED_DEVICES @"action_get_all_connected_devices"
#define ACTION_HISTORICAL_DATA_HS  @"historicaldata_hs"
#define HISTORDATA_HS  @"historyData"
#define MEASUREMENT_DATE_HS  @"date"
#define ACTION_HISTORICAL_DATA_COMPLETE_HS @"finishTranslate"
#define ACTION_NO_HISTORICALDATA  @"noHistoryData"
#define BATTERY_HS @"battery_hs"
#define ACTION_BATTARY_HS  @"action_get_battery_hs"
#define ACTION_ERROR_HS  @"error_hs"
#define ERROR_NUM_HS  @"error"
#define ERROR_ID_ILLEGAL_ARGUMENT  @"400"
#define ERROR_ID_WIFI_DISABLED  @""
#define ERROR_DESCRIPTION_HS @"description"


#define ACTION_ONLINE_WEIGHTANDBody_INFO  @"online_weigthandbody_info"

#define ACTION_BroadCastType_DEVICE  @"broadCastType_device"

#define ACTION_RESET_DEVICE  @"reset_device"

#define ACTION_MEASURE_FINISH  @"measure_finish"

#define MEMORY_COUNT  @"history_data_count"

#define MEMORY_DATA  @"history_data"



@end