📄 tripwireweb.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/TripwireWeb.xml";$template_init = "xml/sensorConfigs/TripwireWeb30min.xml";#$template_init = "";############################################################################### Array of resource costs for new configurations##############################################################################@rcosts = ( 45, 40, 35, 30, 25, 20, 15, 10, 8 );############################################################################### Array of time values for each new configuration (assumes base unit of # template )##############################################################################@times = ( 10, 15, 20, 30, 45, 60, 120, 240, 720 );############################################################################### 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 = ( "10min", "15min", "20min", "30min", "45min", "60min", "2hr", "4hr", "12hr" ); ############################################################################### FPPs and FNPs for each new configuration ##############################################################################@fpps = ( 0, 0, 0, 0, 0, 0, 0, 0, 0 );@fnps = ( 0, 0, 0, 0, 0, 0, 0, 0, 0 );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -