You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.4 KiB
64 lines
1.4 KiB
1 year ago
|
//
|
||
|
// SelectContactVC.h
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by WeiChaoZheng on 2018/6/27.
|
||
|
// Copyright © 2018年 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "baseTabViewController.h"
|
||
|
#import "Contacts.h"
|
||
|
typedef void (^SelectContactBack) (NSString *contact, NSNumber *contactId, NSString *phone, NSString *name);
|
||
|
/**
|
||
|
选择 绑定设备的 关系
|
||
|
*/
|
||
|
@interface SelectContactVC : baseTabViewController
|
||
|
|
||
|
@property(strong , nonatomic) NSString *imei;
|
||
|
|
||
|
//-----设备模式
|
||
|
/**
|
||
|
是否是添加设备的模式
|
||
|
*/
|
||
|
@property(assign , nonatomic) BOOL isAddDevice;
|
||
|
|
||
|
/// 设备型号
|
||
|
@property (nonatomic ,copy) NSNumber *deviceType;
|
||
|
|
||
|
/**
|
||
|
如果添加设备的时候存在管理员,这个是管理员的信息, 默认 nil
|
||
|
*/
|
||
|
@property(strong , nonatomic) NSDictionary * adminInfo;
|
||
|
|
||
|
@property(strong , nonatomic) NSString *contact; //关系
|
||
|
|
||
|
@property(assign , nonatomic) NSNumber *contactId; // 关系Id
|
||
|
|
||
|
@property(strong , nonatomic) NSString *phone; //电话
|
||
|
|
||
|
@property(strong , nonatomic) NSString *dphone; //电话
|
||
|
//-----
|
||
|
|
||
|
@property(assign , nonatomic) BOOL isContact; // 是否是 添加联系人模式 (一个是 添加设备模式)
|
||
|
@property(assign , nonatomic) BOOL isAddContact;
|
||
|
//-----联系人模式
|
||
|
|
||
|
@property(strong , nonatomic) NSString *name; //联系人 NAME
|
||
|
|
||
|
@property(strong , nonatomic) Contacts *contactModel; //联系人 NAME
|
||
|
|
||
|
//-----
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
选择关系的回调
|
||
|
*/
|
||
|
@property (copy,nonatomic) SelectContactBack selectContactBack;
|
||
|
|
||
|
|
||
|
@end
|