已添加23个文件
已修改12个文件
已删除4个文件
| | |
| | | </services> |
| | | <bindings> |
| | | <basicHttpBinding> |
| | | <binding name="BasicHttpBinding_ISrmService"/> |
| | | <binding name="BasicHttpBinding_IRgvService"/> |
| | | <binding name="BasicHttpBinding_IRgvService1"/> |
| | | <binding name="BasicHttpBinding_IStationService"/> |
| | | <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://192.168.10.5:8733/Design_Time_Addresses/iWareSda/SrmService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISrmService" contract="SrmService.ISrmService" name="BasicHttpBinding_ISrmService"/> |
| | | <endpoint address="http://192.168.10.5:8733/Design_Time_Addresses/iWareSda/RgvService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IRgvService" contract="RgvService.IRgvService" name="BasicHttpBinding_IRgvService"/> |
| | | <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://192.168.10.5:8733/Design_Time_Addresses/iWareSda/SrmService/" |
| | | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISrmService" |
| | | contract="SrmService.ISrmService" name="BasicHttpBinding_ISrmService" /> |
| | | <endpoint address="http://192.168.10.5:8733/Design_Time_Addresses/iWareSda/RgvService/" |
| | | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IRgvService" |
| | | contract="RgvService.IRgvService" name="BasicHttpBinding_IRgvService" /> |
| | | <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> |
| | |
| | | /// </summary> |
| | | public static bool isAllowRuning_DataProcess_RobotBuffer_ModeChange = false; |
| | | |
| | | public static bool isAllowRuning_PrintHandler = false; |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å
许æ§è¡ å åæºå
¥å£æ«ç æ£æµçº¿ç¨ |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// è¾é线任å¡å®æç¡®è®¤çè¦åæ¶æ¯ |
| | | /// </summary> |
| | | public static string _lbl_Alert_ConveyorsReleaseFinish = string.Empty; |
| | | public static string _lbl_Alert_PrintHandler = string.Empty; |
| | | |
| | | /// <summary> |
| | | /// æ¸
çæ°æ®ç°åº çè¦åæ¶æ¯ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <wsdl:definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" name="PrintWcfService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> |
| | | <wsdl:types> |
| | | <xsd:schema targetNamespace="http://tempuri.org/Imports"> |
| | | <xsd:import schemaLocation="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd0" namespace="http://tempuri.org/" /> |
| | | <xsd:import schemaLocation="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> |
| | | <xsd:import schemaLocation="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> |
| | | </xsd:schema> |
| | | </wsdl:types> |
| | | <wsdl:message name="IPrintWcfService_Print_InputMessage"> |
| | | <wsdl:part name="parameters" element="tns:Print" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_Print_OutputMessage"> |
| | | <wsdl:part name="parameters" element="tns:PrintResponse" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_Print2_InputMessage"> |
| | | <wsdl:part name="parameters" element="tns:Print2" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_Print2_OutputMessage"> |
| | | <wsdl:part name="parameters" element="tns:Print2Response" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_Print3_InputMessage"> |
| | | <wsdl:part name="parameters" element="tns:Print3" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_Print3_OutputMessage"> |
| | | <wsdl:part name="parameters" element="tns:Print3Response" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_GetImage_InputMessage"> |
| | | <wsdl:part name="parameters" element="tns:GetImage" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_GetImage_OutputMessage"> |
| | | <wsdl:part name="parameters" element="tns:GetImageResponse" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_GetPrinterStatus_InputMessage"> |
| | | <wsdl:part name="parameters" element="tns:GetPrinterStatus" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IPrintWcfService_GetPrinterStatus_OutputMessage"> |
| | | <wsdl:part name="parameters" element="tns:GetPrinterStatusResponse" /> |
| | | </wsdl:message> |
| | | <wsdl:portType name="IPrintWcfService"> |
| | | <wsdl:operation name="Print"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IPrintWcfService/Print" message="tns:IPrintWcfService_Print_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IPrintWcfService/PrintResponse" message="tns:IPrintWcfService_Print_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="Print2"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IPrintWcfService/Print2" message="tns:IPrintWcfService_Print2_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IPrintWcfService/Print2Response" message="tns:IPrintWcfService_Print2_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="Print3"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IPrintWcfService/Print3" message="tns:IPrintWcfService_Print3_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IPrintWcfService/Print3Response" message="tns:IPrintWcfService_Print3_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetImage"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IPrintWcfService/GetImage" message="tns:IPrintWcfService_GetImage_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IPrintWcfService/GetImageResponse" message="tns:IPrintWcfService_GetImage_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetPrinterStatus"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus" message="tns:IPrintWcfService_GetPrinterStatus_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse" message="tns:IPrintWcfService_GetPrinterStatus_OutputMessage" /> |
| | | </wsdl:operation> |
| | | </wsdl:portType> |
| | | <wsdl:binding name="BasicHttpBinding_IPrintWcfService" type="tns:IPrintWcfService"> |
| | | <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> |
| | | <wsdl:operation name="Print"> |
| | | <soap:operation soapAction="http://tempuri.org/IPrintWcfService/Print" style="document" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="Print2"> |
| | | <soap:operation soapAction="http://tempuri.org/IPrintWcfService/Print2" style="document" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="Print3"> |
| | | <soap:operation soapAction="http://tempuri.org/IPrintWcfService/Print3" style="document" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetImage"> |
| | | <soap:operation soapAction="http://tempuri.org/IPrintWcfService/GetImage" style="document" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetPrinterStatus"> |
| | | <soap:operation soapAction="http://tempuri.org/IPrintWcfService/GetPrinterStatus" style="document" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | </wsdl:binding> |
| | | <wsdl:service name="PrintWcfService"> |
| | | <wsdl:port name="BasicHttpBinding_IPrintWcfService" binding="tns:BasicHttpBinding_IPrintWcfService"> |
| | | <soap:address location="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" /> |
| | | </wsdl:port> |
| | | </wsdl:service> |
| | | </wsdl:definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬:4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¼ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace iWareCC.PrintBaseService { |
| | | |
| | | |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="PrintBaseService.IPrintWcfService")] |
| | | public interface IPrintWcfService { |
| | | |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print", ReplyAction="http://tempuri.org/IPrintWcfService/PrintResponse")] |
| | | iWareCC.PrintBaseService.PrintResponse Print(iWareCC.PrintBaseService.PrintRequest request); |
| | | |
| | | // CODEGEN: æ£å¨çææ¶æ¯åå®ï¼åºä¸ºè¯¥æä½å
·æå¤ä¸ªè¿åå¼ã |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print", ReplyAction="http://tempuri.org/IPrintWcfService/PrintResponse")] |
| | | System.Threading.Tasks.Task<iWareCC.PrintBaseService.PrintResponse> PrintAsync(iWareCC.PrintBaseService.PrintRequest request); |
| | | |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print2", ReplyAction="http://tempuri.org/IPrintWcfService/Print2Response")] |
| | | iWareCC.PrintBaseService.Print2Response Print2(iWareCC.PrintBaseService.Print2Request request); |
| | | |
| | | // CODEGEN: æ£å¨çææ¶æ¯åå®ï¼åºä¸ºè¯¥æä½å
·æå¤ä¸ªè¿åå¼ã |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print2", ReplyAction="http://tempuri.org/IPrintWcfService/Print2Response")] |
| | | System.Threading.Tasks.Task<iWareCC.PrintBaseService.Print2Response> Print2Async(iWareCC.PrintBaseService.Print2Request request); |
| | | |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print3", ReplyAction="http://tempuri.org/IPrintWcfService/Print3Response")] |
| | | iWareCC.PrintBaseService.Print3Response Print3(iWareCC.PrintBaseService.Print3Request request); |
| | | |
| | | // CODEGEN: æ£å¨çææ¶æ¯åå®ï¼åºä¸ºè¯¥æä½å
·æå¤ä¸ªè¿åå¼ã |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print3", ReplyAction="http://tempuri.org/IPrintWcfService/Print3Response")] |
| | | System.Threading.Tasks.Task<iWareCC.PrintBaseService.Print3Response> Print3Async(iWareCC.PrintBaseService.Print3Request request); |
| | | |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")] |
| | | iWareCC.PrintBaseService.GetImageResponse GetImage(iWareCC.PrintBaseService.GetImageRequest request); |
| | | |
| | | // CODEGEN: æ£å¨çææ¶æ¯åå®ï¼åºä¸ºè¯¥æä½å
·æå¤ä¸ªè¿åå¼ã |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")] |
| | | System.Threading.Tasks.Task<iWareCC.PrintBaseService.GetImageResponse> GetImageAsync(iWareCC.PrintBaseService.GetImageRequest request); |
| | | |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus", ReplyAction="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse")] |
| | | iWareCC.PrintBaseService.GetPrinterStatusResponse GetPrinterStatus(iWareCC.PrintBaseService.GetPrinterStatusRequest request); |
| | | |
| | | // CODEGEN: æ£å¨çææ¶æ¯åå®ï¼åºä¸ºè¯¥æä½å
·æå¤ä¸ªè¿åå¼ã |
| | | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus", ReplyAction="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse")] |
| | | System.Threading.Tasks.Task<iWareCC.PrintBaseService.GetPrinterStatusResponse> GetPrinterStatusAsync(iWareCC.PrintBaseService.GetPrinterStatusRequest request); |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="Print", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class PrintRequest { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public System.Collections.Generic.Dictionary<string, object> data; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public int copies; |
| | | |
| | | public PrintRequest() { |
| | | } |
| | | |
| | | public PrintRequest(System.Collections.Generic.Dictionary<string, object> data, int copies) { |
| | | this.data = data; |
| | | this.copies = copies; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="PrintResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class PrintResponse { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public bool PrintResult; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public string msg; |
| | | |
| | | public PrintResponse() { |
| | | } |
| | | |
| | | public PrintResponse(bool PrintResult, string msg) { |
| | | this.PrintResult = PrintResult; |
| | | this.msg = msg; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="Print2", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class Print2Request { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public System.Collections.Generic.Dictionary<string, object> data; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public int copies; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=2)] |
| | | public string tpl; |
| | | |
| | | public Print2Request() { |
| | | } |
| | | |
| | | public Print2Request(System.Collections.Generic.Dictionary<string, object> data, int copies, string tpl) { |
| | | this.data = data; |
| | | this.copies = copies; |
| | | this.tpl = tpl; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="Print2Response", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class Print2Response { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public bool Print2Result; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public string msg; |
| | | |
| | | public Print2Response() { |
| | | } |
| | | |
| | | public Print2Response(bool Print2Result, string msg) { |
| | | this.Print2Result = Print2Result; |
| | | this.msg = msg; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="Print3", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class Print3Request { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public System.Collections.Generic.Dictionary<string, object> data; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public int copies; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=2)] |
| | | public string tpl; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=3)] |
| | | public string printerName; |
| | | |
| | | public Print3Request() { |
| | | } |
| | | |
| | | public Print3Request(System.Collections.Generic.Dictionary<string, object> data, int copies, string tpl, string printerName) { |
| | | this.data = data; |
| | | this.copies = copies; |
| | | this.tpl = tpl; |
| | | this.printerName = printerName; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="Print3Response", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class Print3Response { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public bool Print3Result; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public string msg; |
| | | |
| | | public Print3Response() { |
| | | } |
| | | |
| | | public Print3Response(bool Print3Result, string msg) { |
| | | this.Print3Result = Print3Result; |
| | | this.msg = msg; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="GetImage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class GetImageRequest { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public System.Collections.Generic.Dictionary<string, object> data; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public string templateUrl; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=2)] |
| | | public int width; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=3)] |
| | | public int height; |
| | | |
| | | public GetImageRequest() { |
| | | } |
| | | |
| | | public GetImageRequest(System.Collections.Generic.Dictionary<string, object> data, string templateUrl, int width, int height) { |
| | | this.data = data; |
| | | this.templateUrl = templateUrl; |
| | | this.width = width; |
| | | this.height = height; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="GetImageResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class GetImageResponse { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public string GetImageResult; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public string msg; |
| | | |
| | | public GetImageResponse() { |
| | | } |
| | | |
| | | public GetImageResponse(string GetImageResult, string msg) { |
| | | this.GetImageResult = GetImageResult; |
| | | this.msg = msg; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="GetPrinterStatus", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class GetPrinterStatusRequest { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public string printerName; |
| | | |
| | | public GetPrinterStatusRequest() { |
| | | } |
| | | |
| | | public GetPrinterStatusRequest(string printerName) { |
| | | this.printerName = printerName; |
| | | } |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | [System.ServiceModel.MessageContractAttribute(WrapperName="GetPrinterStatusResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] |
| | | public partial class GetPrinterStatusResponse { |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] |
| | | public int GetPrinterStatusResult; |
| | | |
| | | [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] |
| | | public string msg; |
| | | |
| | | public GetPrinterStatusResponse() { |
| | | } |
| | | |
| | | public GetPrinterStatusResponse(int GetPrinterStatusResult, string msg) { |
| | | this.GetPrinterStatusResult = GetPrinterStatusResult; |
| | | this.msg = msg; |
| | | } |
| | | } |
| | | |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | public interface IPrintWcfServiceChannel : iWareCC.PrintBaseService.IPrintWcfService, System.ServiceModel.IClientChannel { |
| | | } |
| | | |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
| | | public partial class PrintWcfServiceClient : System.ServiceModel.ClientBase<iWareCC.PrintBaseService.IPrintWcfService>, iWareCC.PrintBaseService.IPrintWcfService { |
| | | |
| | | public PrintWcfServiceClient() { |
| | | } |
| | | |
| | | public PrintWcfServiceClient(string endpointConfigurationName) : |
| | | base(endpointConfigurationName) { |
| | | } |
| | | |
| | | public PrintWcfServiceClient(string endpointConfigurationName, string remoteAddress) : |
| | | base(endpointConfigurationName, remoteAddress) { |
| | | } |
| | | |
| | | public PrintWcfServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : |
| | | base(endpointConfigurationName, remoteAddress) { |
| | | } |
| | | |
| | | public PrintWcfServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : |
| | | base(binding, remoteAddress) { |
| | | } |
| | | |
| | | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | iWareCC.PrintBaseService.PrintResponse iWareCC.PrintBaseService.IPrintWcfService.Print(iWareCC.PrintBaseService.PrintRequest request) { |
| | | return base.Channel.Print(request); |
| | | } |
| | | |
| | | public bool Print(System.Collections.Generic.Dictionary<string, object> data, int copies, out string msg) { |
| | | iWareCC.PrintBaseService.PrintRequest inValue = new iWareCC.PrintBaseService.PrintRequest(); |
| | | inValue.data = data; |
| | | inValue.copies = copies; |
| | | iWareCC.PrintBaseService.PrintResponse retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).Print(inValue); |
| | | msg = retVal.msg; |
| | | return retVal.PrintResult; |
| | | } |
| | | |
| | | public System.Threading.Tasks.Task<iWareCC.PrintBaseService.PrintResponse> PrintAsync(iWareCC.PrintBaseService.PrintRequest request) { |
| | | return base.Channel.PrintAsync(request); |
| | | } |
| | | |
| | | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | iWareCC.PrintBaseService.Print2Response iWareCC.PrintBaseService.IPrintWcfService.Print2(iWareCC.PrintBaseService.Print2Request request) { |
| | | return base.Channel.Print2(request); |
| | | } |
| | | |
| | | public bool Print2(System.Collections.Generic.Dictionary<string, object> data, int copies, string tpl, out string msg) { |
| | | iWareCC.PrintBaseService.Print2Request inValue = new iWareCC.PrintBaseService.Print2Request(); |
| | | inValue.data = data; |
| | | inValue.copies = copies; |
| | | inValue.tpl = tpl; |
| | | iWareCC.PrintBaseService.Print2Response retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).Print2(inValue); |
| | | msg = retVal.msg; |
| | | return retVal.Print2Result; |
| | | } |
| | | |
| | | public System.Threading.Tasks.Task<iWareCC.PrintBaseService.Print2Response> Print2Async(iWareCC.PrintBaseService.Print2Request request) { |
| | | return base.Channel.Print2Async(request); |
| | | } |
| | | |
| | | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | iWareCC.PrintBaseService.Print3Response iWareCC.PrintBaseService.IPrintWcfService.Print3(iWareCC.PrintBaseService.Print3Request request) { |
| | | return base.Channel.Print3(request); |
| | | } |
| | | |
| | | public bool Print3(System.Collections.Generic.Dictionary<string, object> data, int copies, string tpl, string printerName, out string msg) { |
| | | iWareCC.PrintBaseService.Print3Request inValue = new iWareCC.PrintBaseService.Print3Request(); |
| | | inValue.data = data; |
| | | inValue.copies = copies; |
| | | inValue.tpl = tpl; |
| | | inValue.printerName = printerName; |
| | | iWareCC.PrintBaseService.Print3Response retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).Print3(inValue); |
| | | msg = retVal.msg; |
| | | return retVal.Print3Result; |
| | | } |
| | | |
| | | public System.Threading.Tasks.Task<iWareCC.PrintBaseService.Print3Response> Print3Async(iWareCC.PrintBaseService.Print3Request request) { |
| | | return base.Channel.Print3Async(request); |
| | | } |
| | | |
| | | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | iWareCC.PrintBaseService.GetImageResponse iWareCC.PrintBaseService.IPrintWcfService.GetImage(iWareCC.PrintBaseService.GetImageRequest request) { |
| | | return base.Channel.GetImage(request); |
| | | } |
| | | |
| | | public string GetImage(System.Collections.Generic.Dictionary<string, object> data, string templateUrl, int width, int height, out string msg) { |
| | | iWareCC.PrintBaseService.GetImageRequest inValue = new iWareCC.PrintBaseService.GetImageRequest(); |
| | | inValue.data = data; |
| | | inValue.templateUrl = templateUrl; |
| | | inValue.width = width; |
| | | inValue.height = height; |
| | | iWareCC.PrintBaseService.GetImageResponse retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).GetImage(inValue); |
| | | msg = retVal.msg; |
| | | return retVal.GetImageResult; |
| | | } |
| | | |
| | | public System.Threading.Tasks.Task<iWareCC.PrintBaseService.GetImageResponse> GetImageAsync(iWareCC.PrintBaseService.GetImageRequest request) { |
| | | return base.Channel.GetImageAsync(request); |
| | | } |
| | | |
| | | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | iWareCC.PrintBaseService.GetPrinterStatusResponse iWareCC.PrintBaseService.IPrintWcfService.GetPrinterStatus(iWareCC.PrintBaseService.GetPrinterStatusRequest request) { |
| | | return base.Channel.GetPrinterStatus(request); |
| | | } |
| | | |
| | | public int GetPrinterStatus(string printerName, out string msg) { |
| | | iWareCC.PrintBaseService.GetPrinterStatusRequest inValue = new iWareCC.PrintBaseService.GetPrinterStatusRequest(); |
| | | inValue.printerName = printerName; |
| | | iWareCC.PrintBaseService.GetPrinterStatusResponse retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).GetPrinterStatus(inValue); |
| | | msg = retVal.msg; |
| | | return retVal.GetPrinterStatusResult; |
| | | } |
| | | |
| | | public System.Threading.Tasks.Task<iWareCC.PrintBaseService.GetPrinterStatusResponse> GetPrinterStatusAsync(iWareCC.PrintBaseService.GetPrinterStatusRequest request) { |
| | | return base.Channel.GetPrinterStatusAsync(request); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="38054518-e228-42c4-afef-d517881bfcda" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> |
| | | <ClientOptions> |
| | | <GenerateAsynchronousMethods>false</GenerateAsynchronousMethods> |
| | | <GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod> |
| | | <EnableDataBinding>true</EnableDataBinding> |
| | | <ExcludedTypes /> |
| | | <ImportXmlTypes>false</ImportXmlTypes> |
| | | <GenerateInternalTypes>false</GenerateInternalTypes> |
| | | <GenerateMessageContracts>false</GenerateMessageContracts> |
| | | <NamespaceMappings /> |
| | | <CollectionMappings /> |
| | | <GenerateSerializableTypes>true</GenerateSerializableTypes> |
| | | <Serializer>Auto</Serializer> |
| | | <UseSerializerForFaults>true</UseSerializerForFaults> |
| | | <ReferenceAllAssemblies>true</ReferenceAllAssemblies> |
| | | <ReferencedAssemblies /> |
| | | <ReferencedDataContractTypes /> |
| | | <ServiceContractMappings /> |
| | | </ClientOptions> |
| | | <MetadataSources> |
| | | <MetadataSource Address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" Protocol="http" SourceId="1" /> |
| | | </MetadataSources> |
| | | <Metadata> |
| | | <MetadataFile FileName="item.disco" MetadataType="Disco" ID="82d6c1a0-79dc-466a-87b0-a3a3ac1d30f2" SourceId="1" SourceUrl="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?disco" /> |
| | | <MetadataFile FileName="PrintWcfService.wsdl" MetadataType="Wsdl" ID="91a0fe4c-f2a6-4c0c-b812-d831ffbd1f0e" SourceId="1" SourceUrl="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?wsdl" /> |
| | | <MetadataFile FileName="item.xsd" MetadataType="Schema" ID="a38e31dd-e1f6-4718-8fd4-c9546391fdb3" SourceId="1" SourceUrl="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd1" /> |
| | | <MetadataFile FileName="item1.xsd" MetadataType="Schema" ID="416970ff-358f-476f-ad80-80bdc758bc06" SourceId="1" SourceUrl="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd2" /> |
| | | <MetadataFile FileName="item2.xsd" MetadataType="Schema" ID="245a0976-6810-4b88-8124-8d592bcdf72d" SourceId="1" SourceUrl="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd0" /> |
| | | </Metadata> |
| | | <Extensions> |
| | | <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> |
| | | <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> |
| | | </Extensions> |
| | | </ReferenceGroup> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> |
| | | <behaviors /> |
| | | <bindings> |
| | | <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="BasicHttpBinding_IPrintWcfService" />" bindingType="basicHttpBinding" name="BasicHttpBinding_IPrintWcfService" /> |
| | | </bindings> |
| | | <endpoints> |
| | | <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPrintWcfService" contract="PrintBaseService.IPrintWcfService" name="BasicHttpBinding_IPrintWcfService" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPrintWcfService" contract="PrintBaseService.IPrintWcfService" name="BasicHttpBinding_IPrintWcfService" />" contractName="PrintBaseService.IPrintWcfService" name="BasicHttpBinding_IPrintWcfService" /> |
| | | </endpoints> |
| | | </configurationSnapshot> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="C2B4zp1X1tHOQR07SgzooxkIZejeWzSPAZ1JMJSprRw="> |
| | | <bindingConfigurations> |
| | | <bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpBinding_IPrintWcfService"> |
| | | <properties> |
| | | <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>BasicHttpBinding_IPrintWcfService</serializedValue> |
| | | </property> |
| | | <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>StrongWildcard</serializedValue> |
| | | </property> |
| | | <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>65536</serializedValue> |
| | | </property> |
| | | <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> |
| | | </property> |
| | | <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>0</serializedValue> |
| | | </property> |
| | | <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>0</serializedValue> |
| | | </property> |
| | | <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>0</serializedValue> |
| | | </property> |
| | | <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>0</serializedValue> |
| | | </property> |
| | | <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>0</serializedValue> |
| | | </property> |
| | | <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.Text.UTF8Encoding</serializedValue> |
| | | </property> |
| | | <property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>Buffered</serializedValue> |
| | | </property> |
| | | <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>Text</serializedValue> |
| | | </property> |
| | | <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> |
| | | </property> |
| | | <property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>None</serializedValue> |
| | | </property> |
| | | <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>None</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>None</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>Never</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>TransportSelected</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>(éå)</serializedValue> |
| | | </property> |
| | | <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> |
| | | </property> |
| | | <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>UserName</serializedValue> |
| | | </property> |
| | | <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>Default</serializedValue> |
| | | </property> |
| | | </properties> |
| | | </bindingConfiguration> |
| | | </bindingConfigurations> |
| | | <endpoints> |
| | | <endpoint name="BasicHttpBinding_IPrintWcfService" contract="PrintBaseService.IPrintWcfService" bindingType="basicHttpBinding" address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" bindingConfiguration="BasicHttpBinding_IPrintWcfService"> |
| | | <properties> |
| | | <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/</serializedValue> |
| | | </property> |
| | | <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>basicHttpBinding</serializedValue> |
| | | </property> |
| | | <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>BasicHttpBinding_IPrintWcfService</serializedValue> |
| | | </property> |
| | | <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>PrintBaseService.IPrintWcfService</serializedValue> |
| | | </property> |
| | | <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> |
| | | </property> |
| | | <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue><Header /></serializedValue> |
| | | </property> |
| | | <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> |
| | | </property> |
| | | <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>My</serializedValue> |
| | | </property> |
| | | <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>LocalMachine</serializedValue> |
| | | </property> |
| | | <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>FindBySubjectDistinguishedName</serializedValue> |
| | | </property> |
| | | <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>False</serializedValue> |
| | | </property> |
| | | <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue>BasicHttpBinding_IPrintWcfService</serializedValue> |
| | | </property> |
| | | <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <serializedValue /> |
| | | </property> |
| | | </properties> |
| | | </endpoint> |
| | | </endpoints> |
| | | </SavedWcfConfigurationInformation> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | This file is automatically generated by Visual Studio .Net. It is |
| | | used to store generic object data source configuration information. |
| | | Renaming the file extension or editing the content of this file may |
| | | cause the file to be unrecognizable by the program. |
| | | --> |
| | | <GenericObjectDataSource DisplayName="GetImageResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
| | | <TypeInfo>iWareCC.PrintBaseService.GetImageResponse, Connected Services.PrintBaseService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
| | | </GenericObjectDataSource> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | This file is automatically generated by Visual Studio .Net. It is |
| | | used to store generic object data source configuration information. |
| | | Renaming the file extension or editing the content of this file may |
| | | cause the file to be unrecognizable by the program. |
| | | --> |
| | | <GenericObjectDataSource DisplayName="GetPrinterStatusResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
| | | <TypeInfo>iWareCC.PrintBaseService.GetPrinterStatusResponse, Connected Services.PrintBaseService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
| | | </GenericObjectDataSource> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | This file is automatically generated by Visual Studio .Net. It is |
| | | used to store generic object data source configuration information. |
| | | Renaming the file extension or editing the content of this file may |
| | | cause the file to be unrecognizable by the program. |
| | | --> |
| | | <GenericObjectDataSource DisplayName="Print2Response" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
| | | <TypeInfo>iWareCC.PrintBaseService.Print2Response, Connected Services.PrintBaseService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
| | | </GenericObjectDataSource> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | This file is automatically generated by Visual Studio .Net. It is |
| | | used to store generic object data source configuration information. |
| | | Renaming the file extension or editing the content of this file may |
| | | cause the file to be unrecognizable by the program. |
| | | --> |
| | | <GenericObjectDataSource DisplayName="Print3Response" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
| | | <TypeInfo>iWareCC.PrintBaseService.Print3Response, Connected Services.PrintBaseService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
| | | </GenericObjectDataSource> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | This file is automatically generated by Visual Studio .Net. It is |
| | | used to store generic object data source configuration information. |
| | | Renaming the file extension or editing the content of this file may |
| | | cause the file to be unrecognizable by the program. |
| | | --> |
| | | <GenericObjectDataSource DisplayName="PrintResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> |
| | | <TypeInfo>iWareCC.PrintBaseService.PrintResponse, Connected Services.PrintBaseService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> |
| | | </GenericObjectDataSource> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xmlsoap.org/disco/"> |
| | | <contractRef ref="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?wsdl" docRef="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> |
| | | </discovery> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| | | <xs:element name="anyType" nillable="true" type="xs:anyType" /> |
| | | <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> |
| | | <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> |
| | | <xs:element name="boolean" nillable="true" type="xs:boolean" /> |
| | | <xs:element name="byte" nillable="true" type="xs:byte" /> |
| | | <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> |
| | | <xs:element name="decimal" nillable="true" type="xs:decimal" /> |
| | | <xs:element name="double" nillable="true" type="xs:double" /> |
| | | <xs:element name="float" nillable="true" type="xs:float" /> |
| | | <xs:element name="int" nillable="true" type="xs:int" /> |
| | | <xs:element name="long" nillable="true" type="xs:long" /> |
| | | <xs:element name="QName" nillable="true" type="xs:QName" /> |
| | | <xs:element name="short" nillable="true" type="xs:short" /> |
| | | <xs:element name="string" nillable="true" type="xs:string" /> |
| | | <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> |
| | | <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> |
| | | <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> |
| | | <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> |
| | | <xs:element name="char" nillable="true" type="tns:char" /> |
| | | <xs:simpleType name="char"> |
| | | <xs:restriction base="xs:int" /> |
| | | </xs:simpleType> |
| | | <xs:element name="duration" nillable="true" type="tns:duration" /> |
| | | <xs:simpleType name="duration"> |
| | | <xs:restriction base="xs:duration"> |
| | | <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> |
| | | <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> |
| | | <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> |
| | | </xs:restriction> |
| | | </xs:simpleType> |
| | | <xs:element name="guid" nillable="true" type="tns:guid" /> |
| | | <xs:simpleType name="guid"> |
| | | <xs:restriction base="xs:string"> |
| | | <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> |
| | | </xs:restriction> |
| | | </xs:simpleType> |
| | | <xs:attribute name="FactoryType" type="xs:QName" /> |
| | | <xs:attribute name="Id" type="xs:ID" /> |
| | | <xs:attribute name="Ref" type="xs:IDREF" /> |
| | | </xs:schema> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| | | <xs:complexType name="ArrayOfKeyValueOfstringanyType"> |
| | | <xs:annotation> |
| | | <xs:appinfo> |
| | | <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary> |
| | | </xs:appinfo> |
| | | </xs:annotation> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringanyType"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element name="Key" nillable="true" type="xs:string" /> |
| | | <xs:element name="Value" nillable="true" type="xs:anyType" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | <xs:element name="ArrayOfKeyValueOfstringanyType" nillable="true" type="tns:ArrayOfKeyValueOfstringanyType" /> |
| | | </xs:schema> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| | | <xs:import schemaLocation="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> |
| | | <xs:element name="Print"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="data" nillable="true" type="q1:ArrayOfKeyValueOfstringanyType" /> |
| | | <xs:element minOccurs="0" name="copies" type="xs:int" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="PrintResponse"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" name="PrintResult" type="xs:boolean" /> |
| | | <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="Print2"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="data" nillable="true" type="q2:ArrayOfKeyValueOfstringanyType" /> |
| | | <xs:element minOccurs="0" name="copies" type="xs:int" /> |
| | | <xs:element minOccurs="0" name="tpl" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="Print2Response"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" name="Print2Result" type="xs:boolean" /> |
| | | <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="Print3"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="data" nillable="true" type="q3:ArrayOfKeyValueOfstringanyType" /> |
| | | <xs:element minOccurs="0" name="copies" type="xs:int" /> |
| | | <xs:element minOccurs="0" name="tpl" nillable="true" type="xs:string" /> |
| | | <xs:element minOccurs="0" name="printerName" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="Print3Response"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" name="Print3Result" type="xs:boolean" /> |
| | | <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="GetImage"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="data" nillable="true" type="q4:ArrayOfKeyValueOfstringanyType" /> |
| | | <xs:element minOccurs="0" name="templateUrl" nillable="true" type="xs:string" /> |
| | | <xs:element minOccurs="0" name="width" type="xs:int" /> |
| | | <xs:element minOccurs="0" name="height" type="xs:int" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="GetImageResponse"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" name="GetImageResult" nillable="true" type="xs:string" /> |
| | | <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="GetPrinterStatus"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" name="printerName" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | <xs:element name="GetPrinterStatusResponse"> |
| | | <xs:complexType> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" name="GetPrinterStatusResult" type="xs:int" /> |
| | | <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:element> |
| | | </xs:schema> |
| | |
| | | this.tabControl1 = new System.Windows.Forms.TabControl(); |
| | | this.tPModeChoice = new System.Windows.Forms.TabPage(); |
| | | this.panel_Model = new System.Windows.Forms.Panel(); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask = new System.Windows.Forms.Label(); |
| | | this.lbl_RobotMode = new System.Windows.Forms.Label(); |
| | | this.rBOnlyIn = new System.Windows.Forms.RadioButton(); |
| | | this.lbl_IsSimulationPLC = new System.Windows.Forms.Label(); |
| | | this.lbl_WCFMsg = new System.Windows.Forms.Label(); |
| | |
| | | this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound = new System.Windows.Forms.CheckBox(); |
| | | this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask = new System.Windows.Forms.Label(); |
| | | this.ck_DataProcess_RobotBuffer_IssueOutboundTask = new System.Windows.Forms.CheckBox(); |
| | | this.lbl_Alert_EmptySalverTransfer = new System.Windows.Forms.Label(); |
| | | this.ckEmptySalverTransfer = new System.Windows.Forms.CheckBox(); |
| | | this.lbl_Alert_PrintHandler = new System.Windows.Forms.Label(); |
| | | this.ck_PrintHandler = new System.Windows.Forms.CheckBox(); |
| | | this.lbl_MainTaskDecompose = new System.Windows.Forms.Label(); |
| | | this.ckMainTaskDecompose = new System.Windows.Forms.CheckBox(); |
| | | this.lbl_Alert_DeleteData = new System.Windows.Forms.Label(); |
| | |
| | | this.Qty = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.InStoreTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.tabPage3 = new System.Windows.Forms.TabPage(); |
| | | this.button24 = new System.Windows.Forms.Button(); |
| | | this.tb_PackageCode = new System.Windows.Forms.TextBox(); |
| | | this.label23 = new System.Windows.Forms.Label(); |
| | | this.button23 = new System.Windows.Forms.Button(); |
| | | this.tb_wlm = new System.Windows.Forms.TextBox(); |
| | | this.label22 = new System.Windows.Forms.Label(); |
| | |
| | | this.dataGridViewTextBoxColumn62 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.dataGridViewTextBoxColumn63 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.btn_Find_OutTaskRetryToMes = new System.Windows.Forms.Button(); |
| | | this.lbl_RobotMode = new System.Windows.Forms.Label(); |
| | | this.tb_PackageCode = new System.Windows.Forms.TextBox(); |
| | | this.label23 = new System.Windows.Forms.Label(); |
| | | this.button24 = new System.Windows.Forms.Button(); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask = new System.Windows.Forms.Label(); |
| | | this.tPTransAsrs.SuspendLayout(); |
| | | this.panel14.SuspendLayout(); |
| | | this.panel15.SuspendLayout(); |
| | |
| | | this.panel_Model.TabIndex = 0; |
| | | this.panel_Model.Paint += new System.Windows.Forms.PaintEventHandler(this.panel27_Paint); |
| | | // |
| | | // lbl_currHandlerPackageCodeForIssueOutboundTask |
| | | // |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.AutoSize = true; |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Location = new System.Drawing.Point(275, 693); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Name = "lbl_currHandlerPackageCodeForIssueOutboundTask"; |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Size = new System.Drawing.Size(172, 15); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.TabIndex = 14; |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Text = "å½åä¸ååºåºä»»å¡çå
å·"; |
| | | // |
| | | // lbl_RobotMode |
| | | // |
| | | this.lbl_RobotMode.AutoSize = true; |
| | | this.lbl_RobotMode.Location = new System.Drawing.Point(275, 659); |
| | | this.lbl_RobotMode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbl_RobotMode.Name = "lbl_RobotMode"; |
| | | this.lbl_RobotMode.Size = new System.Drawing.Size(127, 15); |
| | | this.lbl_RobotMode.TabIndex = 12; |
| | | this.lbl_RobotMode.Text = "ç¼å岿ºå¨äººæ¨¡å¼"; |
| | | // |
| | | // rBOnlyIn |
| | | // |
| | | this.rBOnlyIn.Appearance = System.Windows.Forms.Appearance.Button; |
| | |
| | | this.groupBox1.Controls.Add(this.ckDataProcess_RobotBuffer_AutoQiTaoOutbound); |
| | | this.groupBox1.Controls.Add(this.lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask); |
| | | this.groupBox1.Controls.Add(this.ck_DataProcess_RobotBuffer_IssueOutboundTask); |
| | | this.groupBox1.Controls.Add(this.lbl_Alert_EmptySalverTransfer); |
| | | this.groupBox1.Controls.Add(this.ckEmptySalverTransfer); |
| | | this.groupBox1.Controls.Add(this.lbl_Alert_PrintHandler); |
| | | this.groupBox1.Controls.Add(this.ck_PrintHandler); |
| | | this.groupBox1.Controls.Add(this.lbl_MainTaskDecompose); |
| | | this.groupBox1.Controls.Add(this.ckMainTaskDecompose); |
| | | this.groupBox1.Controls.Add(this.lbl_Alert_DeleteData); |
| | |
| | | this.ck_DataProcess_RobotBuffer_IssueOutboundTask.UseVisualStyleBackColor = true; |
| | | this.ck_DataProcess_RobotBuffer_IssueOutboundTask.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged); |
| | | // |
| | | // lbl_Alert_EmptySalverTransfer |
| | | // lbl_Alert_PrintHandler |
| | | // |
| | | this.lbl_Alert_EmptySalverTransfer.AutoSize = true; |
| | | this.lbl_Alert_EmptySalverTransfer.BackColor = System.Drawing.Color.White; |
| | | this.lbl_Alert_EmptySalverTransfer.ForeColor = System.Drawing.Color.Red; |
| | | this.lbl_Alert_EmptySalverTransfer.Location = new System.Drawing.Point(215, 492); |
| | | this.lbl_Alert_EmptySalverTransfer.Name = "lbl_Alert_EmptySalverTransfer"; |
| | | this.lbl_Alert_EmptySalverTransfer.Size = new System.Drawing.Size(70, 15); |
| | | this.lbl_Alert_EmptySalverTransfer.TabIndex = 37; |
| | | this.lbl_Alert_EmptySalverTransfer.Text = "label11"; |
| | | this.lbl_Alert_PrintHandler.AutoSize = true; |
| | | this.lbl_Alert_PrintHandler.BackColor = System.Drawing.Color.White; |
| | | this.lbl_Alert_PrintHandler.ForeColor = System.Drawing.Color.Red; |
| | | this.lbl_Alert_PrintHandler.Location = new System.Drawing.Point(215, 492); |
| | | this.lbl_Alert_PrintHandler.Name = "lbl_Alert_PrintHandler"; |
| | | this.lbl_Alert_PrintHandler.Size = new System.Drawing.Size(70, 15); |
| | | this.lbl_Alert_PrintHandler.TabIndex = 37; |
| | | this.lbl_Alert_PrintHandler.Text = "label11"; |
| | | // |
| | | // ckEmptySalverTransfer |
| | | // ck_PrintHandler |
| | | // |
| | | this.ckEmptySalverTransfer.AutoSize = true; |
| | | this.ckEmptySalverTransfer.Location = new System.Drawing.Point(4, 492); |
| | | this.ckEmptySalverTransfer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.ckEmptySalverTransfer.Name = "ckEmptySalverTransfer"; |
| | | this.ckEmptySalverTransfer.Size = new System.Drawing.Size(125, 19); |
| | | this.ckEmptySalverTransfer.TabIndex = 36; |
| | | this.ckEmptySalverTransfer.Text = "空æè½¬è¿çº¿ç¨"; |
| | | this.ckEmptySalverTransfer.UseVisualStyleBackColor = true; |
| | | this.ckEmptySalverTransfer.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged); |
| | | this.ck_PrintHandler.AutoSize = true; |
| | | this.ck_PrintHandler.Location = new System.Drawing.Point(4, 492); |
| | | this.ck_PrintHandler.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.ck_PrintHandler.Name = "ck_PrintHandler"; |
| | | this.ck_PrintHandler.Size = new System.Drawing.Size(125, 19); |
| | | this.ck_PrintHandler.TabIndex = 36; |
| | | this.ck_PrintHandler.Text = "æå°æå¡çº¿ç¨"; |
| | | this.ck_PrintHandler.UseVisualStyleBackColor = true; |
| | | this.ck_PrintHandler.CheckedChanged += new System.EventHandler(this.CommonCheckedChanged); |
| | | // |
| | | // lbl_MainTaskDecompose |
| | | // |
| | |
| | | this.tabPage3.Text = "æ°æ®ç»´æ¤&ç»è®¡"; |
| | | this.tabPage3.UseVisualStyleBackColor = true; |
| | | // |
| | | // button24 |
| | | // |
| | | this.button24.BackColor = System.Drawing.Color.Aqua; |
| | | this.button24.Location = new System.Drawing.Point(817, 489); |
| | | this.button24.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.button24.Name = "button24"; |
| | | this.button24.Size = new System.Drawing.Size(155, 48); |
| | | this.button24.TabIndex = 155; |
| | | this.button24.Text = "强å¶è¯¥å
å·åºåº"; |
| | | this.button24.UseVisualStyleBackColor = false; |
| | | this.button24.Click += new System.EventHandler(this.button24_Click); |
| | | // |
| | | // tb_PackageCode |
| | | // |
| | | this.tb_PackageCode.Location = new System.Drawing.Point(856, 427); |
| | | this.tb_PackageCode.Name = "tb_PackageCode"; |
| | | this.tb_PackageCode.Size = new System.Drawing.Size(339, 25); |
| | | this.tb_PackageCode.TabIndex = 154; |
| | | // |
| | | // label23 |
| | | // |
| | | this.label23.AutoSize = true; |
| | | this.label23.Location = new System.Drawing.Point(794, 437); |
| | | this.label23.Name = "label23"; |
| | | this.label23.Size = new System.Drawing.Size(45, 15); |
| | | this.label23.TabIndex = 153; |
| | | this.label23.Text = "å
å·:"; |
| | | // |
| | | // button23 |
| | | // |
| | | this.button23.BackColor = System.Drawing.Color.Aqua; |
| | |
| | | this.btn_Find_OutTaskRetryToMes.UseVisualStyleBackColor = true; |
| | | this.btn_Find_OutTaskRetryToMes.Click += new System.EventHandler(this.btn_Find_OutTaskRetryToMes_Click); |
| | | // |
| | | // lbl_RobotMode |
| | | // |
| | | this.lbl_RobotMode.AutoSize = true; |
| | | this.lbl_RobotMode.Location = new System.Drawing.Point(275, 659); |
| | | this.lbl_RobotMode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbl_RobotMode.Name = "lbl_RobotMode"; |
| | | this.lbl_RobotMode.Size = new System.Drawing.Size(127, 15); |
| | | this.lbl_RobotMode.TabIndex = 12; |
| | | this.lbl_RobotMode.Text = "ç¼å岿ºå¨äººæ¨¡å¼"; |
| | | // |
| | | // tb_PackageCode |
| | | // |
| | | this.tb_PackageCode.Location = new System.Drawing.Point(856, 427); |
| | | this.tb_PackageCode.Name = "tb_PackageCode"; |
| | | this.tb_PackageCode.Size = new System.Drawing.Size(339, 25); |
| | | this.tb_PackageCode.TabIndex = 154; |
| | | // |
| | | // label23 |
| | | // |
| | | this.label23.AutoSize = true; |
| | | this.label23.Location = new System.Drawing.Point(794, 437); |
| | | this.label23.Name = "label23"; |
| | | this.label23.Size = new System.Drawing.Size(45, 15); |
| | | this.label23.TabIndex = 153; |
| | | this.label23.Text = "å
å·:"; |
| | | // |
| | | // button24 |
| | | // |
| | | this.button24.BackColor = System.Drawing.Color.Aqua; |
| | | this.button24.Location = new System.Drawing.Point(817, 489); |
| | | this.button24.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.button24.Name = "button24"; |
| | | this.button24.Size = new System.Drawing.Size(155, 48); |
| | | this.button24.TabIndex = 155; |
| | | this.button24.Text = "强å¶è¯¥å
å·åºåº"; |
| | | this.button24.UseVisualStyleBackColor = false; |
| | | this.button24.Click += new System.EventHandler(this.button24_Click); |
| | | // |
| | | // lbl_currHandlerPackageCodeForIssueOutboundTask |
| | | // |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.AutoSize = true; |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Location = new System.Drawing.Point(275, 693); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Name = "lbl_currHandlerPackageCodeForIssueOutboundTask"; |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Size = new System.Drawing.Size(172, 15); |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.TabIndex = 14; |
| | | this.lbl_currHandlerPackageCodeForIssueOutboundTask.Text = "å½åä¸ååºåºä»»å¡çå
å·"; |
| | | // |
| | | // FormCC |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
| | |
| | | private System.Windows.Forms.CheckBox ckDeleteData; |
| | | private System.Windows.Forms.Label lbl_MainTaskDecompose; |
| | | private System.Windows.Forms.CheckBox ckMainTaskDecompose; |
| | | private System.Windows.Forms.Label lbl_Alert_EmptySalverTransfer; |
| | | private System.Windows.Forms.CheckBox ckEmptySalverTransfer; |
| | | private System.Windows.Forms.Label lbl_Alert_PrintHandler; |
| | | private System.Windows.Forms.CheckBox ck_PrintHandler; |
| | | private System.Windows.Forms.Label lbl_Alert_DataProcess_RobotBuffer_IssueOutboundTask; |
| | | private System.Windows.Forms.CheckBox ck_DataProcess_RobotBuffer_IssueOutboundTask; |
| | | private System.Windows.Forms.Button btn_1007; |
| | |
| | | new Thread(DataProcess_269.Handler).Start(); |
| | | |
| | | |
| | | new Thread(DataProcess_BZ39.Handler).Start(); |
| | | new Thread(DataProcess_BZ39.Handler).Start(); |
| | | new Thread(DataProcess_BZ12.Hander).Start(); |
| | | new Thread(DataProcess_BZ12_FinishTask.Handler).Start(); |
| | | |
| | | new Thread(DeleteData).Start(); |
| | | |
| | | //new Thread(LineInSacnResult.HandlerLineInSacnResult).Start(); |
| | | new Thread(PrintHandler.Handler).Start(); |
| | | |
| | | |
| | | |
| | |
| | | |
| | | DoCommonCheckedChanged(ref SystemValue.isAllowRuning_DataProcess_RobotBuffer_ModeChange, ck_DataProcess_RobotBuffer_ModeChange); |
| | | |
| | | DoCommonCheckedChanged(ref SystemValue.isAllowRuning_PrintHandler, ck_PrintHandler); |
| | | |
| | | DoCommonCheckedChanged(ref SystemValue.isAllowRuning_DataProcess_RobotBuffer_FinishTaskForOutbound, checkBox_DataProcess_RobotBuffer_FinishTaskForOutbound); |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Application; |
| | | using iWareCommon.Utils; |
| | | using iWareSql.WmsDBModel; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Threading; |
| | | |
| | | namespace iWareCC |
| | | { |
| | | /// <summary> |
| | | /// æå°å¤çççº¿ç¨ |
| | | /// </summary> |
| | | public class PrintHandler |
| | | { |
| | | public static void Handler() |
| | | { |
| | | var errMsg = ""; |
| | | while (true) |
| | | { |
| | | try |
| | | { |
| | | SystemWarningMsg._lbl_Alert_PrintHandler = "循ç¯å¼å§..."; |
| | | if (SystemValue.isAllowRuning_PrintHandler && SystemValue.isStartedModel) |
| | | { |
| | | errMsg = "";//éç½® |
| | | try |
| | | { |
| | | Do(ref errMsg); |
| | | if (!string.IsNullOrEmpty(errMsg)) |
| | | { |
| | | SystemWarningMsg._lbl_Alert_PrintHandler = errMsg; |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | Log4NetHelper.WriteErrorLog(LogType.PrintHandler, "æå°å¤çç线ç¨=>" + errMsg + ",å¼å¸¸:" + ex.Message, ex); |
| | | SystemWarningMsg._lbl_Alert_PrintHandler = "æå°å¤çç线ç¨=>" + errMsg + ",å¼å¸¸:" + ex.Message; |
| | | } |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | SystemWarningMsg._lbl_Alert_PrintHandler = "åºç°å¼å¸¸:" + ex.Message; |
| | | Log4NetHelper.WriteErrorLog(LogType.PrintHandler, "PrintHandler åºç°å¼å¸¸ï¼" + ex.Message, ex); |
| | | } |
| | | Thread.Sleep(2 * 1000);//ä¼ç 2ç§ |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æå° |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <param name="Lane"></param> |
| | | /// <param name="flag"></param> |
| | | /// <param name="errMsg"></param> |
| | | private static void Do(ref string errMsg) |
| | | { |
| | | using (WmsDBModel mycontext = new WmsDBModel()) |
| | | { |
| | | var query_PrintStatuEnum = (int)PrintStatuEnum.æªæå°; |
| | | var list = mycontext.wms_record_print.Where(x => (x.IsDelete == false) && x.PrintStatus == query_PrintStatuEnum) |
| | | .OrderBy(x => x.Id).ToList(); |
| | | |
| | | |
| | | wms_config_print printConfig = null; |
| | | string _PrinterName = ""; |
| | | if (list.Count > 0) |
| | | { |
| | | |
| | | } |
| | | else |
| | | { |
| | | errMsg = $"没æå¯æå°çå
容ï¼"; |
| | | return; |
| | | } |
| | | |
| | | foreach (var item in list) |
| | | { |
| | | |
| | | |
| | | PrintClassifyEnum printClassifyEnum = PrintClassifyEnum.å
è£
æ¡ç ; |
| | | |
| | | |
| | | printConfig = mycontext.wms_config_print.Where(x => x.PrintClassify == (int)printClassifyEnum).FirstOrDefault(); |
| | | if (printConfig == null) |
| | | { |
| | | errMsg = $"æ²¡ææ¾å°{printClassifyEnum.ToString()}çæå°é
ç½®ï¼"; |
| | | return; |
| | | } |
| | | //设置æå°æºï¼æ³¨æï¼è¿éåªè·å第ä¸ä¸ªï¼ä»¥åå¯è½è¦æ¹ï¼ |
| | | _PrinterName = printConfig.PrinterList.Split(',')[0]; |
| | | //æ ¹æ®é
ç½®ååæ¥è¯¢ æå°æºåå |
| | | var printConfigData = mycontext.SysDictData.Where(x => x.Name == _PrinterName).FirstOrDefault(); |
| | | if (printConfigData == null) |
| | | { |
| | | errMsg = $"æ²¡ææ¾å°{_PrinterName.ToString()}çæå°æºååï¼"; |
| | | return; |
| | | } |
| | | _PrinterName = printConfigData.Value; |
| | | |
| | | Dictionary<string, object> data = new Dictionary<string, object>(); |
| | | if (printClassifyEnum == PrintClassifyEnum.å
è£
æ¡ç ) |
| | | { |
| | | data.Add("bar", item.SNCode); |
| | | data.Add("material", item.MaterialCode ?? "" + "/" + item.MaterialName ?? ""); |
| | | data.Add("supplier", item.SupplierName ?? ""); |
| | | data.Add("unit", item.MaterialUnit ?? ""); |
| | | data.Add("qty", item.Quantity); |
| | | data.Add("date", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); |
| | | } |
| | | else |
| | | { |
| | | |
| | | } |
| | | |
| | | |
| | | //è°ç¨æå°æ¥å£ |
| | | bool isSuccess = false; |
| | | using (PrintBaseService.PrintWcfServiceClient client = new PrintBaseService.PrintWcfServiceClient()) |
| | | { |
| | | //isSuccess = client.Print3(data, 1, @"D:\æå°ç¨åº\è·è¸ªç æå°æ¨¡æ¿\è·è¸ªç æå°æ¨¡æ¿_ä¸ç»´ç .btw", "ZDesigner ZD888-203dpi ZPL", out errMsg); |
| | | //isSuccess = client.Print3(data, 1, @"D:\æå°ç¨åº\è·è¸ªç æå°æ¨¡æ¿\è·è¸ªç æå°æ¨¡æ¿_äºç»´ç .btw", "ZDesigner ZD888-203dpi ZPL", out errMsg); |
| | | isSuccess = client.Print3(data, item.PrintSheetNum, printConfig.PrintTemplateAddr, _PrinterName, out errMsg); |
| | | } |
| | | if (isSuccess) |
| | | { |
| | | item.PrintStatus = 1;//æå°ç¶æ(0ï¼æªæå° 1ï¼å·²æå°) |
| | | item.PrintNum = (item.PrintNum) + 1; |
| | | |
| | | mycontext.SaveChanges(); |
| | | } |
| | | else |
| | | { |
| | | errMsg = $"æå°é误,è·è¸ªç {item.SNCode}ï¼æå°æºåç§°{_PrinterName},é误信æ¯ï¼(æå°æå¡è¿å)" + errMsg; |
| | | Log4NetHelper.WriteErrorLog(LogType.PrintHandler, errMsg, null); |
| | | return; |
| | | } |
| | | |
| | | Thread.Sleep(2000); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | <Compile Include="Common\Helper\FormHelper.cs" /> |
| | | <Compile Include="Common\Helper\MyExtendHelper.cs" /> |
| | | <Compile Include="Common\MyMesService.cs" /> |
| | | <Compile Include="Connected Services\PrintBaseService\Reference.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DesignTime>True</DesignTime> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Connected Services\StationService\Reference.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DesignTime>True</DesignTime> |
| | |
| | | <Compile Include="WCF\CCWcfService.cs" /> |
| | | <Compile Include="WCF\ICCWcfService.cs" /> |
| | | <Compile Include="WmsTask\AutoUpdateEngineInfoTask.cs" /> |
| | | <Compile Include="WmsTask\AutoSalverMaterialBindTask.cs" /> |
| | | <Compile Include="WmsTask\LineInSacnResult.cs" /> |
| | | <Compile Include="WmsTask\MainTaskDecompose_ZPRK.cs" /> |
| | | <Compile Include="WmsTask\VirtualTaskNoOutPlanTaskHandler.cs" /> |
| | | <Compile Include="WmsTask\PrintHandler.cs" /> |
| | | <Compile Include="WmsTask\OutTaskRetryToMes.cs" /> |
| | | <Compile Include="WmsTask\Place1014To1020Task.cs" /> |
| | | <Compile Include="WmsTask\EmptySalverTransferTask.cs" /> |
| | | <Compile Include="WmsTask\OutPlanTaskDecompose.cs" /> |
| | | <Compile Include="WmsTask\MainTaskDecompose.cs" /> |
| | | <EmbeddedResource Include="FormCC.resx"> |
| | | <DependentUpon>FormCC.cs</DependentUpon> |
| | |
| | | <None Include="App - æ£å¼.config"> |
| | | <SubType>Designer</SubType> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\item.xsd"> |
| | | <SubType>Designer</SubType> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\item1.xsd"> |
| | | <SubType>Designer</SubType> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\item2.xsd"> |
| | | <SubType>Designer</SubType> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\iWareCC.PrintBaseService.GetImageResponse.datasource"> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\iWareCC.PrintBaseService.GetPrinterStatusResponse.datasource"> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\iWareCC.PrintBaseService.Print2Response.datasource"> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\iWareCC.PrintBaseService.Print3Response.datasource"> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\iWareCC.PrintBaseService.PrintResponse.datasource"> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\PrintWcfService.wsdl" /> |
| | | <None Include="Connected Services\RgvService\iWareCC.RgvService.RgvView.datasource"> |
| | | <DependentUpon>Reference.svcmap</DependentUpon> |
| | | </None> |
| | |
| | | <WCFMetadata Include="Connected Services\" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <WCFMetadataStorage Include="Connected Services\PrintBaseService\" /> |
| | | <WCFMetadataStorage Include="Connected Services\RgvService\" /> |
| | | <WCFMetadataStorage Include="Connected Services\SrmService\" /> |
| | | <WCFMetadataStorage Include="Connected Services\StationService\" /> |
| | |
| | | <Generator>WCF Proxy Generator</Generator> |
| | | <LastGenOutput>Reference.cs</LastGenOutput> |
| | | </None> |
| | | <None Include="Connected Services\PrintBaseService\item.disco" /> |
| | | <None Include="Connected Services\PrintBaseService\configuration91.svcinfo" /> |
| | | <None Include="Connected Services\PrintBaseService\configuration.svcinfo" /> |
| | | <None Include="Connected Services\PrintBaseService\Reference.svcmap"> |
| | | <Generator>WCF Proxy Generator</Generator> |
| | | <LastGenOutput>Reference.cs</LastGenOutput> |
| | | </None> |
| | | <Content Include="IwareICO.ico" /> |
| | | <Content Include="Logo.ico" /> |
| | | <None Include="Resources\ç©¿æ¢æ¯è½¦1.jpg" /> |
| | |
| | | /// <summary> |
| | | /// åºåºè®¡å |
| | | /// </summary> |
| | | OutPlanTask = 300, |
| | | PrintHandler = 300, |
| | | |
| | | /// <summary> |
| | | /// MESæå¡ |
| | |
| | | <filter type="log4net.Filter.DenyAllFilter" /> |
| | | </appender> |
| | | <!--åºåºè®¡åãä¿¡æ¯ãæ¥å¿--> |
| | | <appender name="OutPlanTask_Info" type="log4net.Appender.RollingFileAppender"> |
| | | <file value="d:\\Log\\LuLiMuYe\\iWareCC\\OutPlanTask_Info\\" /> |
| | | <appender name="PrintHandler_Info" type="log4net.Appender.RollingFileAppender"> |
| | | <file value="d:\\Log\\LuLiMuYe\\iWareCC\\PrintHandler_Info\\" /> |
| | | <appendToFile value="true" /> |
| | | <rollingStyle value="Date" /> |
| | | <staticLogFileName value="false" /> |
| | |
| | | <param name="ConversionPattern" value="%næ¶æ¯æ¶é´ï¼%d [%t] %næ¶æ¯çº§å«ï¼%-5p %næ¶ æ¯ ç±»ï¼%c [%x] %n%m %n "/> |
| | | </layout> |
| | | <filter type="log4net.Filter.LoggerMatchFilter"> |
| | | <loggerToMatch value="OutPlanTask_Info" /> |
| | | <loggerToMatch value="PrintHandler_Info" /> |
| | | </filter> |
| | | <filter type="log4net.Filter.DenyAllFilter" /> |
| | | </appender> |
| | | <!--åºåºè®¡åãéè¯¯ãæ¥å¿--> |
| | | <appender name="OutPlanTask_Error" type="log4net.Appender.RollingFileAppender"> |
| | | <file value="d:\\Log\\LuLiMuYe\\iWareCC\\OutPlanTask_Error\\" /> |
| | | <appender name="PrintHandler_Error" type="log4net.Appender.RollingFileAppender"> |
| | | <file value="d:\\Log\\LuLiMuYe\\iWareCC\\PrintHandler_Error\\" /> |
| | | <appendToFile value="true" /> |
| | | <rollingStyle value="Date" /> |
| | | <staticLogFileName value="false" /> |
| | |
| | | <param name="ConversionPattern" value="%nå¼å¸¸æ¶é´ï¼%d [%t] %nå¼å¸¸çº§å«ï¼%-5p %nå¼ å¸¸ ç±»ï¼%c [%x] %n%m %n "/> |
| | | </layout> |
| | | <filter type="log4net.Filter.LoggerMatchFilter"> |
| | | <loggerToMatch value="OutPlanTask_Error" /> |
| | | <loggerToMatch value="PrintHandler_Error" /> |
| | | </filter> |
| | | <filter type="log4net.Filter.DenyAllFilter" /> |
| | | </appender> |
| | |
| | | <appender-ref ref="DataProcess_RobotBuffer_AutoQiTaoOutbound_Error"/> |
| | | <appender-ref ref="DataProcess_RobotBuffer_ModeChange_Info"/> |
| | | <appender-ref ref="DataProcess_RobotBuffer_ModeChange_Error"/> |
| | | <appender-ref ref="OutPlanTask_Info"/> |
| | | <appender-ref ref="OutPlanTask_Error"/> |
| | | <appender-ref ref="PrintHandler_Info"/> |
| | | <appender-ref ref="PrintHandler_Error"/> |
| | | <!--å åæºä»»å¡çº¿ç¨æ¥å¿--> |
| | | <appender-ref ref="SrmTheadService_Info"/> |
| | | <appender-ref ref="SrmTheadService_Error"/> |
¶Ô±ÈÐÂÎļþ |
| | |
| | |  |
| | | |
| | | using System.ComponentModel; |
| | | |
| | | namespace Admin.NET.Application |
| | | { |
| | | |
| | | /// <summary> |
| | | /// æå°åç±»æä¸¾ |
| | | /// </summary> |
| | | [Description("æå°åç±»æä¸¾")] |
| | | public enum PrintClassifyEnum |
| | | { |
| | | /// <summary> |
| | | /// å
è£
æ¡ç |
| | | /// </summary> |
| | | [Description("å
è£
æ¡ç ")] |
| | | å
è£
æ¡ç = 1, |
| | | |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | |  |
| | | |
| | | using System.ComponentModel; |
| | | |
| | | namespace Admin.NET.Application |
| | | { |
| | | |
| | | /// <summary> |
| | | /// æå°ç±»å |
| | | /// </summary> |
| | | [Description("æå°ç±»å")] |
| | | public enum PrintTypeEnum |
| | | { |
| | | /// <summary> |
| | | /// å
è£
æ¡ç |
| | | /// </summary> |
| | | [Description("å
è£
æ¡ç ")] |
| | | å
è£
æ¡ç = 1, |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æå°æ¥æº |
| | | /// </summary> |
| | | [Description("æå°æ¥æº")] |
| | | public enum PrintSourceEnum |
| | | { |
| | | /// <summary> |
| | | /// å
è£
æ¡ç æå° |
| | | /// </summary> |
| | | [Description("å
è£
æ¡ç æå°")] |
| | | å
è£
æ¡ç æå° = 1, |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æå°ç¶æ |
| | | /// </summary> |
| | | [Description("æå°ç¶æ")] |
| | | public enum PrintStatuEnum |
| | | { |
| | | /// <summary> |
| | | /// æªæå° |
| | | /// </summary> |
| | | [Description("æªæå°")] |
| | | æªæå° = 0, |
| | | |
| | | /// <summary> |
| | | /// å·²æå° |
| | | /// </summary> |
| | | [Description("å·²æå°")] |
| | | å·²æå° = 1, |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | <Compile Include="EnumType\TaskExcuteTypeEnum.cs" /> |
| | | <Compile Include="EnumType\ThreadDirectionEnum.cs" /> |
| | | <Compile Include="EnumType\WMS\AreaCodeEnum.cs" /> |
| | | <Compile Include="EnumType\WMS\PrintClassifyEnum.cs" /> |
| | | <Compile Include="EnumType\WMS\PrintTypeEnum.cs" /> |
| | | <Compile Include="EnumType\WMS\RbRunModeEnum.cs" /> |
| | | <Compile Include="EnumType\WMS\RbTaskTypeEnum.cs" /> |
| | | <Compile Include="EnumType\WMS\StockStatusEnum.cs" /> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8" ?> |
| | | <configuration> |
| | | |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> |
| | | </startup> |
| | | |
| | | <appSettings> |
| | | <add key="printerName" value="HP DeskJet 2700 series" /> |
| | | <add key="templatePath" value="C:\templates\yoke.btw" /> |
| | | </appSettings> |
| | | |
| | | |
| | | |
| | | <system.serviceModel> |
| | | <behaviors> |
| | | <serviceBehaviors> |
| | | <behavior name=""> |
| | | <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /> |
| | | <serviceDebug includeExceptionDetailInFaults="false" /> |
| | | </behavior> |
| | | </serviceBehaviors> |
| | | </behaviors> |
| | | <services> |
| | | <service name="Express_printer.wcf.PrintWcfService"> |
| | | <endpoint address="" binding="basicHttpBinding" contract="Express_printer.wcf.IPrintWcfService"> |
| | | <identity> |
| | | <dns value="localhost" /> |
| | | </identity> |
| | | </endpoint> |
| | | <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> |
| | | <host> |
| | | <baseAddresses> |
| | | <add baseAddress="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" /> |
| | | </baseAddresses> |
| | | </host> |
| | | </service> |
| | | </services> |
| | | </system.serviceModel> |
| | | </configuration> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8" ?> |
| | | <configuration> |
| | | |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> |
| | | </startup> |
| | | |
| | | <appSettings> |
| | | <add key="printerName" value="HP DeskJet 2700 series" /> |
| | | <add key="templatePath" value="C:\templates\yoke.btw" /> |
| | | </appSettings> |
| | | |
| | | |
| | | |
| | | <system.serviceModel> |
| | | <behaviors> |
| | | <serviceBehaviors> |
| | | <behavior name=""> |
| | | <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /> |
| | | <serviceDebug includeExceptionDetailInFaults="false" /> |
| | | </behavior> |
| | | </serviceBehaviors> |
| | | </behaviors> |
| | | <services> |
| | | <service name="Express_printer.wcf.PrintWcfService"> |
| | | <endpoint address="" binding="basicHttpBinding" contract="Express_printer.wcf.IPrintWcfService"> |
| | | <identity> |
| | | <dns value="localhost" /> |
| | | </identity> |
| | | </endpoint> |
| | | <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> |
| | | <host> |
| | | <baseAddresses> |
| | | <add baseAddress="http://localhost:8733/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" /> |
| | | </baseAddresses> |
| | | </host> |
| | | </service> |
| | | </services> |
| | | </system.serviceModel> |
| | | </configuration> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| | | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
| | | <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> |
| | | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> |
| | | <security> |
| | | <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> |
| | | <requestedExecutionLevel level="asInvoker" uiAccess="false"/> |
| | | </requestedPrivileges> |
| | | </security> |
| | | </trustInfo> |
| | | </assembly> |
| | |
| | | public PrintSourceEnum PrintSource { get; set; } |
| | | |
| | | |
| | | |
| | | #region æå°å
容 |
| | | |
| | | [SugarColumn(ColumnName = "PackageCode", ColumnDescription = "å
è£
å·", Length = 50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è·è¸ªç |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SNCode", ColumnDescription = "è·è¸ªç ", Length = 255)] |
| | | |
| | | public string SNCode { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info4", ColumnDescription = "éå®åååå·", Length = 60)] |
| | | public string? Info4 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼å· |
| | | /// ç产åå· |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "MaterialCode", ColumnDescription = "ç©æç¼å·", Length = 50)] |
| | | |
| | | public string MaterialCode { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info5", ColumnDescription = "ç产åå·", Length = 60)] |
| | | public string? Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåç§° |
| | | /// 第å å
|
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "MaterialName", ColumnDescription = "ç©æåç§°", Length = 50)] |
| | | |
| | | public string MaterialName { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info6", ColumnDescription = "第å å
", Length = 60)] |
| | | public string? Info6 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºåç¼å· |
| | | /// ç»éåºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SupplierCode", ColumnDescription = "ä¾åºåç¼å·", Length = 50)] |
| | | |
| | | public string? SupplierCode { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info7", ColumnDescription = "ç»éåºåç§°", Length = 60)] |
| | | public string? Info7 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¾åºååç§° |
| | | /// 产ååç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SupplierName", ColumnDescription = "ä¾åºååç§°", Length = 50)] |
| | | |
| | | public string? SupplierName { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info8", ColumnDescription = "产ååç§°", Length = 60)] |
| | | public string? Info8 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºååä½ |
| | | /// 客æ·åç§° |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "MaterialUnit", ColumnDescription = "åºååä½", Length = 50)] |
| | | |
| | | public string MaterialUnit { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info10", ColumnDescription = "客æ·åç§°", Length = 60)] |
| | | public string? Info10 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// éè´åä½ |
| | | /// å
è£
ç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "POUnit", ColumnDescription = "éè´åä½", Length = 50)] |
| | | |
| | | public string? POUnit { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info9", ColumnDescription = "å
è£
ç¼ç ", Length = 60)] |
| | | public string? Info9 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ°é |
| | | /// èªæoråè´§ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "Quantity", ColumnDescription = "æ°é", Length = 10, DecimalDigits = 3)] |
| | | public decimal Quantity { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info11", ColumnDescription = "èªæoråè´§", Length = 60)] |
| | | public string? Info11 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ®å· |
| | | /// å
è£
é¨ä»¶æ»æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OrderNo", ColumnDescription = "åæ®å·", Length = 50)] |
| | | |
| | | public string? OrderNo { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info12", ColumnDescription = "å
è£
é¨ä»¶æ»æ°é", Length = 60)] |
| | | public string? Info12 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
³èåå· |
| | | /// å
è£
é¢ç§¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "RelationNo", ColumnDescription = "å
³èåå·", Length = 50)] |
| | | |
| | | public string? RelationNo { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info13", ColumnDescription = "å
è£
é¢ç§¯", Length = 60)] |
| | | public string? Info13 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ®è¡å· |
| | | /// é¨ä»¶åç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OrderNoLineNumber", ColumnDescription = "åæ®è¡å·", Length = 50)] |
| | | |
| | | public string? OrderNoLineNumber { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info14", ColumnDescription = "é¨ä»¶åç§°", Length = 60)] |
| | | public string? Info14 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
³èåè¡å· |
| | | /// é¨ä»¶æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "RelationNoLineNumber", ColumnDescription = "å
³èåè¡å·", Length = 50)] |
| | | |
| | | public string? RelationNoLineNumber { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info15", ColumnDescription = "é¨ä»¶æ°é")] |
| | | public int? Info15 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åºä½ç¼å· |
| | | /// é¨ä»¶å°ºå¯¸ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "PlaceCode", ColumnDescription = "åºä½ç¼å·", Length = 50)] |
| | | [SugarColumn(ColumnName = "Info16", ColumnDescription = "é¨ä»¶å°ºå¯¸", Length = 60)] |
| | | public string? Info16 { get; set; } |
| | | |
| | | public string? PlaceCode { get; set; } |
| | | #endregion |
| | | |
| | | |
| | | /// <summary> |
| | | /// åºä½åç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "PlaceName", ColumnDescription = "åºä½åç§°", Length = 50)] |
| | | |
| | | public string? PlaceName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç®æ åºåºç¼å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ToAreaCode", ColumnDescription = "ç®æ åºåºç¼å·", Length = 50)] |
| | | |
| | | public string? ToAreaCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç®æ åºåºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ToAreaName", ColumnDescription = "ç®æ åºåºåç§°", Length = 50)] |
| | | |
| | | public string? ToAreaName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç®æ åºä½ç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ToPlaceCode", ColumnDescription = "ç®æ åºä½ç¼ç ", Length = 50)] |
| | | |
| | | public string? ToPlaceCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç®æ åºä½åç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ToPlaceName", ColumnDescription = "ç®æ åºä½åç§°", Length = 50)] |
| | | |
| | | public string? ToPlaceName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æºåºåºç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SourceAreaCode", ColumnDescription = "æºåºåºç¼ç ", Length = 50)] |
| | | |
| | | public string? SourceAreaCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æºåºåºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "SourceAreaName", ColumnDescription = "æºåºåºåç§°", Length = 50)] |
| | | |
| | | public string? SourceAreaName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | |
| | | public enum PrintTypeEnum |
| | | { |
| | | /// <summary> |
| | | /// ç©æè·è¸ªç |
| | | /// å
è£
æ¡ç |
| | | /// </summary> |
| | | [Description("ç©æè·è¸ªç ")] |
| | | ç©æè·è¸ªç = 1, |
| | | |
| | | /// <summary> |
| | | /// çæ¿å¡ |
| | | /// </summary> |
| | | [Description("çæ¿å¡")] |
| | | çæ¿å¡ = 2 |
| | | |
| | | |
| | | [Description("å
è£
æ¡ç ")] |
| | | å
è£
æ¡ç = 1, |
| | | } |
| | | |
| | | |
| | |
| | | public enum PrintSourceEnum |
| | | { |
| | | /// <summary> |
| | | /// åºåè·è¸ªç æå° |
| | | /// å
è£
æ¡ç æå° |
| | | /// </summary> |
| | | [Description("åºåè·è¸ªç æå°")] |
| | | åºåè·è¸ªç æå° = 1, |
| | | |
| | | /// <summary> |
| | | /// ASNåè·è¸ªç æå° |
| | | /// </summary> |
| | | [Description("ASNåè·è¸ªç æå°")] |
| | | ASNåè·è¸ªç æå° = 2, |
| | | |
| | | /// <summary> |
| | | /// ç©ææåæå° |
| | | /// </summary> |
| | | [Description("ç©ææåæå°")] |
| | | ç©ææåæå° = 3, |
| | | |
| | | /// <summary> |
| | | /// ç©æåå¹¶æå° |
| | | /// </summary> |
| | | [Description("ç©æåå¹¶æå°")] |
| | | ç©æåå¹¶æå° = 4, |
| | | |
| | | /// <summary> |
| | | /// ç©æåæ£æå° |
| | | /// </summary> |
| | | [Description("ç©æåæ£æå°")] |
| | | ç©æåæ£æå° = 5, |
| | | |
| | | /// <summary> |
| | | /// çæ¿å¡æå° |
| | | /// </summary> |
| | | [Description("çæ¿å¡æå°")] |
| | | çæ¿å¡æå° = 6 |
| | | |
| | | [Description("å
è£
æ¡ç æå°")] |
| | | å
è£
æ¡ç æå° = 1, |
| | | |
| | | } |
| | | |
| | |
| | | public enum PrintClassifyEnum |
| | | { |
| | | /// <summary> |
| | | /// ä¸ç»´è·è¸ªç |
| | | /// å
è£
æ¡ç |
| | | /// </summary> |
| | | [Description("ä¸ç»´è·è¸ªç ")] |
| | | ä¸ç»´è·è¸ªç = 1, |
| | | [Description("å
è£
æ¡ç ")] |
| | | å
è£
æ¡ç = 1, |
| | | |
| | | /// <summary> |
| | | /// äºç»´è·è¸ªç |
| | | /// </summary> |
| | | [Description("äºç»´è·è¸ªç ")] |
| | | äºç»´è·è¸ªç = 2, |
| | | |
| | | /// <summary> |
| | | /// çæ¿å¡ |
| | | /// </summary> |
| | | [Description("çæ¿å¡")] |
| | | çæ¿å¡ = 3 |
| | | |
| | | |
| | | } |