?? app.config
字號:
<?xml version="1.0" encoding="gb2312" ?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="MonitorSystem.Center.PlatformID" value="0001,0002" /> <!--中心包含的平臺ID,以','分隔-->
<add key="MonitorSystem.Center.MonitorLogPath" value="C:\MonitorCenter\Log" /> <!--中心保存日志文件的目錄-->
<add key="MonitorSystem.Center.RuleFileLocalPath" value="C:\MonitorCenter\Rule\Local"/> <!--中心保存規則文件的目錄-->
<add key="MonitorSystem.Center.RuleFileRemotePath" value="C:\MonitorCenter\Rule\Remote"/> <!--中心保存規則文件的目錄-->
<add key="MonitorSystem.Center.MonitorLogFilter" value="*.log" /> <!-- 監控日志文件名后綴 -->
<add key="MonitorSystem.Center.LogNameFormat" value="Monitor_AAAA_YYYYMMDDHHmm" /> <!--監控日志文件名格式-->
<add key="MonitorSystem.Center.RuleNameFormat" value="MonitorRule_AAAA_BBBB" /> <!--規則文件名格式-->
<add key="MonitorSystem.Center.WriteLog2DB.ConnectionString" value="server=192.168.0.181;user id=sa;pwd=sa;database=MonitorCenter;" />
<add key="MonitorSystem.Center.LogTableName" value="MonitorLog_01" /> <!--監控日志表名-->
<add key="MonitorSystem.Center.AlertTableName" value="AlertTask" /> <!--報警執行表名-->
<add key="MonitorSystem.Center.PlatformCheck.TimeInterval" value="600000"/> <!--平臺心跳檢測間隔時間-->
<add key="MonitorCenter.ReadLog.TryCount" value="3"/> <!--解析線程對log文件解析失敗后,重試的次數-->
<add key="MonitorCenter.ReadLog.TryReadTimeSpan" value="100"/> <!--對log文件解析失敗后,重試的時間間隔-->
<add key="MonitorNode.InterfaceIP" value="192.168.0.96" /> <!--流量話單IP地址-->
<add key="MonitorNode.InterfacePort" value="21" /> <!--流量接口FTP端口-->
<add key="MonitorNode.FTPUser" value="anonymous" /> <!--流量接口FTP用戶名-->
<add key="MonitorNode.FTPPsw" value=""/> <!--流量接口FTP密碼 -->
<add key="MonitorNode.DownloadPath" value="/rule/remote" /> <!--流量接口文件下載路徑-->
</appSettings>
</configuration>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -