//
//  ENDynamicGlucoseDevice.h
//  RNBTDevice
//
//  Created by lvwang2002 on 2019/3/22.
//  Copyright © 2019 zmxv. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ENNativeDevice.h"
#import "MQGlucoseData.h"
NS_ASSUME_NONNULL_BEGIN
@class MQGlucoseData;
@interface ENDynamicGlucoseDevice : ENNativeDevice
-(void)respondNewWork;
-(void)startWork;
-(void)continueWork;
@end

@protocol ENMQDynamicGlucoseDeviceProtocal <ENNativeDeviceProtocal>
//public void onGetMonitorStatus(BleDevice device,int status);
//public void onUpdateNewData(BleDevice device, BloodGlucose bloodGlucose);
//public void onStartPolarization(BleDevice device);

/** 获取状态 */
@optional
-(void)onGetMonitorStatus:(BLEDevice *)device Status:(int)status;

/** 获取数据 */
@optional
-(void)onUpdateNewDataDevice:(BLEDevice *)device BloodGlucose:(MQGlucoseData *)bloodGlucose;


/** 开始极化 */
@optional
-(void)onStartPolarizationDevice:(BLEDevice *)device;

@optional
-(void)onStartWork:(BLEDevice *)device;


@end
NS_ASSUME_NONNULL_END
