//
//  RPassgerView.h
//  XFFruit
//
//  Created by 陈俊俊 on 15/11/13.
//  Copyright © 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Compass.h"
@interface RPassgerView : UIView
@property (nonatomic,strong)UILabel *centerLabel;
@property (nonatomic,strong)UILabel *dateLabel;
@property (nonatomic,strong)UIButton *lastWeekLabel;
@property (nonatomic,strong)UIButton *lastYearLabel;
@property (nonatomic,strong)UIImageView *bgImage;
@property (nonatomic,strong)UIImageView *cenImage;

- (instancetype)initWithFrame:(CGRect)frame withPage:(NSInteger)currentPage;

//客流
- (void)setPassengerWithCompass:(Compass *)compass;
//客单价
- (void)setPersalesWithCompass:(Compass *)compass;
//毛利率
- (void)setGrossprofitWithCompass:(Compass *)compass;

@end
