Mini Kabibi Habibi

Current Path : C:/Program Files/Smart Professional Surveillance System/PC-NVR/Common/Lua/
Upload File :
Current File : C:/Program Files/Smart Professional Surveillance System/PC-NVR/Common/Lua/ATMHead.lua

--���ļ��е����ΪLUA��C������ݽ���ʱ�ı�־���
local Luah =
{
	Lua2C=
	{
		cardno = 1, serialno = 2, transaction_type = 3, 
		transaction_amount = 4, transaction_time = 5, machineno = 6,
		branchno = 7,errorcode = 8, rest_amount = 9,transaction_date = 10,
		hostip = 0x0b, emendtime = 0xa0, startnormalrec = 0xa1, stopnormalrec = 0xa2,
		setdelaytime = 0xa3,setreclen = 0xa4,showinfoon = 0xa5,showinfooff = 0xa6,
		pingcommand = 0xa7,setalarmout = 0xa8,setvideostandard = 0xa9,frameend = 0xfb,frameallend = 0xfc,
		clear = 0xfd, startrec = 0xfe, stoprec=0xff, resetalarm = 0xc0,
		require_state = 0xd0,open_insurance_door = 0xe0,close_insurance_door = 0xe1,
		money_out_notice = 0xf1,money_out_success = 0xf2,setpretime = 0xf3,systemrestart = 0xf4,systemshutdown = 0xf5,
		setautorecord = 0x100, setmanualrecord = 0x101, setstoprecord = 0x102, 
		setsinglesplit = 0x110, setmultisplit = 0x111,
		normalpauseplay = 0x120, stopplay = 0x121, fastplay = 0x122, slowplay = 0x123, 
		ptzup = 0x130, ptzdown = 0x131, ptzleft = 0x132, ptzright = 0x133, ptzzoomtele = 0x134, ptzzoomwide = 0x135, 
		setkey = 0x140,
		devicereboot = 0x150, deviceshutdown = 0x151, userlogin = 0x152,
	};

	C2Lua =
	{
		no_alarm = 0,sys_unstable_alarm = 1,disk_error_alarm = 2,
		other_alarm = 3,smoke_alarm = 4,frag_alarm = 5,concuss_alarm =6,
		disk_full_alarm = 7,
		camera_state_normal = 0xa0,camera_state_blind = 0xa1,
		camera_state_recording = 0xa2,cameral_state_videoloss = 0xa3,
	};
	extLua2C =
	{
		set_title_region1 = 0x0000,--0x0000
		set_title_region2 = 0x0001,
		set_self_osdtitle = 0x0002,
		frame_end = 0x0003,
		show_info_on = 0x0004,
		show_info_off = 0x0005,
		clear_msg = 0x0006,
		set_display_position = 0x0007,
		
		start_cardrec = 0x0100,--0x0100
		stop_cardrec = 0x0101,
		start_manrec = 0x0102,
		stop_manrec = 0x0103,
		
		emend_systime = 0x0200,--0x0200
		set_prerec_time = 0x0201,
		set_delayrec_time = 0x0202,
		set_video_format = 0x0203,
		set_record_len = 0x0204,
		set_alarm_out = 0x0205,
		system_shutdown = 0x0206,
		system_reboot = 0x0207,
		
		search_state = 0x0300,--0x0300
		ping_command = 0x0301,
		
		start_lua_timer = 0x0400,--0x0400
		stop_lua_timer = 0x0401,
		restart_lua_timer = 0x0402,
		
		pos_start_parse = 0x0500,--0x0500
		pos_parse = 0x0501,
		pos_stop_parse = 0x0502,
		pos_direct_parse = 0x0503,--ĿǰPos����ȫ���ô�ָ��

	};
	schLua =
	{
		sch_videomotion = 0x00,
		sch_videoblind = 0x01,
		sch_videoloss = 0x02,
		sch_alarmin = 0x03,
		sch_alarmout = 0x04,
		sch_hdd_error = 0x05,
		sch_hdd_nospace = 0x06,
		sch_hdd_noexist = 0x07,
		sch_record = 0x08,
		sch_nobitrate = 0x09,
		sch_net_abort = 0x0a,
		sch_avideoin_number = 0x0b,
		sch_alarmin_number = 0x0c,
		sch_alarmout_number = 0x0d,
	};
}
return Luah;