| | |
| | | |
| | | cloudRateStr = @[@"x1",@"x4",@"x8",@"x16",@"x32"]; |
| | | sdCardRateStr = @[@"x1",@"x4",@"x8",@"x16"]; |
| | | |
| | | //2021-07-21 隐藏streamPlayBtn |
| | | [self.streamPlayBtn setHidden:YES]; |
| | | |
| | | } |
| | | |
| | | - (void)viewWillDisappear:(BOOL)animated { |
| | |
| | | cell.deviceSerial = _cameraInfo.deviceSerial; |
| | | cell.isSelectedDevice = _isSelectedDevice; |
| | | cell.delegate = self; |
| | | //2021-07-21 隐藏下载按钮 |
| | | [cell.downloadBtn setHidden:YES]; |
| | | |
| | | if(_isSelectedDevice) |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | [UIView dd_showMessage:[NSString stringWithFormat:@"error code is %d",(int) error.code] onParentView:self.view]; |
| | | NSString *mes = [NSString stringWithFormat:@"%@(%ld)",NSLocalizedString(@"setting_opration_fail", @"操作失败"), (long)error.code]; |
| | | [UIView dd_showMessage:mes onParentView:self.view]; |
| | | [weakSelf.playbackList.header endRefreshing]; |
| | | [weakSelf.records removeAllObjects]; |
| | | [weakSelf.playbackList reloadData]; |
| | |
| | | if (error) |
| | | { |
| | | if (error.code > 0) { |
| | | [UIView dd_showMessage:[NSString stringWithFormat:@"error code is %d",(int) error.code] onParentView:self.view]; |
| | | NSString *mes = [NSString stringWithFormat:@"%@(%ld)",NSLocalizedString(@"setting_opration_fail", @"操作失败"), (long)error.code]; |
| | | [UIView dd_showMessage:mes onParentView:self.view]; |
| | | |
| | | } |
| | | [weakSelf.playbackList.header endRefreshing]; |
| | | [weakSelf.records removeAllObjects]; |