public DeviceLoginViewModel(DeviceLoginView deviceLoginView)
        {
            _deviceLoginView = deviceLoginView;
            _userInfo        = IoC.Get <UserInfo>();
            _bmsService      = IoC.Get <IBms>();

            LoadCommand           = DelegateCommand.FromAsyncHandler(LoadAsync);
            TopMostTriggerCommand = new DelegateCommand(TriggerTopMost);
            ShowLogCommand        = DelegateCommand.FromAsyncHandler(ShowLogAsync);
        }
        public DeviceLoginViewModel(DeviceLoginView deviceLoginView)
        {
            _deviceLoginView = deviceLoginView;
            _userInfo        = DependencyResolver.Current.GetService <UserInfo>();
            _bmsService      = DependencyResolver.Current.GetService <IBms>();

            LoadCommand           = DelegateCommand.FromAsyncHandler(LoadAsync);
            TopMostTriggerCommand = new DelegateCommand(TriggerTopMost);
            ShowLogCommand        = DelegateCommand.FromAsyncHandler(ShowLogAsync);
        }