--cree pour controler les plages des frequences
--Initiated by MAIN_NextMission.lua
------------------------------------------------------------------------------------------------------- 

-- Miguel Fichier Revision  M34.b
------------------------------------------------------------------------------------------------------- 

-- miguel21 modification M34.b  custom FrequenceRadio

frequency = {
	["A-10C"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   UHF ARC-164 20 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 10,
			},
			[2] = {						--radio 2
				min = 116,				--minimum radio frequency in mHz   VHF ARC-186 20 preset channels
				max = 151,				--maxium  radio frequency in mHz
				nbCanal = 10,			-- ????
			},
		},
	},
	["AJS37"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 103,				--minimum radio frequency in mHz   UHF FR-22 50 Khz interval    10  preset channels
				max = 400,
				nbCanal = 7,
			},
			-- [2] = {						--radio 1 mode 2
				-- min = 103,				--minimum radio frequency in mHz   VHF FR-22 25 Khz interval    10  preset channels
				-- max = 155,				--maxium  radio frequency in mHz
			-- },
			-- [3] = {						--radio 2
				-- min = 228,				--minimum radio frequency in mHz   VHF FR-24 3 preset channels only
				-- max = 399,				--maxium  radio frequency in mHz
			-- },
		},
	},
	["AV8BNA"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 30,				--minimum radio frequency in mHz   V/UHF FM ARC-210 26 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 26,
			},
			[2] = {						--radio 2
				min = 30,				--minimum radio frequency in mHz   V/UHF FM ARC-210 26 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 26,
			},
			[3] = {						--radio 3
				min = 30,				--minimum radio frequency in mHz   V/UHF FM ARC-210 30 preset channels  RCS
				max = 400,				--maxium  radio frequency in mHz
				nbCanal = 30,
			},
		},
	},
	["F-5E"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   UHF ARC-164 20 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
		},
	},
	["A-4C"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   UHF ARC-27 20 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
		},
	},
	["F-14B"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   UHF ARC-159    20  preset channels
				max = 399,
				nbCanal = 20,
			},
			[2] = {						--radio 2
				min = 30,				--minimum radio frequency in mHz   VHF ARC-182    30  preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 30,
			},
		},
	},
	["M-2000C"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   UHF     20  preset channels
				max = 399,
				nbCanal = 20,
			},
			[2] = {						--radio 2
				min = 118,				--minimum radio frequency in mHz   V/UHF   20  preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
		},
	},
	["MiG-19P"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 100,				--minimum radio frequency in mHz   RSIU-4V 6 preset channels only
				max = 150,				--maxium  radio frequency in mHz
				nbCanal = 6,
			},
		},	
	},
	["MiG-21Bis"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 118,				--minimum radio frequency in mHz   RS-832 0 to 19 preset channels only
				max = 390,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
		},
	},
	["FA-18C_hornet"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 30,				--minimum radio frequency in mHz   V/UHF FM ARC-210 20 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
			[2] = {						--radio 2
				min = 30,				--minimum radio frequency in mHz   V/UHF FM ARC-210 20 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
		},
	},
	["F-16C_50"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   V/UHF FM ARC-164 20 preset channels
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
			[2] = {						--radio 2
				min = 30,				--minimum radio frequency in mHz   V/UHF FM ARC-210 20 preset channels ???
				max = 155,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
		},
	},
	["F-86F Sabre"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz   V/UHF FM ARC-210 20 preset channels ???
				max = 269,				--maxium  radio frequency in mHz
				nbCanal = 18,
			},
		},
	},
	["MiG-15bis"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 3.750,				--minimum radio frequency in mHz   V/UHF FM ARC-210 20 preset channels ???
				max = 5.000,				--maxium  radio frequency in mHz
				nbCanal = 1,
			},
		},
	},
	["UH-1H"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 225,				--minimum radio frequency in mHz
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
			[2] = {						--radio 2
				min = 116,				--minimum radio frequency in mHz
				max = 149,				--maxium  radio frequency in mHz
				nbCanal = 1,
			},
		},
	},
	["Mi-8MT"] = {
		radio = {						--range of radio frequencies of player aircraft
			[1] = {						--radio 1
				min = 220,				--minimum radio frequency in mHz
				max = 399,				--maxium  radio frequency in mHz
				nbCanal = 20,
			},
			[2] = {						--radio 2
				min = 20,				--minimum radio frequency in mHz
				max = 59.97,				--maxium  radio frequency in mHz
				nbCanal = 10,
			},
		},
	},
}	
	