杀菌倒计时,恒温温度设定修改
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#import "QRCodeGenerator.h"
|
||||
#import "DeviceModel.h"
|
||||
#import "UINavigationBar+Background.h"
|
||||
#import "IfishDeviceInfo.h"
|
||||
@interface CreatErWeiMaController ()
|
||||
@property(nonatomic,strong)NSArray*arry;
|
||||
@end
|
||||
@@ -42,8 +43,25 @@
|
||||
// }
|
||||
|
||||
//DeviceModel*model=[_arry objectAtIndex:0];//分享选中设备
|
||||
if ([self.erdevicemodel.deviceId isKindOfClass:[NSNumber class]]) {
|
||||
self.erdevicemodel.deviceId=[NSString stringWithFormat:@"%ld",self.erdevicemodel.deviceId.integerValue];
|
||||
}
|
||||
NSString*str=[NSString stringWithFormat:@"deviceId=%@",self.erdevicemodel.deviceId.length?self.erdevicemodel.deviceId:[CommonUtils getNotNilStr:self.deviceid]];
|
||||
self.erWeiMaView.image=[QRCodeGenerator qrImageForString:str imageSize:self.erWeiMaView.bounds.size.width];
|
||||
if ([self.erdevicemodel.type isEqualToString:DECICE_TYPE_XUANDUO3F])
|
||||
{
|
||||
self.tips.text=@"点击扫一扫,和我一起控制我的宠物笼吧!";
|
||||
}
|
||||
else if (self.deviceid)
|
||||
{
|
||||
self.tips.text=@"点击扫一扫,和我一起控制我的摄像头吧!";
|
||||
}
|
||||
else if (self.deviceid)
|
||||
{
|
||||
self.tips.text=@"点击扫一扫,和我一起控制我的水族箱吧!";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
- (void)didReceiveMemoryWarning {
|
||||
|
||||
Reference in New Issue
Block a user