Initial commit

This commit is contained in:
ifish
2017-08-15 16:59:01 +08:00
commit bdc83e07ef
5766 changed files with 423223 additions and 0 deletions
@@ -0,0 +1,40 @@
//
// XuToControlName.m
// Ifish
//
// Created by imac on 2017/6/15.
// Copyright © 2017年 lianlian. All rights reserved.
//
#import "XuToControlName.h"
@implementation XuToControlName
-(void)encodeWithCoder:(NSCoder*)aCoder{
[aCoder encodeObject:_airPump forKey:@"airPump"];
[aCoder encodeObject:_light1 forKey:@"light1"];
[aCoder encodeObject:_light2 forKey:@"light2"];
[aCoder encodeObject:_huLiDeng forKey:@"huLiDeng"];
[aCoder encodeObject:_waterPump forKey:@"waterPump"];
[aCoder encodeObject:_jiaRe forKey:@"jiaRe"];
[aCoder encodeObject:_macAddress forKey:@"macAddress"];
}
-(id)initWithCoder:(NSCoder*)aDecoder{
if (self=[super init]) {
self.airPump = [aDecoder decodeObjectForKey:@"airPump"];
self.light1 = [aDecoder decodeObjectForKey:@"light1"];
self.light2 = [aDecoder decodeObjectForKey:@"light2"];
self.huLiDeng = [aDecoder decodeObjectForKey:@"huLiDeng"];
self.waterPump = [aDecoder decodeObjectForKey:@"waterPump"];
self.jiaRe=[aDecoder decodeObjectForKey:@"jiaRe"];
self.macAddress = [aDecoder decodeObjectForKey:@"macAddress"];
}
return self;
}
@end