//
//  ShoesCarouselView.h
//  Unity-iPhone
//
//  Created by duowan123 on 2021/8/31.
//

#import <UIKit/UIKit.h>
#import <CoreBluetooth/CoreBluetooth.h>

#import "ShoesPeripheralMolde.h"

@protocol ConnectDeviceDelegate <NSObject>

-(void)setCurrentperipheral:(CBPeripheral*)peripheral;

-(void)connectDevice:(CBPeripheral*)peripheral;

@end

@interface ShoesCarouselView : UIView

@property(nonatomic,assign)id<ConnectDeviceDelegate> delegate;

/**
 配置数据（固定TXCarouselView）

 @param array ShoesPeripheralMolde
 */
-(void)setArrayData:(NSArray <ShoesPeripheralMolde *>*)array;


-(void)yw_gotoNext:(NSInteger)index;

@end

