public async Task GetSignal()
        {
            reposytory = SignalReposytory.GetReposytory();
            await reposytory.GetSignals(AuthorizationService.GetService().Tocken, AuthorizationService.GetService().Login);

            model = reposytory.GetSignal();
            _view.SetSignals(model);
        }
 static public SignalReposytory GetReposytory()
 {
     if (signalReposytory == null)
     {
         signalReposytory = new SignalReposytory();
     }
     return(signalReposytory);
 }
Esempio n. 3
0
        public void GetSignal(int nomber)
        {
            var signal = SignalReposytory.GetReposytory().GetSignal()[nomber];

            screenview.SetSignal(signal);
        }