This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
SXS20240115/SRC/MESAgent/MESAutoRun_STD/AutoRunService/app.config
2024-01-23 16:49:54 +08:00

129 lines
6.3 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="AutoRunService.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
</configSections>
<appSettings>
<!-- 資料庫連結字串 -->
<!--記錄Database 是oracle或是mssql -->
<add key="DatabaseType" value="oracle"/>
<add key="DatabaseOwner" value="MESSERIES"/>
<add key="ConnectionString" value="Provider=OraOleDB.Oracle;Data Source=ORCL;User ID=MESSERIES"/>
<add key="DatabasePassword" value="==wQ5hTP"/>
<!-- SQL Server
<add key="ConnectionString" value="Provider=SQLOLEDB;Data Source=IMS13;Initial Catalog=MESSERIES;User Id=MESSERIES"/>
-->
<!-- Report相關資料 -->
<add key="ReportDatabaseType" value="oracle"/>
<add key="ReportDatabaseOwner" value="MESSERIES"/>
<add key="ReportConnectionString" value="Provider=OraOleDB.Oracle;Data Source=ORCL;User ID=MESSERIES"/>
<add key="ReportDatabasePassword" value="==wQ5hTP"/>
<!-- EDC相關資料 -->
<add key="TestDataDatabaseType" value="oracle" />
<add key="TestDataDatabaseOwner" value="MESEDC" />
<add key="TestDataDatabasePassword" value="=cVUvRXSS50KPNFb6N2d5kjUnZlS" />
<add key="TestDataConnectionString" value="Provider=OraOleDb.Oracle;User ID=MESEDC;Data Source=EDCDB;" />
<!-- Other ERP相關資料 -->
<!--add key="ERPDatabaseType" value="informix" /-->
<!--add key="ERPDatabaseOwner" value="SSC" /-->
<!--add key="ERPConnectionString" value="Dsn=SQL2005;uid=sa" /-->
<!--add key="ERPDatabasePassword" value="==wQ5hTP" /-->
<!-- Other ERP相關資料 -->
<!-- ERPDB 預設 T100 整合項目 -->
<add key="ERPDatabaseType" value="oracle"/>
<add key="ERPDatabaseOwner" value="MESSERIES_T100"/>
<add key="ERPDatabasePassword" value="RhUN6RGMzhUZINXP"/>
<add key="ERPConnectionString" value="Provider=OraOleDB.Oracle;Data Source=ORCL;User ID=MESSERIES_T100"/>
<!-- ERP相關設定 -->
<!-- Default Web Service Exception Value -->
<add key="defWSErrCode" value="0000-999999"/>
<!-- Default Web Service Message Value-->
<add key="defMSGCode" value="0000-000000"/>
<add key="defMSGType" value="MES"/>
<!-- Default OPType -->
<add key="defOPType" value="ERP"/>
<!-- Default PSNo -->
<add key="defPSNo" value="ERP"/>
<!-- Defautl FactoryNo -->
<add key="defFactoryNo" value="ERP"/>
<!-- Default MO and MO Material List -->
<add key="defMOTypeNo" value="0"/>
<add key="defMOPriority" value="99"/>
<add key="defMOPlanFinishDate" value="10"/>
<add key="defMOListMaterialLevel" value="0"/>
<add key="defMOListOPNo" value="LOTCREATE"/>
<add key="defMOListPutInPlaceType" value="3"/>
<add key="defMOListDecreaseRate" value="0"/>
<add key="defMOListSpecified" value="0"/>
<add key="defMOListCountWay" value="0"/>
<add key="defERPUnitNoProperty" value="ERPUnitNo"/>
<add key="defCreator" value="ERP"/>
<!-- Web Services -->
<add key="MesWebServiceHost" value="localhost/MESws_STD_6033"/>
<add key="CusWebServiceHost" value="localhost/MESws_Cust"/>
<add key="ERPWebServiceHost" value="localhost/ERPws_DSC"/>
<add key="ERFCreator" value="870658"/>
<!-- 語系 zh-cht繁體、zh-chs簡體、en英文-->
<add key="LanguageMode" value="zh-cht"/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
<!-- 取回JOB LIST 到 JOB QUEUE的時間間隔(單位:秒) -->
<add key="MonitorjoblistDuration" value="30"/>
<!-- 到JOB QUEUE 檢查是否有要執行的job的時間間隔(單位:秒) -->
<add key="MonitorQueueDuration" value="17" />
<!-- 新增EnableSSL配置参数 -->
<add key="EnableSSL" value="False"/>
</appSettings>
<system.diagnostics>
<sources>
<!-- 這個區段定義 My.Application.Log 的記錄組態-->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- 取消註解下列區段,以寫入應用程式事件記錄檔-->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information"/>
</switches>
<sharedListeners>
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
<!-- 取消註解下列區段,並將 APPLICATION_NAME 取代成您的應用程式名稱,以寫入至應用程式事件記錄檔-->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<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>
<applicationSettings>
<AutoRunService.My.MySettings>
<setting name="AutoRunService_wsInvoke_wsInvoke" serializeAs="String">
<value>http://internal.imestech.com/MESws_STD_6033/wsInvoke.asmx</value>
</setting>
<setting name="AutoRunService_wsERP_MES_wsMES" serializeAs="String">
<value>http://localhost/MESEAI_DSC/wsMES.asmx</value>
</setting>
</AutoRunService.My.MySettings>
</applicationSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>