//
//  ChargingIndicatorTVC.swift
//  MyTatvaCare
//
//  Created by Nirav Ramani on 06/05/25.
//

import UIKit

class ChargingIndicatorTVC: UITableViewCell {

    @IBOutlet weak var labelCharging: UILabel!
    @IBOutlet weak var labelChargingDesc: UILabel!
    @IBOutlet weak var labelFullyCharged: UILabel!
    @IBOutlet weak var labelFullyChargedDesc: UILabel!
    
    @IBOutlet var image2: UIImageView!
    @IBOutlet var image1: UIImageView!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        image1.image = loadImage(named: "charging")
        image2.image = loadImage(named: "fully_charged")
        labelCharging.textColor = CustomColor.shared.primaryBlack
        labelFullyCharged.textColor = CustomColor.shared.primaryBlack
        
        labelChargingDesc.textColor = CustomColor.shared.gray
        labelFullyChargedDesc.textColor = CustomColor.shared.gray
        
        labelCharging.text = "Charging"
        labelFullyCharged.text = "Fully Charged"
        
        labelChargingDesc.text = "Flashing White Indicator"
        labelFullyChargedDesc.text = "Blue Indicator"
        
        labelCharging.font = FontManager.font(ofSize: 14, weight: .medium)
        labelFullyCharged.font = FontManager.font(ofSize: 14, weight: .medium)
        
        labelChargingDesc.font = FontManager.font(ofSize: 12, weight: .regular)
        labelFullyChargedDesc.font = FontManager.font(ofSize: 12, weight: .regular)
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
