Files
CleanMachine/CleanMachineHMI/App.config

65 lines
4.0 KiB
Plaintext
Raw Normal View History

2021-06-05 14:17:30 +08:00
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
2022-03-17 16:34:28 +08:00
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
2021-06-05 14:17:30 +08:00
</configSections>
<connectionStrings>
2022-03-17 16:34:28 +08:00
<add name="NX_CLEAR_MAC_20200915Entities" connectionString="metadata=res://*/Entitys.Model1.csdl|res://*/Entitys.Model1.ssdl|res://*/Entitys.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=NX_CLEAR_MAC_20200915;persist security info=True;user id=sa;password=1q2w3e4r!@;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
<add name="CleanMachineHMI.Properties.Settings.NX_CLEAR_MAC_20200915ConnectionString" connectionString="Data Source=.;Initial Catalog=NX_CLEAR_MAC_20200915;Persist Security Info=True;User ID=sa;Password=1q2w3e4r!@" providerName="System.Data.SqlClient"/>
2021-06-05 14:17:30 +08:00
</connectionStrings>
<startup>
2022-03-17 16:34:28 +08:00
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
2021-06-05 14:17:30 +08:00
</startup>
<appSettings>
2022-03-17 16:34:28 +08:00
<add key="GlobalPaletteMode" value="Professionaloffice2003"/>
2021-06-05 14:17:30 +08:00
<!--<add key="LanguageCode" value="Chinese"/>-->
2022-03-17 16:34:28 +08:00
<add key="LanguageCode" value="English"/>
<add key="sqlmapConfigPath" value="Config/sqlmap.config"/>
2021-06-05 14:17:30 +08:00
<!--MySql数据库连接字符串-->
2022-03-17 16:34:28 +08:00
<add key="LeadMySql" value="Data Source = localhost; Port=3306;Initial Catalog = testasrs; Persist Security Info=True;User ID = root; Password=sa1234567;"/>
2021-06-05 14:17:30 +08:00
<!--SqlServer数据库连接字符串-->
2022-03-17 16:34:28 +08:00
<add key="LeadSqlServer" value="Data Source =localhost;Initial Catalog =NX_CLEAR_MAC;User Id = sa;Password =syl.syl503601;"/>
2021-06-05 14:17:30 +08:00
<!--Oracle数据库连接字符串-->
2022-03-17 16:34:28 +08:00
<add key="LeadOracle" value="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL)));User Id=LEADASRS; Password=LEADASRS;"/>
2021-06-05 14:17:30 +08:00
<!--SQLite数据库连接字符串-->
<!--<add key="LeadSQLite" value="Data Source=|DataDirectory|\\clearMac.db;Pooling=true;FailIfMissing=false"/>-->
2022-03-17 16:34:28 +08:00
<add key="LeadSQLite" value="Data Source=DataBase/clearMac.db"/>
2021-06-05 14:17:30 +08:00
<!--串口名称-->
2022-03-17 16:34:28 +08:00
<add key="PortName" value="COM3"/>
2021-06-05 14:17:30 +08:00
<!--串口波特率-->
2022-03-17 16:34:28 +08:00
<add key="BaudRate" value="9600"/>
2021-06-05 14:17:30 +08:00
<!--串口数据位-->
2022-03-17 16:34:28 +08:00
<add key="DataBits" value="8"/>
2021-06-05 14:17:30 +08:00
<!--停止位。 0:不使用停止位;1:使用一个停止位;2:使用两个停止位;3:使用 1.5 个停止位。-->
2022-03-17 16:34:28 +08:00
<add key="StopBits" value="1"/>
2021-06-05 14:17:30 +08:00
<!--奇偶校验。0:无校验;1:奇校验;2:偶校验;-->
2022-03-17 16:34:28 +08:00
<add key="ParityMsg" value="2"/>
2021-06-05 14:17:30 +08:00
<!--托盘序列号前缀-->
2022-03-17 16:34:28 +08:00
<add key="PalletIndexPrefix" value="Pallet"/>
2021-06-05 14:17:30 +08:00
<!--托盘序列号生成日期-->
2022-03-17 16:34:28 +08:00
<add key="PalletIndexDateMsg" value="20201107"/>
2021-06-05 14:17:30 +08:00
<!--托盘序列号长度-->
2022-03-17 16:34:28 +08:00
<add key="PalletIndexLen" value="6"/>
2021-06-05 14:17:30 +08:00
<!--当前托盘序列号值-->
2022-03-17 16:34:28 +08:00
<add key="PalletIndexValue" value="1"/>
2021-06-05 14:17:30 +08:00
<!--记录上一次登录用户名-->
2022-03-17 16:34:28 +08:00
<add key="LastTimeUserCode" value=""/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
2021-06-05 14:17:30 +08:00
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
2022-03-17 16:34:28 +08:00
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
2021-06-05 14:17:30 +08:00
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
2022-03-17 16:34:28 +08:00
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
2021-06-05 14:17:30 +08:00
</providers>
</roleManager>
</system.web>
2022-03-17 16:34:28 +08:00
</configuration>