private void ReceiveHeader(object pObj) { RmtpDataFrame pDataFrame = pObj as RmtpDataFrame; if (_header == null) { _header = RmtpDataFrame.GetDataFrame <WbfqexDescribeHeader>(pDataFrame); if (HeaderCompleted != null) { HeaderCompleted(_header); } } }
public void Stop() { if (RmtpManager.Rmtp.IsConnected) { RmtpManager.Rmtp.ExecuteCommand(RmtpCommand.RSTOP);//停止指令 } _timeHelper.StopTimeCalculateHelper(); _header = null; _cSpectrumDataItems.Clear(); _backgrounDataItems.Clear(); _noiseDataItems.Clear(); _cSignalStatisticsItems.Clear(); }