features:新绚多页面&设置页面&修改名字页面

This commit is contained in:
一只会编程的狮子
2019-04-14 22:06:35 +08:00
parent f86f21bd42
commit bc264e2d1f
56 changed files with 1256 additions and 52 deletions
@@ -18,6 +18,13 @@
[aCoder encodeObject:_waterPump forKey:@"waterPump"];
[aCoder encodeObject:_jiaRe forKey:@"jiaRe"];
[aCoder encodeObject:_macAddress forKey:@"macAddress"];
//新绚多
[aCoder encodeObject:_shajunLight forKey:@"shajunLight"];
[aCoder encodeObject:_zengyangPump forKey:@"zengyangPump"];
[aCoder encodeObject:_zaolangPump forKey:@"zaolangPump"];
[aCoder encodeObject:_xunhuanPump forKey:@"xunhuanPump"];
}
-(id)initWithCoder:(NSCoder*)aDecoder{
@@ -31,7 +38,11 @@
self.waterPump = [aDecoder decodeObjectForKey:@"waterPump"];
self.jiaRe=[aDecoder decodeObjectForKey:@"jiaRe"];
self.macAddress = [aDecoder decodeObjectForKey:@"macAddress"];
//新绚多
self.shajunLight = [aDecoder decodeObjectForKey:@"shajunLight"];
self.zengyangPump = [aDecoder decodeObjectForKey:@"zengyangPump"];
self.zaolangPump = [aDecoder decodeObjectForKey:@"zaolangPump"];
self.xunhuanPump = [aDecoder decodeObjectForKey:@"xunhuanPump"];
}
return self;