react-native-bt-device/ios/RNBTDevice/Device/DGMG/Algorithm/Reference.h

30 lines
590 B
Objective-C

//
// Reference.h
// Pods
//
// Created by Ran Zhao on 9/2/24.
//
#ifndef Reference_h
#define Reference_h
#import <Foundation/Foundation.h>
@interface Reference : NSObject
@property (nonatomic, assign) double value;
@property (nonatomic, strong) NSDate *time;
@property (nonatomic, assign) int index;
- (instancetype)initWithValue:(double)value time:(NSDate *)time;
- (instancetype)initWithValue:(double)value index:(int)index;
- (double)getValue;
- (void)setValue:(double)value;
- (NSDate *)getTime;
- (void)setTime:(NSDate *)time;
- (int)getIndex;
@end
#endif /* Reference_h */