You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.4 KiB
62 lines
1.4 KiB
1 year ago
|
//
|
||
|
// WatchHomeDevMainCell.h
|
||
|
// tongxin
|
||
|
//
|
||
|
// Created by Apple on 2020/4/8.
|
||
|
// Copyright © 2020 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "CBAutoScrollLabel.h"
|
||
|
#import "Device.h"
|
||
|
#import "User.h"
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@interface WatchHomeDevMainCell : UITableViewCell
|
||
|
|
||
|
/**
|
||
|
选中的主设备的容器 View
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UIView *deviceMainView;
|
||
|
|
||
|
/**
|
||
|
// 选中的主设备的 头像
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UIImageView *deviceMainImageView;
|
||
|
/**
|
||
|
// 选中的主设备的 名称
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UILabel *deviceMainNameLabel;
|
||
|
|
||
|
/**
|
||
|
选中的主设备的最后一次 定位时间
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UILabel *deviceMainLocatTimeLabel;
|
||
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *TimeLabelWidthNSLC;
|
||
|
|
||
|
/**
|
||
|
选中的主设备的最后一次 定位的类型
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UIImageView *deviceLocatTypeImage;
|
||
|
/**
|
||
|
选中的主设备的最后一次 定位地址
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet CBAutoScrollLabel *deviceLocatAddressLabel;
|
||
|
|
||
|
/**
|
||
|
选中的主设备的电量图片
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UIImageView *mainBatteryImageView;
|
||
|
/**
|
||
|
选中的主设备的电量Label
|
||
|
*/
|
||
|
@property (strong, nonatomic) IBOutlet UILabel *mainBatteryLabel;
|
||
|
|
||
|
|
||
|
- (void)setBattery:(int)battery;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|