//
//  CommandClassControlDetailView.h
//  kneet
//
//  Created by Jason Lee on 4/29/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommandClassControlView.h"

@class DeviceModel;
@class CustomImageView;

@interface CommandClassControlDetailView : CommandClassControlView {

}

@property (assign, nonatomic) BOOL isMendatoryNode;

@end

@class CustomSwitch;
@class CustomButton;

@interface CommandClassSwitchDetailView : CommandClassSwitchView {

}

@property (weak, nonatomic) IBOutlet CustomButton *btnNode;
@property (weak, nonatomic) IBOutlet CustomButton *btnOn;
@property (weak, nonatomic) IBOutlet CustomButton *btnOff;
@property (weak, nonatomic) IBOutlet UIView *pcontainer;
@property (weak, nonatomic) IBOutlet UIImageView *imgvProgress;

- (IBAction)btnOnTouched:(id)sender;
- (IBAction)btnOffTouched:(id)sender;

@end


@interface CommandClassValveDetailView : CommandClassValveView

@property (weak, nonatomic) IBOutlet CustomButton *btnNode;
@property (weak, nonatomic) IBOutlet CustomButton *btnClose;

@property (weak, nonatomic) IBOutlet UIView *pcontainer;
@property (weak, nonatomic) IBOutlet UIImageView *imgvProgress;

- (IBAction)btnCloseTouched:(id)sender;

@end

#pragma mark - Sensors

@class CustomLabel;

@interface CommandClassSensorBinaryDetailView : CommandClassSensorBinaryView
@property (weak, nonatomic) IBOutlet CustomButton *btnNode;
@property (weak, nonatomic) IBOutlet CustomLabel *lblNodeName;

@end


@interface CommandClassSensorMultiLevelDetailView : CommandClassSensorMultiLevelView

@property (weak, nonatomic) IBOutlet CustomButton *btnNode;
@property (weak, nonatomic) IBOutlet CustomLabel *lblCondition;
@property (weak, nonatomic) IBOutlet CustomLabel *lblNodeName;


@end


