예제 #1
0
        public void SetService() {

            this.SerClient = new WMSProcessClient();

            if (this.SerClient.State == CommunicationState.Faulted)
                this.SerClient.Abort();

            if (this.SerClient.State != CommunicationState.Opened)
                this.SerClient.Open();
        }
예제 #2
0
        public WMSServiceClient()
        {
            //if (this.SerClient  == null)
                this.SerClient = new WMSProcessClient();
          

            //if (this.SerClient.State == CommunicationState.Faulted)
            //    this.SerClient.Abort();


            //if (this.SerClient.State != CommunicationState.Opened)
            //    this.SerClient.Open();
        }