コード例 #1
0
        private void SendDataToRelevantTill()
        {
            var productGroupModel = new EventManagementSystem.Models.TillDomainObjects.ProductGroupModel
            {
                Record = ProductGroup.RecordID,
                Name   = ProductGroup.Name
            };

            string tillName  = ProductGroup.Till.Name;
            string ipAddress = ProductGroup.Till.IPAddress;

            TillsCommunicationService.SetProductGroup(productGroupModel, tillName, ipAddress);

            IsBusy = false;
            RaisePropertyChanged("CloseDialog");
        }
コード例 #2
0
        private void SendDataToRelevantTill()
        {
            var productGroupModel = new EventManagementSystem.Models.TillDomainObjects.ProductGroupModel
            {
                Record = ProductGroup.RecordID,
                Name = ProductGroup.Name
            };

            string tillName = ProductGroup.Till.Name;
            string ipAddress = ProductGroup.Till.IPAddress;
            TillsCommunicationService.SetProductGroup(productGroupModel, tillName, ipAddress);

            IsBusy = false;
            RaisePropertyChanged("CloseDialog");
        }