schangxiang@126.com
2025-09-17 ff43ddf18764629ff875478e4e47a7281cbd230a
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
        <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    </configSections>
    <entityFramework>
        <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
            <parameters>
                <parameter value="mssqllocaldb"/>
            </parameters>
        </defaultConnectionFactory>
        <providers>
            <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
        </providers>
    </entityFramework>
    <appSettings>
        <!-- 每个巷道预留的入库空库位-->
        <add key="EmptyLocation" value="5"/>
        <!-- 是否模拟PLC,发布一定是 FALSE -->
        <add key="IsSimulationPLC" value="TRUE"/>
        <!--WCS的主机host-->
        <add key="WcsApiHost" value="http://172.27.105.5922:8089/api/XXXX"/>
        <!--WMS的主机host-->
        <add key="WmsApiHost" value="http://localhost:5566/"/>
        <!-- 邮箱发件人地址 -->
        <add key="SendMailAddress" value="mjcscaner@makinoj.com.cn"/>
        <!--  邮箱发件人地址的显示名 -->
        <add key="SendMailDisplayName" value="mjcscaner@makinoj.com.cn"/>
        <!-- SMTP 事务的主机的名称或 IP 地址 -->
        <add key="SendMailHost" value="192.168.153.15"/>
        <!-- SMTP 事务的主机的端口号 -->
        <add key="SendMailPort" value="25"/>
        <!-- 邮箱密码(加密) -->
        <add key="SendMailPwd" value=""/>
        <!-- 收件人邮箱地址 -->
        <add key="RecipientEmail" value="wangyue@weben-smart.com;liuwq23005@weben-smart.com"/>
    </appSettings>
    <connectionStrings>
        <!--本地-->
        <add name="MyDbContext" connectionString="data source=.;initial catalog=iWare_RawMaterialWarehouse_Wms;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
    </startup>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="BasicHttpBinding_ISapWcfService" maxBufferSize="2147483647"
                            maxReceivedMessageSize="2147483647" />
            </basicHttpBinding>
        </bindings>
        <behaviors>
            <serviceBehaviors>
                <behavior name="">
                    <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
                    <serviceDebug includeExceptionDetailInFaults="false"/>
                </behavior>
            </serviceBehaviors>
        </behaviors>
        <services>
            <service name="iWareCC.WCF.CCWcfService">
                <endpoint address="" binding="basicHttpBinding" contract="iWareCC.WCF.ICCWcfService">
                    <identity>
                        <dns value="localhost"/>
                    </identity>
                </endpoint>
                <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                <host>
                    <baseAddresses>
                        <add baseAddress="http://localhost:8734/Design_Time_Addresses/iWareCC.WCF/CCWcfService/"/>
                    </baseAddresses>
                </host>
            </service>
        </services>
        <client>
            <endpoint address="http://localhost:8733/Design_Time_Addresses/LA21030.WuhanMakino.SAP.WCF/SapWcfService/"
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISapWcfService"
              contract="WuhanMakinoSapWcfService.ISapWcfService" name="BasicHttpBinding_ISapWcfService" />
        </client>
    </system.serviceModel>
</configuration>