39 lines
797 B
Objective-C
39 lines
797 B
Objective-C
//
|
|
// TabMineDeivceListViewCell.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/11/2.
|
|
// Copyright © 2016年 lianxiang. All rights reserved.
|
|
//
|
|
|
|
#import "TabMineDeivceListViewCell.h"
|
|
|
|
#import "FormatTankAddCamera.h"
|
|
|
|
@implementation TabMineDeivceListViewCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
|
|
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
-(void)setMineDeivceListData:(NSMutableArray *)totalArr AtIndexPath:(NSIndexPath *)indexPath{
|
|
|
|
FormatTankAddCamera *model =totalArr[indexPath.row];
|
|
|
|
self.deviceImg.image = [UIImage imageNamed:model.imgeaName];
|
|
self.deviceNamelabel.text =model.deviceName;
|
|
|
|
}
|
|
|
|
@end
|