| | |
| | | #import "MessageListCell.h" |
| | | #import "UIImageView+EzvizOpenSDK.h" |
| | | #import "UIImageView+AFNetworking.h" |
| | | |
| | | #import "HDLAlarmInfo.h" |
| | | #import "DDKit.h" |
| | | |
| | | static dispatch_semaphore_t ezviz_sema; //全局信号量 |
| | |
| | | dispatch_semaphore_signal(ezviz_sema); |
| | | } |
| | | |
| | | - (void)setAlarmInfo:(EZAlarmInfo *)info |
| | | - (void)setAlarmInfo:(HDLAlarmInfo *)info |
| | | { |
| | | NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; |
| | | formatter.dateFormat = @"HH:mm:ss"; |
| | | self.timeLabel.text = [formatter stringFromDate:info.alarmStartTime]; |
| | | self.timeLabel.text = [formatter stringFromDate:[info getAlarmStartTime]]; |
| | | self.readStatusIcon.hidden = NO; |
| | | if(info.isRead) |
| | | if(info.isChecked) |
| | | { |
| | | self.readStatusIcon.hidden = YES; |
| | | } |