//
//  GTOLicenceBoltView.h
//  total
//
//  Created by freecui on 15/10/30.
//  Copyright © 2015年 free. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger,tableViewTag) {
    kTableViewStateTag = 0,
    kTableViewRiskTag
};
@protocol GTOLicenceBoltViewDelegate <NSObject>
- (void)getBoltValueSelectRow:(NSString *)state;
- (void)getBoltRiskValueSelectRow:(NSString *)riskGrade;
//- (void)getRepairNumberLike:(NSString *)repairLike;
- (void)getBillNumber:(NSString *)billNumber;
- (void)getRiskGrade:(NSString *)riskGrade;

- (void)clearBoltInformation;
@end
@interface GTOLicenceBoltView : UIView<UITableViewDataSource,UITableViewDelegate>
@property (nonatomic,strong)UITableView *tableViewState;
@property (nonatomic,strong)NSMutableArray *dataArrState;
@property (nonatomic,strong)UITableView *tableViewRisk;
@property (nonatomic,strong)NSMutableArray *dataArrRisk;
@property (nonatomic,weak)id <GTOLicenceBoltViewDelegate>delegate;


@property (nonatomic,strong)UITextField *billNumberFiled;


- (instancetype)initWithFrame:(CGRect)frame state:(NSString *)state   billNumber:(NSString *)billNumber riskGrade: (NSString *)riskGrade;
//- (instancetype)initWithFrame:(CGRect)frame state:(NSString *)state repairNumber:(NSString *)repairNumber  billNumber:(NSString *)billNumber riskGrade: (NSString *)riskGrade;
@end
