98 lines
2.6 KiB
Objective-C
98 lines
2.6 KiB
Objective-C
//
|
||
// DeviceModel.h
|
||
// Ifish
|
||
//
|
||
// Created by imac on 15/10/6.
|
||
// Copyright © 2015年 imac. All rights reserved.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
@interface DeviceModel : NSObject
|
||
// 设备 Device
|
||
//是否是主控制权,1是,0分配的控制权
|
||
@property(nonatomic,copy)NSString *isMaster;
|
||
//设备ID
|
||
@property(nonatomic,copy)NSString *deviceId;
|
||
//显示名称
|
||
@property(nonatomic,copy)NSString *showName;
|
||
//设备mac地址
|
||
@property(nonatomic,copy)NSString *macAddress;
|
||
//今天是否需要提醒
|
||
@property(nonatomic,copy)NSString *todayRemind;
|
||
//提醒开关
|
||
@property(nonatomic,copy)NSString *waterRemind;
|
||
//提醒周期
|
||
@property(nonatomic,copy)NSString *remindCycle;
|
||
// 是否授权
|
||
@property(nonatomic,copy)NSString *isBlacklist;
|
||
@property(nonatomic,copy)NSString*brandName;//厂家名称
|
||
@property(nonatomic,copy)NSString*brandIntroduce;//厂家介绍
|
||
@property(nonatomic,copy)NSString*logo;
|
||
//新加水族箱 硬件设备类型
|
||
@property(nonatomic,copy) NSString *type;
|
||
|
||
|
||
//以下字段新设备可以不用 只按type 分类 老设备暂时加上
|
||
//设备IP
|
||
@property(nonatomic,copy)NSString *deviceIp;
|
||
|
||
//设备最后一次登陆时间
|
||
@property(nonatomic,copy)NSString *loginTime;
|
||
|
||
//控制数
|
||
@property(nonatomic,assign) NSNumber * controlAmount;
|
||
|
||
//定时器数
|
||
@property(nonatomic,assign) NSNumber * timerAmount;
|
||
|
||
//图标 根地址
|
||
@property(nonatomic,copy) NSString *iconLink;
|
||
//是否自定义图标
|
||
|
||
@property(nonatomic,copy) NSString *isCustomIcon;
|
||
|
||
//所有图标名
|
||
@property(nonatomic,copy) NSString *allIconName;
|
||
|
||
//自定义选择的名称,用逗号分割
|
||
@property(nonatomic,copy) NSString *allShowName;
|
||
//保存的图标名称 用逗号分割
|
||
@property(nonatomic,copy) NSString *customIconName;
|
||
|
||
//保存的 图标名字 用逗号分割
|
||
@property(nonatomic,copy) NSString *customShowName;
|
||
|
||
// 默认图标名称,用逗号分割
|
||
@property(nonatomic,copy) NSString *defaultIconName;
|
||
|
||
//默认图标名字
|
||
@property(nonatomic,copy) NSString *defaultShowName;
|
||
|
||
//更新时间 缓存时间
|
||
@property(nonatomic,copy)NSString *updateTime;
|
||
|
||
//是否有背光
|
||
@property(nonatomic,copy)NSString *isLightness;
|
||
|
||
//是否有柜灯
|
||
@property(nonatomic,copy)NSString *isSarkLamp;
|
||
|
||
//有无工作模式
|
||
@property(nonatomic,copy)NSString *isWorkModel;
|
||
|
||
@property(nonatomic,copy) NSString *isPushWendu;
|
||
|
||
@property(nonatomic,copy) NSString *userId;
|
||
|
||
@property(nonatomic,copy) NSString *venderDto;
|
||
@property (nonatomic, strong) NSString *storeName;//宠物店
|
||
|
||
// 厂家 信息vender
|
||
//厂家
|
||
@property(nonatomic,copy)NSString*appShow;
|
||
|
||
-(instancetype)initWithDict:(NSDictionary *)dict;
|
||
|
||
@end
|