//
//  importConfigurations.h
//  SweetFleet
//
//  Created by Claus Richter on 4/3/18.
//
//

#import <UIKit/UIKit.h>

@interface importConfigurations : UIViewController {
    
    NSDictionary *backendDictionaryAircraftData;    
    int flagWeHaveACustomerFile;
    int flagWeHaveAbackendID;
    int flagWeHaveAnAircraftBackendID;
    NSString *backendID;
    NSMutableArray *arrayBackendIDforACtype;
    
    NSMutableArray *arrayACtypesToLoad;
    
    NSMutableArray *arrayDictAllAircraft;
    NSString *acReg;
    
    NSDictionary *dictionaryItem;
    
    NSMutableArray *arrayConfigurations;
   
    NSString *defaultConfigName;
    
    NSMutableArray *arrayConfigButtons;
    
    NSString *actypeForConfig;

    NSMutableArray *availableACManufacturerArray;
    
    NSMutableArray *availableACTypesArray;
    
    NSMutableDictionary *ACimagesDictionary;
    
    NSMutableDictionary *manifestLogoDictionary;
    
    NSMutableArray *customFilesArray;
    
    NSString *customerName;
    
    NSString *arrayKey;
    
    NSString *importedText;
    
    int flagLoadFromFleetControl;
    
    NSString *ACCategory;
    NSString *ACmanufacturer;    
    NSString *AC_Type;
    NSString *ACVariant;
    
    NSString *customerDataURL;
    NSString *baseDataURL;
    
   NSString *configID;
    
    int flagLoadOnlyFleetACs;
    
    
    NSMutableArray *allArrayACRegistration;
    NSMutableArray *allArrayConfigurationName;
    NSMutableArray *allArrayPackageName;
    NSMutableArray *allArrayConfigItemName;
    NSMutableArray *allArrayConfigItemWeight;
    NSMutableArray *allArrayConfigItemArmLong;
    NSMutableArray *allArrayConfigItemMomLong;
    NSMutableArray *allArrayConfigItemArmLat;
    NSMutableArray *allArrayConfigItemMomLat;
    NSMutableArray *allArrayConfigIteminOut;
    NSMutableArray *allArrayConfigItemLocked ;
    NSMutableArray *allArrayConfigItemData;
    NSMutableArray *allArrayConfigItemMoved;    
    NSMutableArray *allArrayConfigItemAltLong;
    NSMutableArray *allArrayConfigItemAltLat;
    NSMutableArray *allArrayConfigItemMovable;
    NSMutableArray *allArrayConfigItemTrigger;
    NSMutableArray *allArrayConfigItemR1;
    NSMutableArray *allArrayConfigItemR2;
    NSMutableArray *allArrayConfigItemR3;
    
}



- (void) checkForUpdatesEquipment;

- (void) loadAllAvailableAircraftListFromServer;



@property (nonatomic, strong)  NSMutableArray * arrayName1;

@property (nonatomic, strong)  NSMutableArray * arrayName2;

@property (nonatomic, strong)  NSMutableArray * arrayName3;

@property (nonatomic, strong)  NSMutableArray * arrayName4;

@property (nonatomic, strong)  NSMutableArray * arrayName5;

@property (nonatomic, strong)  NSMutableArray * arrayName6;

@property (nonatomic, strong)  NSMutableArray * arrayName7;

@property (nonatomic, strong)  NSMutableArray * arrayName8;

@property (nonatomic, strong)  NSMutableArray * arrayName9;

@property (nonatomic, strong)  NSMutableArray * arrayName10;

@property (nonatomic, strong)  NSMutableArray * arrayName11;

@property (nonatomic, strong)  NSMutableArray * arrayName12;

@property (nonatomic, strong)  NSMutableArray * arrayName13;

@property (nonatomic, strong)  NSMutableArray * arrayName14;

@property (nonatomic, strong)  NSMutableArray * arrayName15;

@property (nonatomic, strong)  NSMutableArray * arrayName16;

@property (nonatomic, strong)  NSMutableArray * arrayName17;

@property (nonatomic, strong)  NSMutableArray * arrayName18;

@property (nonatomic, strong)  NSMutableArray * arrayName19;
@property (nonatomic, strong)  NSMutableArray * arrayName20;
@property (nonatomic, strong)  NSMutableArray * arrayName21;
@property (nonatomic, strong)  NSMutableArray * arrayName22;
@property (nonatomic, strong)  NSMutableArray * arrayName23;
@property (nonatomic, strong)  NSMutableArray * arrayName24;
@property (nonatomic, strong)  NSMutableArray * arrayName25;



- (void) loadConfigurationData:(NSString*)dataLocation;

@end
