📄 anomalyweb.pl
字号:
#! /usr/bin/perl############################################################################### Name of template file to remove associated configs. If the template# filename is of the form <path/><Class><.xml>, associated configs are# presumed to be of the form <path/><Class>.+<.xml>. (i.e., something# between <Class> and <.xml> of the template.# Finally, the mode for the initial configuration. Can be NULL for no# initial configuration.##############################################################################$template_name = "xml/sensorConfigs/AnomalyWeb.xml";$template_init = "xml/sensorConfigs/AnomalyWebWindow10.xml";#$template_init = "";############################################################################### Array of resource costs for new configurations##############################################################################@rcosts = ( 0, 7, 9, 11, 12, 13 );############################################################################### Array of time values for each new configuration (assumes base unit of # template ) (base is seconds)##############################################################################@times = ( 0, 5, 10, 30, 60, 90 ); ############################################################################### Array of config titles for each new configuration# We assume at the very least, this array must be set and have a unique# element per new file.##############################################################################@configs = ( "Null", "Window5", "Window10", "Window30", "Window60", "Window90" ); ############################################################################### FPPs and FNPs for each new configuration ##############################################################################@fpps = ( 100, 12, 9, 5, 4, 3 );@fnps = ( 100, 12, 9, 5, 4, 3 );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -