//
//  ICRQuestionBaseViewController.h
//  Cruiser
//
//  Created by Xummer on 15/6/2.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "ICRBaseViewController.h"
#import "ICRQuestionHelperView.h"
#import "GTOQuestion.h"

#import "ICRAnswer.h"
#import "ICRAnswerDetail.h"
#import "GTOPatrolPlan.h"
#import "ICRStoreResult.h"
@interface ICRQuestionBaseViewController : ICRBaseViewController
@property (strong, nonatomic) GTOQuestion *m_question;

@property (strong, nonatomic) ICRAnswer *m_answer;
@property (strong, nonatomic) ICRQuestionHelperView *m_helperView;
@property (strong, nonatomic) NSArray *m_arrOptions;
@property (assign, nonatomic) NSUInteger m_uiIndex;
@property (strong, nonatomic) UIScrollView *m_contentScrollView;
@property (strong, nonatomic) IBTUILabel *m_titleLabel;
@property (strong, nonatomic) ICRStoreResult *m_storeResult;
//@property (strong, nonatomic) GTOPatrolPlan *m_patrolPlan;
//@property (strong, nonatomic) NSString *m_plan_uuid;//
//@property (strong, nonatomic) NSString *m_store_uuid;//
@property (assign, nonatomic) BOOL d_notEdit;
@property (nonatomic, strong)ICRStoreResult * result;
- (instancetype)initWithQuestion:(GTOQuestion *)question answer:(ICRAnswer *)answer;

- (void)initScrollViewWithRect:(CGRect)rect;

- (void)onNextBtnAction:(__unused id)sender;
- (void)onLastBtnAction:(__unused id)sender;
- (void)onBeforeBtnAction:(__unused id)sender;
- (void)sureSelectionClicked:(UIButton *)btn;
- (void)setupDefaultAnswer;

- (void)openResultView;

//- (void)hiddKeyboard;

@end
