예제 #1
0
        private async void VerifyCentral()
        {
            _dialogService.ShowWait("Verifying,Please wait...");
            Central = new ServerConfig("hapi.central");
            var practice = await _activationService.GetCentral(CentralAddress);

            _dialogService.HideWait();

            if (null != practice)
            {
                //Activate Device

                Central = ServerConfig.CreateCentral(practice, CentralAddress);
            }
            else
            {
                _dialogService.Alert("Address could not be verified");
            }
            CentralName = Central.Name;
        }