84 lines
1.8 KiB
Objective-C
84 lines
1.8 KiB
Objective-C
//
|
|
// IfishDataUnity.h
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/5/26.
|
|
// Copyright © 2016年 imac. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "ScanViewController.h"
|
|
#import "SonNuoCenterViewController.h"
|
|
#import "YooseeCenterViewController.h"
|
|
#import "DeviceCameraModel.h"
|
|
#import "IfishMianTabViewController.h"
|
|
#import "KeLiAiCenterViewController.h"
|
|
#import "IfishDeviceInfo.h"
|
|
#import "RuSunHaveHeateViewController.h"
|
|
#import "SongNuoDBCenterViewController.h"
|
|
#import "RunSun84biteCenterViewController.h"
|
|
#import "RuiMeiViewController.h"
|
|
|
|
//默认选中 下表类型
|
|
//typedef NS_ENUM (NSInteger,saveIndexType){
|
|
//
|
|
// //登陆
|
|
// indexTypelogIn,
|
|
// //自动登录
|
|
// indexTypeAminimateLogIn,
|
|
// //二维码扫描
|
|
// indexTypeScanQrCode,
|
|
// //选中
|
|
// indexTypeSelect,
|
|
// //删除默认下标
|
|
// indexTypeDelect,
|
|
// //绑定默认下标
|
|
// indexTypeBindDevice
|
|
//
|
|
//};
|
|
//
|
|
|
|
|
|
@interface IfishDataUnity : NSObject
|
|
|
|
|
|
|
|
+(IfishDataUnity*)shareDataInstance;
|
|
|
|
|
|
/**
|
|
设备 增 删 选 返回 单个设备
|
|
操作 devicemodel verdermodel 用归档 (可选用FMDB DB类型已建)
|
|
|
|
* 增 扫描分享,绑定 删 删除设备 选 选中设备
|
|
*/
|
|
|
|
/**
|
|
* 二维码添加
|
|
*/
|
|
|
|
-(void)addDeviceByQRCodeWithDic:(NSDictionary *)resultDic addWith:(NSMutableArray *)deviceArry dismiss:(ScanViewController*) scanVC;
|
|
|
|
/**
|
|
* 绑定添加
|
|
*/
|
|
|
|
-(void)saveDeviceDataWith:(NSMutableArray *)deviceArry Withdic:(NSDictionary *)dataDic dissmissScanVC:(ScanViewController *)scanVC;
|
|
|
|
|
|
//设置 根视图
|
|
-(void)initAppCenterVcWith:(DeviceModel*)devicemodel addWithdissMisVc:(ScanViewController *)scanVC;
|
|
|
|
#pragma mark - 2.3版本后改为tab栏
|
|
|
|
/**
|
|
* 新加tab栏 登陆 转跳逻辑修改
|
|
*/
|
|
|
|
-(void)setAppTabRoot;
|
|
|
|
|
|
|
|
@end
|