杀菌关闭时不显示数值
This commit is contained in:
+5
-1
@@ -338,7 +338,11 @@
|
||||
|
||||
//float TPlabel=mac/10+(mac%10)*0.1;
|
||||
NSString *lasttime = [NSString stringWithFormat:@"%lld",mac1];
|
||||
self.controBtnImg.image=[self.controBtnImg.image imageWaterMarkWithString:lasttime rect:CGRectMake(140, 60, 60, 60) attribute:@{NSForegroundColorAttributeName:[UIColor redColor],NSFontAttributeName:[UIFont systemFontOfSize:25]}];
|
||||
NSString *stateString1 = [xuan3fmodel.uvLamp substringWithRange:NSMakeRange(2, 2)];
|
||||
if ([stateString1 isEqualToString:@"01"]) {
|
||||
self.controBtnImg.image=[self.controBtnImg.image imageWaterMarkWithString:lasttime rect:CGRectMake(140, 60, 60, 60) attribute:@{NSForegroundColorAttributeName:[UIColor redColor],NSFontAttributeName:[UIFont systemFontOfSize:25]}];
|
||||
}
|
||||
|
||||
|
||||
}else if (index == 3){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user