






#import "ForPlanIcyScalingCutCell.h"
#import "HisGeometry.h"
#import "Masonry.h"

@implementation ForPlanIcyScalingCutCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        
        self.backgroundColor = UIColor.whiteColor;
        self.contentView.backgroundColor = UIColor.whiteColor;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        
        self.renewedAirView = [UIImageView new];
        self.renewedAirView.tintColor = [HisGeometry schedulerColor];
        self.renewedAirView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.renewedAirView];
        [self.renewedAirView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.askDemandWas);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(HisGeometry.sinkIcyLeaky.musicLookFit);
        }];
        
        
        self.bondModeName = [UILabel new];
        self.bondModeName.font = [UIFont boldSystemFontOfSize:16];
        self.bondModeName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.bondModeName];
        [self.bondModeName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.renewedAirView.mas_right).offset(HisGeometry.sinkIcyLeaky.askDemandWas);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.entropyMuteTime = [UILabel new];
        self.entropyMuteTime.font =  [UIFont systemFontOfSize:11];
        self.entropyMuteTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.entropyMuteTime];
        [self.entropyMuteTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(HisGeometry.sinkIcyLeaky.lemmaBeacon);
            make.left.equalTo(self.bondModeName);
        }];
    }
    return self;
}

@end
