You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/Main/MCRun/App.config

113 lines
5.1 KiB
Plaintext

1 year ago
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
1 year ago
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>
<appSettings>
<!--控件属性列表文件-->
1 year ago
<add key="componentsPropertyFile" value="\data\ComponentProperty.xml" />
<!--控件动画列表文件-->
1 year ago
<add key="componentsActionFile" value="\data\ComponentAction.xml" />
<!--控件事件列表文件-->
1 year ago
<add key="componentsEventFile" value="\data\ComponentEvent.xml" />
<!--自定义插件目录-->
1 year ago
<add key="MesnacPlugInPath" value="Data\MesnacPlugIn" />
<!--组态工程目录-->
1 year ago
<add key="MCProjectPath" value="Data\MCProject" />
<!--系统工程配置目录-->
1 year ago
<add key="SysConfigPath" value="Data\SysConfig" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
<!--Socket通信最大连接数-->
1 year ago
<add key="MaxConnection" value="50" />
<!--Socket通信侦听的IP地址-->
1 year ago
<add key="ListenServerIP" value="192.168.1.11" />
<!--Socket通信侦听的端口号-->
1 year ago
<add key="Port" value="1000" />
<!--机台号-->
1 year ago
<add key="EquipCode" value="01" />
<!--设备时钟类型值包括Thread或Timer-->
<add key="BASE_EQUIP_CLOCKTYPE" value="Thread" />
<!-- 是否加载数据源树 -->
1 year ago
<add key="IsLoadDataSourceTree" value="false" />
<!--是否开启保存回放数据-->
1 year ago
<add key="IsSaveBackViewData" value="false" />
<!--时序数据库InfluxDb的根目录-->
1 year ago
<add key="InfluxDb_Path" value="D:\influxdb-1.4.3-1" />
<!--时序数据库服务器的访问Uri-->
1 year ago
<add key="InfluxDb_EndPointUri" value="http://localhost:8086" />
<!--时序数据库服务器用户名-->
1 year ago
<add key="InfluxDb_UserName" value="root" />
<!--时序数据服务器密码-->
1 year ago
<add key="InfluxDb_Password" value="root" />
<!--回放数据保留的天数-->
1 year ago
<add key="BackViewDataSaveDays" value="30" />
</appSettings>
<log4net>
<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender">
<mapping>
1 year ago
<level value="FATAL" />
<foreColor value="Red, HighIntensity" />
</mapping>
<mapping>
1 year ago
<level value="ERROR" />
<foreColor value="Red" />
</mapping>
<mapping>
1 year ago
<level value="WARN" />
<foreColor value="Yellow" />
</mapping>
<mapping>
1 year ago
<level value="INFO" />
<foreColor value="White" />
</mapping>
<mapping>
1 year ago
<level value="DEBUG" />
<foreColor value="Green" />
</mapping>
<layout type="log4net.Layout.PatternLayout">
1 year ago
<conversionPattern value="%date [%thread] %-5level- %c - %message%newline" />
</layout>
</appender>
<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
1 year ago
<file value="log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd&quot;.txt&quot;" />
<StaticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
1 year ago
<conversionPattern value="%date [%thread] %-5level- %c - %message%newline" />
</layout>
<!--多线程写入支持-->
1 year ago
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
</appender>
<root>
1 year ago
<level value="DEBUG" />
<appender-ref ref="ColoredConsoleAppender" />
<!--<appender-ref ref="FileAppender"/>-->
</root>
</log4net>
<startup>
1 year ago
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
1 year ago
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
1 year ago
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
1 year ago
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>