-- ----------------------------
-- FSU版 功能列表
-- v3.7.32.1
-- ----------------------------
TRUNCATE TABLE TBL_Function;
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,`Level`,`Comment`) VALUES(2000000,'设备','Device',0,'设备组态页面');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(2004000,'设备控制','DeviceControl',2000000,1,'详细信息-设备控制');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,`Level`,`Comment`) VALUES(3000000,'告警','Alarm',0,'实时告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3002000,'告警确认','Alarm Confirm',3000000,1,'告警-告警确认');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3003000,'告警结束','Alarm End',3000000,1,'告警-告警结束');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3005000,'可见告警','Visible Alarm',3000000,0,'告警-可见告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3005001,'提示信息','Level 4',3005000,0,'告警-可见告警-提示信息');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3005002,'一般告警','Level 3',3005000,0,'告警-可见告警-一般告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3005003,'重要告警','Level 2',3005000,0,'告警-可见告警-重要告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(3005004,'紧急告警','Level 1',3005000,0,'告警-可见告警-紧急告警');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,`Level`,`Comment`) VALUES(4000000,'历史','History',0,'历史');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4001000,'告警分布','History Alarm KPI',4000000,0,'历史-历史告警分布');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4003000,'历史告警','History Alarm',4000000,0,'历史-历史告警记录');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4005000,'历史数据','History Signal',4000000,0,'历史-历史数据记录');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4007000,'用户操作','Operation Record',4000000,0,'历史-用户操作记录');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4009000,'刷卡记录','Credit Card Record',4000000,0,'历史-刷卡记录');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4011000,'可见历史告警','Visible History Alarm',4000000,0,'历史-可见告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4011001,'提示信息','Level 4',4011000,0,'历史-可见告警-提示信息');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4011002,'一般告警','Level 3',4011000,0,'历史-可见告警-一般告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4011003,'重要告警','Level 2',4011000,0,'历史-可见告警-重要告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4011004,'紧急告警','Level 1',4011000,0,'历史-可见告警-紧急告警');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4012000,'历史图表','History Chart',4000000,2,'历史-历史图表');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(4013000,'历史抓拍','History Capture',4000000,2,'历史-历史抓拍');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,`Level`,`Enable`,`Comment`) VALUES(5000000,'视频','Camera',2,0,'视频');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Enable`,`Comment`) VALUES(5002003,'RTSP视频预览','RTSP Camera View',5000000,2,0,'视频-RTSP视频预览');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Enable`,`Comment`) VALUES(5003000,'RTSP视频配置','RTSP Camera Config',5000000,2,0,'视频-RTSP视频配置');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,`Level`,`Comment`) VALUES(6000000,'配置','Setting',1,'配置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6001000,'协议管理','Protocol',6000000,1,'配置-协议管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6002000,'配置管理','Config',6000000,1,'配置-配置管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6002001,'设备管理','Device Config',6002000,1,'配置管理-设备信息管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6002002,'局站管理','Station Config',6002000,2,'配置管理-局站信息管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6002003,'中心管理','Central Config',6002000,2,'配置管理-中心信息管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6002004,'模板管理','Template Config',6002000,1,'配置管理-模板管理');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6003000,'组态管理','Configuration',6000000,1,'配置-组态管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6004000,'接口管理','Port Config',6000000,1,'配置-接口管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6004001,'移动B接口配置','ChinaMobile',6004000,1,'接口配置-移动B接口配置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6004002,'联通B接口配置','ChinaUnicom',6004000,1,'接口配置-联通B接口配置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6004003,'SNMP配置','SNMP',6004000,1,'接口配置-SNMP配置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6004004,'调试日志','Debug',6004000,2,'接口配置-调试日志');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6005000,'告警通知','Notify',6000000,1,'配置-告警通知');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6006000,'人员设置','Employee',6000000,1,'配置-告警通知-人员设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6007000,'告警联动','Linkage',6000000,1,'配置-告警联动');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6008000,'数据管理','History Data',6000000,1,'配置-数据管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6009000,'权限管理','Authority',6000000,1,'配置-权限管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6010000,'界面设置','Interface',6000000,1,'配置-界面设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6013000,'门禁管理','Door Manage',6000000,1,'配置-纽贝尔门禁管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Enable`,`Comment`) VALUES(6013001,'ZK门禁管理','ZKDoor Manage',6000000,2,0,'配置-中控门禁管理');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6018000,'网络通知','Net Notify',6000000,1,'配置-网络通知');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6023000,'告警建议库','Alarm Expert',6000000,2,'配置-告警建议库');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6024000,'设备抄表','Equipment Inspection',6000000,2,'配置-设备抄表');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6025000,'图表配置','History Chart Config',6000000,2,'配置-图表配置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(6026000,'抓拍配置','Capture Config',6000000,2,'配置-抓拍配置');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,`Level`,`Comment`) VALUES(7000000,'系统','System',-1,'系统');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7001000,'时间设置','Timing',7000000,0,'系统-时间设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7002000,'语言设置','Language',7000000,0,'系统-语言设置');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7003000,'网络设置','Network Setting',7000000,0,'系统-网络设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7003001,'IP设置','IP Setting',7003000,0,'网络设置-IP设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7003002,'无线设置','WIFI Setting',7003000,1,'网络设置-无线设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7003003,'拨号设置','4G Setting',7003000,1,'网络设置-拨号设置');

INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7004000,'密码设置','Modify Setting',7000000,0,'系统-密码设置');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7005000,'关于','About',7000000,0,'系统-关于');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7007000,'重启','Reboot',7000000,0,'系统-重启');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7008000,'关机','Shutdown',7000000,1,'系统-关机');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7009000,'备份','Backup',7000000,1,'系统-备份');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7010000,'还原','Restore',7000000,1,'系统-还原');
INSERT INTO TBL_Function(FunctionId,FunctionName,FunctionAlias,ParentFunctionId,`Level`,`Comment`) VALUES(7015000,'告警等级配置','Alarm level config',7000000,2,'系统-告警等级配置');
