From ad64301e659e774d09776d2123eb09300c789468 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周三, 27 11月 2024 17:23:31 +0800 Subject: [PATCH] 打印 --- LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/WindowsFormsApplication1/App - 本机.config | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git "a/LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/WindowsFormsApplication1/App - \346\234\254\346\234\272.config" "b/LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/WindowsFormsApplication1/App - \346\234\254\346\234\272.config" index 25962cd..5de75c4 100644 --- "a/LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/WindowsFormsApplication1/App - \346\234\254\346\234\272.config" +++ "b/LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/WindowsFormsApplication1/App - \346\234\254\346\234\272.config" @@ -16,9 +16,21 @@ </entityFramework> <connectionStrings> <!--鏈湴--> - <add name="MyDbContext" connectionString="data source=.;initial catalog=WHMY_Prod_Test;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> + <add name="WmsDBModel" connectionString="data source=localhost;initial catalog=LA24030_LuLiPackageLine;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> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> + </startup> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="BasicHttpBinding_IPrintWcfService" /> + </basicHttpBinding> + </bindings> + <client> + <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> -- Gitblit v1.9.3