コード例 #1
0
ファイル: ChangeFacade.xaml.cs プロジェクト: maverick126/MRS
        public void CheckFacadeConfigurationDifference(int revisionid, int newfacadehomeid, string effectivedate)
        {
            if (_message.Count == 0)
            {
                RetailSystemClient MRSclient = new RetailSystemClient();
                MRSclient.Endpoint.Address = new System.ServiceModel.EndpointAddress(Internal.Utilities.GetMetriconRetailSystemWcfClientEndpointUrl());

                MRSclient.CheckFacadeConfigurationDifferenceCompleted += new EventHandler <CheckFacadeConfigurationDifferenceCompletedEventArgs>(mrsClient_CheckFacadeConfigurationDifferenceCompleted);
                MRSclient.CheckFacadeConfigurationDifferenceAsync(revisionid, newfacadehomeid, effectivedate);
            }
            else
            {
                mrsClient_CheckFacadeConfigurationDifferenceCompleted(null, null);
            }
        }