You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

55 lines
1.3 KiB

//
// HAndTChartCell.h
// tongxin
//
// Created by Apple on 2020/4/10.
// Copyright © 2020 xTT. All rights reserved.
//
#import "TableCell.h"
#import "HeartAndTempModel.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^MeasurementEndBlock)(void);
typedef void(^SwitchQueryBlock)(NSString *qDay);
@interface HAndTChartCell : baseCell
/// 背景图
@property (weak, nonatomic) IBOutlet UIImageView *backImageView;
@property (weak, nonatomic) IBOutlet UILabel *dataLabel;
@property (weak, nonatomic) IBOutlet UILabel *unintLabel;
@property (weak, nonatomic) IBOutlet UIButton *qActiveBtn;
@property (weak, nonatomic) IBOutlet UILabel *lastTimeLabel;
@property (weak, nonatomic) IBOutlet UIView *lineChartContentView;
/// 查询的日期
@property (weak, nonatomic) IBOutlet UILabel *qDayLabel;
/// 前一天
@property (weak, nonatomic) IBOutlet UIButton *lastDayBtn;
/// 后一天
@property (weak, nonatomic) IBOutlet UIButton *nextDayBtn;
/// 倒计时走完要 回调的方法
@property (copy, nonatomic) MeasurementEndBlock measurementEndBlock;
/// 切换查询天 要 回调的方法
@property (copy, nonatomic) SwitchQueryBlock switchQueryBlock;
-(void)setDataModel:(HeartAndTempModel*)model WithType:(int)type WithqDayStr:(NSString*)qDayStr;
@end
NS_ASSUME_NONNULL_END