






#import "MinimizeInnerAlarmWeightedCalciumCell.h"
#import "HexDiscrete.h"
#import "Masonry.h"

@implementation MinimizeInnerAlarmWeightedCalciumCell

-(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.cancelsHerView = [UIImageView new];
        self.cancelsHerView.tintColor = [HexDiscrete prominentColor];
        self.cancelsHerView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.cancelsHerView];
        [self.cancelsHerView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(HexDiscrete.shelfTenSide.ruleOffVital);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(HexDiscrete.shelfTenSide.milePauseBad);
        }];
        
        
        self.storeOneName = [UILabel new];
        self.storeOneName.font = [UIFont boldSystemFontOfSize:16];
        self.storeOneName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.storeOneName];
        [self.storeOneName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.cancelsHerView.mas_right).offset(HexDiscrete.shelfTenSide.ruleOffVital);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.areAxesSoftTime = [UILabel new];
        self.areAxesSoftTime.font =  [UIFont systemFontOfSize:11];
        self.areAxesSoftTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.areAxesSoftTime];
        [self.areAxesSoftTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(HexDiscrete.shelfTenSide.backBalance);
            make.left.equalTo(self.storeOneName);
        }];
    }
    return self;
}

@end
