summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/PO1ProfileModule.m
blob: fee17dcfe939e43f328977f45975d098f396adb0 (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
//
//  POProfileModule.m
//  ReactNativeIOSLibrary
//
//  Created by daiqingquan on 2016/12/4.
//  Copyright © 2016年 daiqingquan. All rights reserved.
//

#import "PO1ProfileModule.h"

@implementation PO1ProfileModule


RCT_EXPORT_MODULE()

#pragma mark
#pragma mark - constantsToExport


- (NSDictionary *)constantsToExport
{
    return @{
             @"ACTION_GET_BATTERY":@"ACTION_GET_BATTERY",
             
             @"ACTION_BO_MEASUREMENT":@"ACTION_BO_MEASUREMENT",
             
             @"ACTION_ERROR_PO1":@"ACTION_ERROR_PO1",
             
             @"ACTION_GET_ALL_CONNECTED_DEVICES":@"ACTION_GET_ALL_CONNECTED_DEVICES",
             
             @"BATTERY":@"BATTERY",
             
             @"ERROR_DESCRIPTION":@"ERROR_DESCRIPTION",
             
             @"ERROR_ID":@"ERROR_ID",
             
             @"STATUS":@"STATUS",
             
             @"BLOOD_OXYGEN":@"BLOOD_OXYGEN",
             
             @"PULSE":@"PULSE",
             
             @"PULSE_FORCE":@"PULSE_FORCE",
             
             @"PI":@"PI",
             
             @"WAVE":@"WAVE",
             
             };
};


+ (BOOL)requiresMainQueueSetup
{
    return YES;
}

@end