333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections></configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IControlCenterWcfService" />
        <binding name="BasicHttpBinding_ISapWcfService" maxBufferSize="2147483647"  maxReceivedMessageSize="2147483647"/>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://localhost:8733/Design_Time_Addresses/iWareSAP.WCF/SapWcfService/"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISapWcfService"
        contract="sendToSap.ISapWcfService" name="BasicHttpBinding_ISapWcfService" />
      <endpoint address="http://localhost:8733/Design_Time_Addresses/IWareCC.WCf.ControlCenterWcfService/ControlCenterWcfService/"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IControlCenterWcfService"
        contract="wcfApi.IControlCenterWcfService" name="BasicHttpBinding_IControlCenterWcfService" />
    </client>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <services>
      <service name="wcftest.wcf.apitest">
        <endpoint address="" binding="basicHttpBinding" contract="wcftest.wcf.Iapitest">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8733/Design_Time_Addresses/wcftest.wcf/apitest/" />
            <!--<add baseAddress="http://192.168.0.191:8733/Design_Time_Addresses/wcftest.wcf/apitest/ " _Dev />-->
          </baseAddresses>
        </host>
      </service>
    </services>
  </system.serviceModel>
  <connectionStrings>
    <add name="dbModel" connectionString="data source=.;initial catalog=YrtWMS_Siemens2;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
 
 
    <add name="deviceOrm" connectionString="data source=.;initial catalog=Siemens;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
 
  </connectionStrings>
  <appSettings>
    <!--是否是虚拟仿真模式,true:是,false:否。生产环境要配置为false 【EditBy shaocx,2022-01-27】-->
    <add key="IsVirtualMode" value="true"/>
  </appSettings>
</configuration>