//
//  PeripheralModel.m
//  JXPrinterDemo
//
//  Created by 贾俊伟 on 2021/10/19.
//

#import "PeripheralModel.h"

@implementation PeripheralModel

+ (PeripheralModel *)modelWithPeripheral:(CBPeripheral *)peripheral address:(nonnull NSString *)address isSelected:(BOOL)isSelected {
    PeripheralModel *model = [[PeripheralModel alloc] init];
    model.peripheral = peripheral;
    model.address = address;
    model.isSelected = isSelected;
    return model;
}

@end

