|
|
|
<?xml version="1.0"?>
|
|
|
|
<configuration>
|
|
|
|
<connectionStrings>
|
|
|
|
<!--主数据库连接-->
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=119.3.213.202,13315;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient" />
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=119.3.213.202,13315;Initial Catalog=BZD;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
</connectionStrings>
|
|
|
|
|
|
|
|
<appSettings>
|
|
|
|
|
|
|
|
<!---->
|
|
|
|
<add key="AssemblyPrintingTemplatePath" value="C:\MES\打印模板\AssemblyPrintingTemplatePath.grf" />
|
|
|
|
<add key="ZCZP" value=" 17S" />
|
|
|
|
<add key="MachineCheckUrl" value="http://www.baidu.com" />
|
|
|
|
<add key="MendDuty" value="工程,运行,维修,物料,质量,其他" />
|
|
|
|
<add key="loactionfile" value="C:\MES\location.bin" />
|
|
|
|
<add key="loactionfile2" value="C:\MES\location2.bin" />
|
|
|
|
<add key="UserInfo" value="C:\MES\data.bin" />
|
|
|
|
<add key="logFilePath" value="C:\MES\LogFile" />
|
|
|
|
<add key="ReContactValue" value="20" />
|
|
|
|
<add key="Dictionary" value="Dictionary.xml" />
|
|
|
|
<add key="XmlName" value="../../XMLResources/Biaopi.xml" />
|
|
|
|
<add key="PageSize" value="20" />
|
|
|
|
<!--<add key="proPath" value="C:\Program Files\lmw32\Lmwprint.exe" />-->
|
|
|
|
<add key="proPath" value="C:\Program Files (x86)\lmw32\Lmwprint.exe" />
|
|
|
|
<!--注塑100*30-->
|
|
|
|
<add key="1temPath" value="C:\MES\打印模板\barcodes.qdf" />
|
|
|
|
<add key="1dataPath" value="C:\MES\打印模板\barcodes.txt" />
|
|
|
|
<!--注塑35*15-->
|
|
|
|
<add key="2temPath" value="C:\MES\打印模板\barcodes -small - 副本.qdf" />
|
|
|
|
<add key="2dataPath" value="C:\MES\打印模板\barcodes.txt" />
|
|
|
|
<!--总成-->
|
|
|
|
<add key="ZCtemPath" value="C:\MES\打印模板\zczp.qdf" />
|
|
|
|
<add key="ZCdataPath" value="C:\MES\打印模板\zczp.txt" />
|
|
|
|
<!--过程标签-->
|
|
|
|
<add key="ProcessCodeTMPPath" value="C:\MES\打印模板\ProcessCode.qdf" />
|
|
|
|
<add key="ProcessCodeDATPath" value="C:\MES\打印模板\ProcessCode.txt" />
|
|
|
|
<!--FIS标签-->
|
|
|
|
<add key="FISLabelTMPPath" value="C:\MES\打印模板\FISLabel.qdf" />
|
|
|
|
<add key="FISLabelDATPath" value="C:\MES\打印模板\FISLabel.txt" />
|
|
|
|
<!--计划标签-->
|
|
|
|
<add key="PlanLabelTMPPath" value="C:\MES\打印模板\PlanLabel.qdf" />
|
|
|
|
<add key="PlanLabelDATPath" value="C:\MES\打印模板\PlanLabel.txt" />
|
|
|
|
|
|
|
|
<!--搪塑-->
|
|
|
|
<add key="0temPath" value="C:\MES\打印模板\tangsu_cd.qdf" />
|
|
|
|
<add key="0dataPath" value="C:\MES\打印模板\tangsu_cd.txt" />
|
|
|
|
|
|
|
|
<add key="reprintPath" value="C:\MES\打印模板\reprint.qdf" />
|
|
|
|
<add key="redataPath" value="C:\MES\打印模板\reprint.txt" />
|
|
|
|
|
|
|
|
<add key="Template_Local_Path" value="C:\MES\template\" />
|
|
|
|
|
|
|
|
|
|
|
|
<add key="LoginType" value="FrmPlace" />
|
|
|
|
<!--下护板与出风口扫描工位的间隔设置,单位是秒-->
|
|
|
|
<add key="FrmScanBarcodeInternal" value="10" />
|
|
|
|
<add key="DBCSPath" value="0" />
|
|
|
|
<add key="ScanFormDeletePassWord" value="1234" />
|
|
|
|
<add key="AppDALPath" value="DCS.SQLServer" />
|
|
|
|
<add key="SaveFilePath" value="C:\MES\" />
|
|
|
|
<add key="File_Copy_Path" value="C:\MES\" />
|
|
|
|
<add key="HelpPath" value="Help\使用手册.chm" />
|
|
|
|
<add key="RegistCom" value="大连启明海通" />
|
|
|
|
<add key="Language" value="zh-CHS" />
|
|
|
|
<add key="PageSize" value="100" />
|
|
|
|
<add key="DBBackupPath" value="D:\系统数据备份\" />
|
|
|
|
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
|
|
|
<add key="BarcodeBLen" value="15" />
|
|
|
|
<add key="BarcodeQLen" value="15" />
|
|
|
|
<add key="LabelTemplate2" value="D:\qm\AppServer\template\看板号条码2.qdf" />
|
|
|
|
<add key="LabelData2" value="D:\qm\AppServer\template\LabelDataBase2.txt" />
|
|
|
|
<add key="LabelMatrix" value="C:\Program Files\lmw32\Lmwprint.exe" />
|
|
|
|
<add key="CrystalReportPrint" value="D:\\qm\\Print\\" />
|
|
|
|
<add key="ServerAdress" value="10.111.144.69" />
|
|
|
|
<add key="ServerPort" value="9601" />
|
|
|
|
<add key="OPCServerName" value="Kepware.KEPServerEX.V4" />
|
|
|
|
<add key="OPCServerIP" value="10.111.144.95" />
|
|
|
|
<add key="OPCChannelName" value="P4" />
|
|
|
|
<add key="OPCWritelName" value="Channel1.P4.OK" />
|
|
|
|
<add key="OPCReadlName" value="Channel1.P4.QUEREN" />
|
|
|
|
<add key="OPCMainColorlName" value="Channel1.P4.MAINCOLOR" />
|
|
|
|
<add key="OPCNfColorWritelName" value="Channel1.P4.NFCOLOR" />
|
|
|
|
<add key="MonitorLever" value="1" />
|
|
|
|
<add key="EgeType" value="INJECT_ENGEL" />
|
|
|
|
<add key="HTType" value="INJECT_HAITIAN" />
|
|
|
|
<add key="FilePath" value="C:\项目\FJC_CD_DCS\2.开发\2.5 代码\MESWEB\MES.Web" />
|
|
|
|
<add key="BarcodeTime" value="1" />
|
|
|
|
<add key="FlashProCode" value="01" />
|
|
|
|
<add key="DCS_FILEPATH" value="C:\Workspace\20130330\" />
|
|
|
|
<add key="LOGFILEPATH" value="C:\logfile\" />
|
|
|
|
<add key="DCSLocalDriverPath" value="X:" />
|
|
|
|
<add key="DCSNetUser" value="wzz" />
|
|
|
|
<add key="DCSNetPwd" value="1108" />
|
|
|
|
<add key="SpecialBarcode" value="PXBIBM" />
|
|
|
|
<add key="DCSCollectAddDays" value="-1" />
|
|
|
|
<add key="DCSFileCopyTimerType" value="EveryDay" />
|
|
|
|
<add key="DCSFileCopyTimerHour" value="15" />
|
|
|
|
<add key="DCSFileCopyTimerMinute" value="58" />
|
|
|
|
<add key="DCSFileCopyTimerSecond" value="00" />
|
|
|
|
<add key="DCS_ET_JENOPTIK_TYPE" value="LASER_JENOPTIK" />
|
|
|
|
<add key="DCS_ET_ENGEL_TYPE" value="INJECT_ENGEL" />
|
|
|
|
<add key="DCS_ET_BIELOMATIK_TYPE" value="WELD_BIELOMATIK" />
|
|
|
|
<add key="DCS_ET_HAITIAN_TYPE" value="INJECT_HAITIAN" />
|
|
|
|
<add key="DCS_ET_START_TYPE" value="LASER_JENOPTIK" />
|
|
|
|
<add key="BarcodePwd" value="qm" />
|
|
|
|
<add key="Domain" value="" />
|
|
|
|
<add key="DomainIP" value="10.111.144.95" />
|
|
|
|
<add key="DomainUser" value="cdfjc" />
|
|
|
|
<add key="DomainPassword" value="Spring99" />
|
|
|
|
<add key="ShowRemoteDesktop" value="false" />
|
|
|
|
<add key="SleepSecond" value="6" />
|
|
|
|
<add key="SleepSecond2" value="3" />
|
|
|
|
<add key="RefreshTime" value="52" />
|
|
|
|
<add key="LoginName" value="dcsnf" />
|
|
|
|
<add key="UpperBarcodeLen" value="20" />
|
|
|
|
<add key="LowerBarcodeLen" value="5" />
|
|
|
|
<add key="PlaceFirstPositionCode" value="FirstPosition" />
|
|
|
|
<add key="PlantNameConfig" value="" />
|
|
|
|
<add key="ShowDataCount" value="6" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--识别ip 0为使用machinecode 1为识别ip-->
|
|
|
|
<!--旧搪塑 SINGLESLUSH
|
|
|
|
新搪塑 DOUBLESLUSH
|
|
|
|
恩格尔3200T注塑 INJECTION3200
|
|
|
|
海天注塑 HAITIAN
|
|
|
|
冲切设备 PUNCHING
|
|
|
|
铣削设备 MILLING
|
|
|
|
其他铆接 PARTRIVETING
|
|
|
|
本体铆接 MAINRIVETING
|
|
|
|
超声波焊接设备 ULTRASONICING
|
|
|
|
红外焊接设备 WELDING
|
|
|
|
总成装配 ASSEMBLING
|
|
|
|
恩格尔注塑 INJECTION
|
|
|
|
冷刀弱化设备 SCORING
|
|
|
|
火焰加工设备 FLAMING
|
|
|
|
浇注设备 CASTING-->
|
|
|
|
<add key="ipFlag" value="1" />
|
|
|
|
<add key="machineCode" value="FLAMING" />
|
|
|
|
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
|
|
|
|
|
|
|
<add key="ServerHosts" value="10.111.144.97|10.111.144.94"/>
|
|
|
|
</appSettings>
|
|
|
|
<system.serviceModel>
|
|
|
|
<bindings>
|
|
|
|
<basicHttpBinding>
|
|
|
|
<binding name="BasicHttpBinding_IGeneralService" closeTimeout="00:01:00"
|
|
|
|
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
|
|
|
|
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
|
|
|
|
maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
|
|
|
|
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
|
|
|
|
useDefaultWebProxy="true">
|
|
|
|
<readerQuotas maxDepth="32" maxStringContentLength="20971520"
|
|
|
|
maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
|
|
|
<security mode="None">
|
|
|
|
<transport clientCredentialType="None" proxyCredentialType="None"
|
|
|
|
realm="" />
|
|
|
|
<message clientCredentialType="UserName" algorithmSuite="Default" />
|
|
|
|
</security>
|
|
|
|
</binding>
|
|
|
|
</basicHttpBinding>
|
|
|
|
<netTcpBinding>
|
|
|
|
<binding name="NetTcpBinding_IOpcService" closeTimeout="00:01:00"
|
|
|
|
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
|
|
|
|
maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647">
|
|
|
|
<reliableSession enabled="true" />
|
|
|
|
<security mode="None" />
|
|
|
|
</binding>
|
|
|
|
</netTcpBinding>
|
|
|
|
</bindings>
|
|
|
|
<client>
|
|
|
|
|
|
|
|
<endpoint address="http://localhost:8938/GeneralService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService" contract="CenterGeneralService.IGeneralService" name="BasicHttpBinding_IGeneralService" />
|
|
|
|
<endpoint address="http://localhost:8938/LoginService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService" contract="LoginService.ILoginService" name="BasicHttpBinding_ILoginService" />
|
|
|
|
<endpoint address="net.tcp://10.111.144.97:4444/OpcService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IOpcService" contract="ServiceOpc.IOpcService" name="NetTcpBinding_IOpcService" />
|
|
|
|
|
|
|
|
<!--<endpoint address="net.tcp://localhost:4444/OpcService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IOpcService" contract="ServiceOpc.IOpcService" name="NetTcpBinding_IOpcService" />
|
|
|
|
<endpoint address="http://localhost:8938/GeneralService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService" contract="CenterGeneralService.IGeneralService" name="BasicHttpBinding_IGeneralService" />
|
|
|
|
<endpoint address="http://localhost:8938/LoginService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService" contract="LoginService.ILoginService" name="BasicHttpBinding_ILoginService" />-->
|
|
|
|
|
|
|
|
</client>
|
|
|
|
</system.serviceModel>
|
|
|
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
|
|
|
</startup>
|
|
|
|
<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>
|