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

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

            TillsCommunicationService.SetProductDepartment(productDepartmentModel, tillName, ipAddress);

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

            string tillName = ProductDepartment.Till.Name;
            string ipAddress = ProductDepartment.Till.IPAddress;
            TillsCommunicationService.SetProductDepartment(productDepartmentModel, tillName, ipAddress);

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