Exemplo n.º 1
0
 protected virtual void Initialize(GenericDevice device)
 {
     this.ParentDevice       = device;
     this.InReport           = new IncomingReport(this);
     this.OutReport          = new OutgoingReport(this);
     this.opCodeRequestTimer = new OpCodeRequestTimer(this, ceateDelegates());
 }
Exemplo n.º 2
0
 public virtual void Dispose()
 {
     opCodeRequestTimer.Stop();
     operationMRE.Set();
     OnAcked      = null;
     OnParsed     = null;
     OnError      = null;
     OnFinished   = null;
     ParentDevice = null;
     InReport     = null;
     OutReport    = null;
 }