<?xml version="1.0"?> <configuration> <appSettings> <add key="OPCServerIP" value="127.0.0.1"/> <!--<add key="OPCServerIP" value="110.114.48.210"/>--> <!--<add key="OPCServerName" value="Kepware.KEPServerEX.V4"/>--> <add key="OPCServerName" value="kepware.KEPServerEX.V5"/> <add key="ResultValue" value="NOK"/> <add key="Barcode" value=""/> <add key="ServerIP" value="10.111.226.146"/> <add key="Port" value="51236"/> <add key="Channel.Machine" value="Channel1.Device1"/> <add key="proPath" value="C:\Program Files\lmw32\Lmwprint.exe"/> <add key="BPtemPath" value="D:\打印模板\tangsu.qdf"/> <add key="BPdataPath" value="D:\打印模板\tangsu.txt"/> <!--邮件服务器地址--> <add key="SmtpServerAndon" value="mail.adient.com"/> <!--发送人用户--> <add key="SenderUser" value="qiwei.li"/> <!--发送人密码--> <add key="SenderPassword" value="ZXasqw12!@"/> <!--邮件服务器--> <add key="DoMainAndon" value="mail.adient.com"/> <!--发件人邮箱--> <add key="SenderUserEmail" value="qiwei.li@adient.com"/> <!--邮件标题--> <add key="Subject" value="报警"/> </appSettings> <connectionStrings> <!--主数据库连接--> <!--<add name="maindb" connectionString="Data Source=192.168.0.133\SQL2008R2;Initial Catalog=B9DB;User Id=B9_se;Password=qm;" providerName="System.Data.SqlClient"/>--> <!--<add name="maindb" connectionString="Data Source=10.114.48.123;Initial Catalog=AUDIB9MES;User Id=b9mes;Password=MESmes123;" providerName="System.Data.SqlClient"/>--> <add name="maindb" connectionString="Data Source=.;Initial Catalog=ADIENT_QD_MES;Persist Security Info=True;User ID=sa;Password=qm;" providerName="System.Data.SqlClient"/> </connectionStrings> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup> <system.serviceModel> <bindings /> <client /> </system.serviceModel> </configuration>