//
//  socialSecurityViewController.h
//  Open
//
//  Created by 看看智能 on 2017/2/15.
//  Copyright © 2017年 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "pickerViewController.h"
#import "HXProvincialCitiesCountiesPickerview.h"
#import "HXAddressManager.h"
//网络
#import "AFNetworking.h"
//算法AES
#import "SecurityUtil.h"
#import "MyMD5.h"
#import "CityModel.h"
#import "MJExtension.h"
#import "areaModel.h"
#import "SCCaptureCameraController.h"
#import "IOSOCRAPI.h"
#import "Globaltypedef.h"
#import "verifyAdressModel.h"

static AFHTTPSessionManager *manager = nil;
static NSString  *provinceLabel =nil;
@interface socialSecurityViewController : UIViewController
{
    //    NSMutableString *_CityName;
    NSMutableString *_CityNumber;
    //    NSMutableString *_provinceName;
    NSMutableString *_provinceNumber;
    //    NSMutableString * _areaName;
    NSMutableString *_areaNumber;
    NSMutableString *_TownNumber;
    NSMutableString *_VillageCoNumber;
    BOOL _phoneBool;
    BOOL _companyBool;

    
    
}
//代理的一些方法
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *scrolWidth;
@property (weak, nonatomic) IBOutlet UIView *ViewHiden;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *buttonForTopWithImage;
@property (weak, nonatomic) IBOutlet UIButton *buttonforclick;
@property(nonatomic)NSInteger ice;

@property(nonatomic,assign)NSInteger ins;

//第三方导航的地区选择器
@property (nonatomic,strong) HXProvincialCitiesCountiesPickerview *regionPickerView;
@property(nonatomic,strong)	 UILabel *addressLabel;
@property(nonatomic,strong)	 NSString *numbertag;

//textField 文本框
@property (weak, nonatomic) IBOutlet UITextField *nameText;
@property (weak, nonatomic) IBOutlet UITextField *IDText;
@property (strong, nonatomic) NSString *nText;
@property (strong, nonatomic) NSString *idText;
@property(nonatomic,strong)NSString *telText;
@property (weak, nonatomic) IBOutlet UITextField *province;
@property (weak, nonatomic) IBOutlet UITextField *downTown;
@property (weak, nonatomic) IBOutlet UITextField *area;
@property (weak, nonatomic) IBOutlet UITextField *village;
@property (weak, nonatomic) IBOutlet UITextField *villageCommittee;
@property (weak, nonatomic) IBOutlet UITextField *phoneNumber;
@property (weak, nonatomic) IBOutlet UITextField *Company;
@property(nonatomic,strong)UIButton *buttonToSenderPhoto;
@property(nonatomic,strong)UIImageView *imageView_photo;

//数组图片
@property(nonatomic,strong)NSArray *allImageNames;

//button和label
@property (weak, nonatomic) IBOutlet UIButton *button1;
@property (weak, nonatomic) IBOutlet UIButton *button2;
@property (weak, nonatomic) IBOutlet UIButton *button3;

@property (weak, nonatomic) IBOutlet UIButton *jumpToPhoto;
//控制button的变量
@property(nonatomic,strong)	 UIButton *changeThreeWithUrbanAndGovern;
@property (weak, nonatomic) IBOutlet UIView *companyViewHide;
@property (weak, nonatomic) IBOutlet UIView *totalView;
//调用摄像头
@property (weak, nonatomic) IBOutlet UIButton *photocamera;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollV;


//网络
@property(nonatomic,strong)	 AFHTTPSessionManager *manager;
//index
@property(nonatomic)NSInteger	tagForProvince;
//负责接收传过来的数据
@property(nonatomic,strong)	 NSMutableArray *array;
//接受city城市的对象
@property(nonatomic,strong)	 NSMutableArray *arrayForCity;
//接受cityid的对象
@property(nonatomic,strong)	 NSMutableArray *dataArr;

/**设置布局的变量*/

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightVillageContraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topVillageContraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topVillageCommittee;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightVillageCommitteeContraint;
//@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topPhoneContraint;
//@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightPhoneContraint;
//@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topCompanyContraint;
//@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightCompanyContrint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topLabelCommiteeConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topLabelCommitteeConstraint2;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightLalCommittee;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightLabelCommittee2;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *companytakenToTop;

@property (weak, nonatomic) IBOutlet UILabel *labelxiang;

@property (weak, nonatomic) IBOutlet UILabel *juweihui;

@property (weak, nonatomic) IBOutlet UIButton *greenValue;
@property(nonatomic)BOOL goGreenTongDao;
@property(nonatomic,strong)	 NSMutableArray *array2;
@property(nonatomic,strong)	 NSMutableArray *array0;
/**这中间设置布局*/

@property(nonatomic,strong)NSString *ocrBase64;
@property(nonatomic,strong)NSString *ocrBase64_;
//保存orc的数据
@property(nonatomic,strong)NSMutableArray *ocrImageArray;
//离线采集
@property(nonatomic,strong)NSString *offLineGather;
//活体检测数组
@property(nonatomic,strong)     NSMutableArray *imageManyImage;



//雷俊博
//选择地址界面属于单例类
@property (nonatomic, assign)BOOL isPhoto;

//sheng
@property (nonatomic, strong) paramWithResult *paraModel;
@property (nonatomic, strong) NSString *paraModelStr;
-(void)postmessageInToPhoto:(NSMutableArray *)selfImage;
+ (socialSecurityViewController*)sharedInstance;
@end
