public void Dispose() { MessageTransceiver?.Dispose(); TimingManager.Dispose(); CoroutineManager.Dispose(); DebugManager.Dispose(); }
public UplinkMessageProcessor(SlaveContext context) { this._context = context; this._transceiver = _context.MessageTransceiver; this._waitTimer = new Timer(SendHeartBeatMessage, null, Timeout.Infinite, Timeout.Infinite); this._heartBeatInterval = _context.GetProperty <int>("StatusUploadInterval"); this._eventProcessFlag = -1; }