//
//  ChangeDeviceNamePopupView.h
//  OneCable
//
//  Created by nComz on 2017. 5. 12..
//  Copyright © 2017년 ntels. All rights reserved.
//

@import UIKit;
#import "CustomAlertView.h"

@protocol changeDeviceNameDelegate <NSObject>

- (void)changeDeviceName:(NSString *)deviceName;

@end

@class CustomTextField;
@class DeviceDetailModel;
@class DeviceModel;

@interface ChangeDeviceNamePopupView : CustomAlertView

@property (strong, nonatomic) DeviceModel *deviceModel;
@property (strong , nonatomic) DeviceDetailModel *deviceDetailModel;
@property (weak, nonatomic) IBOutlet CustomTextField *txtInputDeviceName;  // 장치 이름

- (id)initFromNib:(DeviceDetailModel*)detailModel;
- (void)showChangeDevice:(DeviceModel*)deviceModel;

@property(weak, nonatomic) id <changeDeviceNameDelegate> delegate;

@end
