//
//  riskass_form.h
//  EC145
//
//  Created by KulanaMac on 5/26/14.
//
//

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

@interface riskass_form : NSObject

@property NSString *Title;
@property int yellowThreshold;
@property int orangeThreshold;
@property int redThreshold;
@property NSString *recomm_green;
@property NSString *recomm_yellow;
@property NSString *recomm_orange;
@property NSString *recomm_red;
@property (nonatomic) NSMutableArray *categories;
@property (nonatomic) int maxPoints;




-(id) initWithTitle:(NSString*)title AndYellowT:(int)yellowThreshold AndOrangeT:(int)orangeTheshold AndRedT:(int)redThreshold AndRecGreen:(NSString*)recomm_green AndRecYellow:(NSString*)recomm_yellow AndRecOrange:(NSString*)recomm_orange AndRecRed:(NSString*)recomm_red;



- (id) initWithCoder: (NSCoder *)coder;

- (void) encodeWithCoder: (NSCoder *)coder;

-(void) setCategories:(NSMutableArray *)categories;

-(void) addCategory:(riskass_category *)cat;

-(riskass_category *) getCategory:(int)i;

-(void) setMaxPoints:(int)maxPoints;

@end
