|  |  |  | 
|---|
|  |  |  | <?xml version="1.0" encoding="utf-8" ?> | 
|---|
|  |  |  | <?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" /> | 
|---|
|  |  |  | <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" /> | 
|---|
|  |  |  | <parameter value="mssqllocaldb"/> | 
|---|
|  |  |  | </parameters> | 
|---|
|  |  |  | </defaultConnectionFactory> | 
|---|
|  |  |  | <providers> | 
|---|
|  |  |  | <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> | 
|---|
|  |  |  | <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/> | 
|---|
|  |  |  | </providers> | 
|---|
|  |  |  | </entityFramework> | 
|---|
|  |  |  | <appSettings> | 
|---|
|  |  |  | <!-- 是否模拟PLC,发布一定是 FALSE --> | 
|---|
|  |  |  | <add key="IsSimulationPLC" value="true"/> | 
|---|
|  |  |  | <add key="IsSimulationPLC" value="false"/> | 
|---|
|  |  |  | <!-- 是否是随机寻找库位,建议是false--> | 
|---|
|  |  |  | <add key="IsRandomFindPlace" value="false"/> | 
|---|
|  |  |  | <!-- 西港WMS的API--> | 
|---|
|  |  |  | <add key="XiGang_WMSApi" value="http://localhost:8084/api/"/> | 
|---|
|  |  |  | <!-- 西港WMS的发动机出库--> | 
|---|
|  |  |  | <add key="XiGang_WMSApi_OutStoreToMes" value="MES/OutStoreToMes"/> | 
|---|
|  |  |  | <!-- 西港WMS的组盘--> | 
|---|
|  |  |  | <add key="XiGang_WMSApi_SalverMaterialBind" value="Task_Main/SalverMaterialBind"/> | 
|---|
|  |  |  | <!-- 西港WMS的组盘下发--> | 
|---|
|  |  |  | <add key="XiGang_WMSApi_IssueInStoreTask" value="Task_Main/IssueInStoreTaskForCC"/> | 
|---|
|  |  |  | <!--AGV的主机host--> | 
|---|
|  |  |  | <add key="AgvHost" value="http://192.168.10.120:8088/"/> | 
|---|
|  |  |  | <!--AGV-获取机器人信息--> | 
|---|
|  |  |  | <add key="RobotsStatus" value="robotsStatus"/> | 
|---|
|  |  |  | <!-- 是否启用新入库口 --> | 
|---|
|  |  |  | <add key="IsEnableNewInStorePlace" value="false"/> | 
|---|
|  |  |  | <!-- MES API--> | 
|---|
|  |  |  | <add key="Mes_Api" value="http://172.17.1.22:44374/api/LuLi/"/> | 
|---|
|  |  |  | <!-- MES包装完成接口--> | 
|---|
|  |  |  | <add key="Mes_Api_packagecompleted" value="packagecompleted"/> | 
|---|
|  |  |  | <!-- MES出纸机接口--> | 
|---|
|  |  |  | <add key="Mes_Api_papercut" value="cartons-machine"/> | 
|---|
|  |  |  | </appSettings> | 
|---|
|  |  |  | <connectionStrings> | 
|---|
|  |  |  | <!--本地服务器--> | 
|---|
|  |  |  | <!--<add name="DbModel" connectionString="data source=localhost;initial catalog=XiGangWarehouse;persist security info=True;user id=sa;password=123abccba;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> | 
|---|
|  |  |  | <!--云服务器--> | 
|---|
|  |  |  | <!--<add name="DbModel" connectionString="data source=120.53.244.200;initial catalog=XiGangWarehouse;persist security info=True;user id=xigang;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> | 
|---|
|  |  |  | <!--shaocx本地2017--> | 
|---|
|  |  |  | <add name="DbModel" connectionString="data source=localhost;initial catalog=XiGangWarehouse;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" /> | 
|---|
|  |  |  | <!--现场--> | 
|---|
|  |  |  | <!--<add name="DbModel" connectionString="data source=192.168.10.5;initial catalog=XiGangWarehouse;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> | 
|---|
|  |  |  | </connectionStrings> | 
|---|
|  |  |  | <add name="WmsDBModel" connectionString="data source=172.17.1.111;initial catalog=LA24030_LuLiPackageLine;persist security info=True;user id=sa;password=admin@123;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> | 
|---|
|  |  |  | </connectionStrings> | 
|---|
|  |  |  | <startup> | 
|---|
|  |  |  | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | 
|---|
|  |  |  | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> | 
|---|
|  |  |  | </startup> | 
|---|
|  |  |  | <system.serviceModel> | 
|---|
|  |  |  | <behaviors> | 
|---|
|  |  |  | <serviceBehaviors> | 
|---|
|  |  |  | <behavior name=""> | 
|---|
|  |  |  | <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /> | 
|---|
|  |  |  | <serviceDebug includeExceptionDetailInFaults="false" /> | 
|---|
|  |  |  | <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/> | 
|---|
|  |  |  | <serviceDebug includeExceptionDetailInFaults="false"/> | 
|---|
|  |  |  | </behavior> | 
|---|
|  |  |  | </serviceBehaviors> | 
|---|
|  |  |  | </behaviors> | 
|---|
|  |  |  | 
|---|
|  |  |  | <service name="iWareCC.WCF.CCWcfService"> | 
|---|
|  |  |  | <endpoint address="" binding="basicHttpBinding" contract="iWareCC.WCF.ICCWcfService"> | 
|---|
|  |  |  | <identity> | 
|---|
|  |  |  | <dns value="localhost" /> | 
|---|
|  |  |  | <dns value="localhost"/> | 
|---|
|  |  |  | </identity> | 
|---|
|  |  |  | </endpoint> | 
|---|
|  |  |  | <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> | 
|---|
|  |  |  | <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> | 
|---|
|  |  |  | <host> | 
|---|
|  |  |  | <baseAddresses> | 
|---|
|  |  |  | <add baseAddress="http://localhost:8734/Design_Time_Addresses/iWareCC.WCF/CCWcfService/" /> | 
|---|
|  |  |  | <add baseAddress="http://localhost:8734/Design_Time_Addresses/iWareCC.WCF/CCWcfService/"/> | 
|---|
|  |  |  | </baseAddresses> | 
|---|
|  |  |  | </host> | 
|---|
|  |  |  | </service> | 
|---|
|  |  |  | 
|---|
|  |  |  | <binding name="BasicHttpBinding_ISrmService" /> | 
|---|
|  |  |  | <binding name="BasicHttpBinding_IRgvService" /> | 
|---|
|  |  |  | <binding name="BasicHttpBinding_IRgvService1" /> | 
|---|
|  |  |  | <binding name="BasicHttpBinding_IStationService" /> | 
|---|
|  |  |  | <binding name="BasicHttpBinding_IPrintWcfService" /> | 
|---|
|  |  |  | </basicHttpBinding> | 
|---|
|  |  |  | </bindings> | 
|---|
|  |  |  | <client> | 
|---|
|  |  |  | 
|---|
|  |  |  | <endpoint address="http://localhost:8733/Design_Time_Addresses/iWareSda/RgvService/" | 
|---|
|  |  |  | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IRgvService1" | 
|---|
|  |  |  | contract="RgvService.IRgvService" name="BasicHttpBinding_IRgvService1" /> | 
|---|
|  |  |  | <endpoint address="http://localhost:8733/Design_Time_Addresses/iWareSda/StationService/" | 
|---|
|  |  |  | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IStationService" | 
|---|
|  |  |  | contract="StationService.IStationService" name="BasicHttpBinding_IStationService" /> | 
|---|
|  |  |  | <endpoint address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" | 
|---|
|  |  |  | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPrintWcfService" | 
|---|
|  |  |  | contract="PrintBaseService.IPrintWcfService" name="BasicHttpBinding_IPrintWcfService" /> | 
|---|
|  |  |  | </client> | 
|---|
|  |  |  | </system.serviceModel> | 
|---|
|  |  |  | </configuration> | 
|---|
|  |  |  | </configuration> | 
|---|