local count = 0
local function counter()
	count = count + 1
	return count
end
-------DEVICE ID-------
devices = {}
-- moved forward for correct initialization of another devices
-- do not changed folowing sequence for sim
devices["ELEC_INTERFACE"]			= counter()
devices["FUELSYS_INTERFACE"]		        = counter()
devices["ENGINE_INTERFACE"]			= counter() -- 3
devices["HYDRO_SYS_INTERFACE"]		        = counter()
devices["OPB_1"]			        = counter() -- 5
devices["AGB_3K_LEFT"]				= counter()
devices["AGB_3K_RIGHT"]				= counter()
devices["SPUU_52"]				= counter()
devices["NAVLIGHT_SYSTEM"]			= counter()
devices["SOUND_SYSTEM"] 			= counter() -- 10
devices["VMS"]					= counter()
devices["WEAPON_SYS"]				= counter()
devices["VECTOR"]				= counter()
devices["GMK1A"]				= counter()
devices["DISS_15"]				= counter() -- 15
devices["AUTOPILOT"]				= counter()
devices["CPT_MECH"]				= counter() -- 17
devices["RADAR_ALTIMETER"]			= counter()
devices["FIRE_EXTING_INTERFACE"]	        = counter()
devices["MISC_SYSTEMS_INTERFACE"]	        = counter() -- 20
devices["SYS_CONTROLLER"]			= counter()
devices["PULSE_TIMER"]				= counter()
devices["HEAD_WRAPPER"]				= counter()
devices["TURN_SLIP_IND"]			= counter()
devices["FM_PROXY"]				= counter() -- 25
devices["BAR_ALTIMETER_L"]			= counter()
devices["BAR_ALTIMETER_R"]			= counter()
devices["IAS_IND_L"]				= counter()
devices["IAS_IND_R"]				= counter()
devices["VARIOMETER_L"]				= counter() -- 30
devices["VARIOMETER_R"]				= counter()
devices["CORRECTION_INTERRUPT"]		        = counter()
devices["REMOTE_COMPASS"]                       = counter()	
devices["HSI_L"]        		        = counter()	
devices["HSI_R"] 		                = counter() -- 35
devices["SPU_7"] 		                = counter()	
devices["JADRO_1A"] 		                = counter()	
devices["R_863"] 		                = counter()	
devices["R_828"] 		                = counter()	
devices["ARC_9"] 		                = counter() -- 40
devices["ARC_UD"] 		                = counter()	
devices["CARGO_CAM"] 	                        = counter()
devices["KNEEBOARD"] 				= counter()
devices["MACROS"]          			= counter()
devices["CLOCK"]				= counter() -- 45
devices["LIGHT_SYSTEM"]				= counter()
devices["PKV"]					= counter()
devices["UV_26"]				= counter()
devices["HELMET_DEVICE"]			= counter()
devices["STANDBY_COMPASS"]			= counter() -- 50
devices["EXT_CARGO_EQUIPMENT"]		        = counter()
devices["SIGNAL_FLARES"]			= counter()
devices["HEATER_KO50"]				= counter()
devices["AUTOPILOT_ADJUSTMENT"]		         = counter()
devices["SARPP12DM"]				= counter() -- 55
devices["RECORDER_P503B"]			= counter()
devices["IFF"]					= counter()
devices["EXTERNAL_CARGO_SPEECH"]	        = counter()
devices["EXTERNAL_CARGO_VIEW"]		        = counter()