Exemple #1
0
            private void SendGetConsoleOutLinesMqMessage(bool isFast)
            {
                if (this._minerClientVm == null)
                {
                    return;
                }
                long afterTime     = 0;
                var  minerClientVm = this._minerClientVm;

                lock (_locker) {
                    var item = _outLines.LastOrDefault();
                    if (item != null)
                    {
                        afterTime = item.Timestamp;
                    }
                }
                if (isFast)
                {
                    MinerStudioService.FastGetConsoleOutLinesAsync(minerClientVm, afterTime);
                }
                else
                {
                    MinerStudioService.GetConsoleOutLinesAsync(minerClientVm, afterTime);
                }
            }