摄像头连接修改,锁屏时杀菌倒计时的问题
This commit is contained in:
+2
-2
@@ -320,7 +320,7 @@
|
||||
|
||||
UIImage*uvsel=[UIImage imageNamed:@"杀菌开"];
|
||||
uvsel=[uvsel imageWaterMarkWithString:stringTemp rect:CGRectMake(140, 60, 60, 60) attribute:@{NSForegroundColorAttributeName:[UIColor redColor],NSFontAttributeName:[UIFont systemFontOfSize:30]}];
|
||||
[self.light1 setImage:uvsel forState:UIControlStateSelected];
|
||||
// [self.light1 setImage:uvsel forState:UIControlStateSelected];
|
||||
|
||||
}
|
||||
}
|
||||
@@ -339,7 +339,7 @@
|
||||
Xuanduo3fModel*model=(Xuanduo3fModel*)_dataModel;
|
||||
NSString *stateString1 = [model.uvLamp substringWithRange:NSMakeRange(2, 2)];
|
||||
//关闭或者首次时杀菌取设置的值,之后才是心跳的
|
||||
if ([stateString1 isEqualToString:@"00"]||self.heartCount<2)
|
||||
if ([stateString1 isEqualToString:@"00"])
|
||||
{
|
||||
if (_cycleModel.lastTime.length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user