summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h')
-rw-r--r--libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h
new file mode 100644
index 0000000..ab9abc4
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/BG1SProfileModule.h
@@ -0,0 +1,61 @@
1//
2// BG1SProfileModule.h
3// ReactNativeIOSLibrary
4//
5// Created by user on 2019/11/14.
6// Copyright © 2019 daiqingquan. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#if __has_include(<React/RCTAssert.h>)
11#import <React/RCTBridgeModule.h>
12#else
13#import "RCTBridgeModule.h"
14#endif
15
16
17@interface BG1SProfileModule : NSObject<RCTBridgeModule>
18
19#define BG1S_EVENT_NOTIFY @"event_notify_bg1s"
20
21#define BG1S_ACTION @"action"
22
23#define BG1S_TYPE @"type"
24
25#define BG1S_DEVICE @"devices"
26
27#define BG1S_KEY_MAC @"mac"
28
29#define OPERATION_DESCRIBE @"describe"
30
31#define STRIP_INSERTION_STATUS @"insertion_status"
32
33#define kACTION_GET_ALL_CONNECTED_DEVICES @"ACTION_GET_ALL_CONNECTED_DEVICES"
34
35#define MEASURE_RESULT @"measure_result"
36
37#define MEASURE_MODE @"measure_mode"
38
39#define ACTION_CODE_ANALYSIS @"action_get_device_info"
40
41#define INFO_BATTERY_BG1S @"battery"
42
43#define INFO_VERSION_CODE_BLOOD_BG1S @"info_version_code_blood_bg1s"
44
45#define INFO_VERSION_CODE_CTL_BG1S @"info_version_code_ctl_bg1s"
46
47#define ACTION_ERROR_BG1S @"action_error"
48
49#define ERROR_NUM_BG1S @"error_num"
50
51#define ERROR_DESCRIPTION_BG1S @"error_description"
52
53#define ACTION_STRIP_INSERTION_STATUS @"action_strip_insertion_status"
54
55#define ACTION_GET_BLOOD @"action_get_blood"
56
57#define ACTION_MEASURE_RESULT @"action_measure_result"
58
59
60@end
61