//
//  AssetInventoryTableViewCell.h
//  EAMiPad
//
//  Created by Lakshmi Kothapalli on 10/26/12.
//
//

#import <UIKit/UIKit.h>


@protocol AssetInventoryTableViewCellDelegate<NSObject>
- (void)AssetInventoryTableViewCellFoundPressed:(int)index
                                          Found:(BOOL)found
                                     atCellView:(UIView *)cellView;
- (void)AssetInventoryTableViewCellNotFoundPressed:(int)index
                                          NotFound:(BOOL)notFound
                                        atCellView:(UIView *)cellView;
- (void)AssetInventoryTableViewCellFoundAtDifferentLocPressed:(int)index
                                               atDifferentLoc:(BOOL)foundAtDifferentLoc
                                                   atCellView:(UIView *)cellView;
@end

@interface AssetInventoryTableViewCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UIButton     *buttonFound;
@property (strong, nonatomic) IBOutlet UIButton     *buttonNotFound;
@property (strong, nonatomic) IBOutlet UIButton     *buttonFoundAtDifferentLoc;
@property (strong, nonatomic) IBOutlet UILabel      *labelFound;
@property (strong, nonatomic) IBOutlet UILabel      *labelNotFound;
@property (strong, nonatomic) IBOutlet UILabel      *labelFoundAtDiffLoc;
@property (strong, nonatomic) IBOutlet UILabel      *labelErrorMessage;
@property (strong, nonatomic) IBOutlet UILabel      *labelAssetDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelAssetNumber;
@property (strong, nonatomic) IBOutlet UILabel      *labelStatus;
@property (strong, nonatomic) IBOutlet UILabel      *labelStatusDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelObservedLocation;
@property (strong, nonatomic) IBOutlet UILabel      *labelObservedLocationDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelSystemLocation;
@property (strong, nonatomic) IBOutlet UILabel      *labelSystemLocationDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelResolution;
@property (strong, nonatomic) IBOutlet UILabel      *labelResolutionDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelInventoryVerificationDate;
@property (strong, nonatomic) IBOutlet UILabel      *labelverificationDate;
@property (strong, nonatomic) IBOutlet UILabel      *labelNeedsDisposition;
@property (strong, nonatomic) IBOutlet UILabel      *labelDisposition;
@property (strong, nonatomic) IBOutlet UILabel      *labelSuccessOrFailure;

@property (strong, nonatomic) IBOutlet UILabel      *labelXCoordinate;
@property (strong, nonatomic) IBOutlet UILabel      *labelXCoordinateDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelYCoordinate;
@property (strong, nonatomic) IBOutlet UILabel      *labelYCoordinateDesc;
@property (strong, nonatomic) IBOutlet UILabel      *labelZCoordinate;
@property (strong, nonatomic) IBOutlet UILabel      *labelZCoordinateDesc;

@property (strong, nonatomic) IBOutlet UIView       *viewSelectionGroup;

@property (nonatomic,) BOOL found;
@property (nonatomic,) BOOL notFound;
@property (nonatomic,) BOOL foundAtDifferentLoc;
@property (nonatomic,) BOOL updateLocation;
@property (nonatomic,) BOOL createWO;
@property (nonatomic, weak) id delegate;
@property (nonatomic) int index;


- (IBAction)buttonFoundPressed:(id)sender;
- (IBAction)buttonNotFoundPressed:(id)sender;
- (IBAction)buttonFoundAtDifferentLocPressed:(id)sender;
- (void)resetButtonBackground;
@end
