//
//  EquipmentViewController.m
//  EC145Gen
//
//  Created by Vadim on 4/22/14.
//
//

#import "EquipmentViewController.h"
#import "MedicalListTVController.h"
#import "UtilityCategories.h"

@interface EquipmentViewController ()

@end

@implementation EquipmentViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    MedicalListTVController* controller = [self childControllerOfClass:[MedicalListTVController class]];
    //[controller setEquipmentPackages:_equipmentPackages];
    controller.equipmentPackages = _equipmentPackages;
}

- (BOOL)shouldAutorotate {
    return YES;
}


- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
