<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<connectionStrings>
<add name="connectionstring" connectionString="server=localhost;port=3306;user id=root;password=123456;database=sc_byd;Convert Zero Datetime=True;Allow Zero Datetime=True;Connection Timeout=10" />
<add name="pgsqlconnectionstring" connectionString="PORT=5432;DATABASE=postgres;HOST=175.27.215.92;PASSWORD=haiwei@123;USER ID=postgres;Pooling=true;Search Path=public;" />
</connectionStrings>
<appSettings>
<!-- 站点信息只有登录界面使用-->
<add key="site_station" value="X152" />
<!--产线编号-->
<add key="lincode" value="0802-1" />
<!--工控机编号-->
<add key="ipccode" value="IP-192.168.0.32" />
<!--logo文件名称-->
<add key="logofilename" value="logo.png" />
<!--读取监PLC频率 单位:毫秒-->
<add key="readplcrate" value="500" />
<!--进入PLC点位配置页面的口令-->
<add key="plcpwd" value="zj666" />
<!--删除结果表1年前数据 12个小时执行一次-->
<add key="cron" value="0 0 0/12 * * ?" />
<!--删除结果表的时间设定 默认删除1年前-->
<add key="period" value="2" />
<!--测试文件名带版本-->
<add key="testfilename" value="123456" />
<!--测试程序版本-->
<add key="programversion" value="123456" />
<!--设备信息232串口配置-->
<add key="PortName" value="COM2" />
<add key="BaudRate" value="115200" />
<add key="Parity" value="0" />
<add key="DataBits" value="8" />
<add key="StopBits" value="1" />
<!-- MES请求超时-->
<add key="MesPostTimeout" value="15000" />
<!-- 是否动静盘站号-->
<add key="DongJingPanST" value="B30-1" />
<!-- 是否查询动静盘支线-->
<add key="SearchDongJingPanBranch" value="true" />
<!-- 静盘支线工序配置-->
<add key="JingPanProcedure" value="YS-JPCS" />
<!-- 静盘支线产线配置-->
<!--<add key="JingPanLines" value="" />-->
<!-- 静盘参数-->
<add key="JingPan_Param" value="静盘板厚平均值" />
<!-- 动盘支线工序配置-->
<add key="DongPanProcedure" value="YS-DPCS" />
<!-- 动盘支线产线配置-->
<add key="DongPanLines" value="Y-DP-01-DPCS,Y-DP-02-DPCS,Y-DP-03-DPCS" />
<!-- 动盘参数-->
<add key="DongPan_Param" value="动盘板厚平均值" />
<!-- 动静盘差值-->
<add key="DongJingDvalue" value="0.0038-0.039" />
<!-- 补油-->
<add key="YZCS_ST" value="B90" />
<!-- 登录用户名-->
<!--<add key="LoginUserName" value="4769574" />-->
<!--自动升级-->
<add key="AutoUpdaterPath" value="http://192.168.0.12:8085/jenkins/AutoUpdater.xml" />
<!--Sop文件路径-->
<add key="SopFilePath" value="E:\桌面\SOP培训文档\" />
<!--人脸识别系统相关配置信息-->
<add key="IsUseFace" value="false" />
<add key="DeviceIp" value="192.168.0.75" />
<add key="DeviceUserName" value="admin" />
<add key="DevicePwd" value="SAP321123" />
<add key="DevicePort" value="8000" />
</appSettings>
<log4net>
<logger name="logerror">
<level value="ERROR" />
<appender-ref ref="ErrorAppender" />
</logger>
<logger name="loginfo">
<level value="INFO" />
<appender-ref ref="InfoAppender" />
</logger>
<appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="Log\\LogError\\" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="100" />
<param name="MaxFileSize" value="10240" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyyMMdd".txt"" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%n异常时间: %d %n异常级别: %-5p%n异常内容: %m%n" />
</layout>
<!--< > = <> %n = 回车-->
</appender>
<appender name="InfoAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="Log\\LogInfo\\" />
<param name="AppendToFile" value="true" />
<param name="MaxFileSize" value="10240" />
<param name="MaxSizeRollBackups" value="100" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyyMMdd".txt"" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="日志时间:%d %n日志级别: %-5p %n日志内容: %m%n%n" />
</layout>
</appender>
</log4net>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.28.0" newVersion="8.0.28.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Npgsql" publicKeyToken="5d8b90d52f46fda7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<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>
<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>
</configuration>