Description of ZWaveJob.
Exemple #1
0
 /// <summary>
 /// 
 /// </summary>
 public void EnqueueJob(ZWaveJob job)
 {
     lock (this._queueLock)
     {
         this.JobQueue.AddLast(job);
     }
 }
Exemple #2
0
 private void GetVersion()
 {
     ZWaveJob v = new ZWaveJob();
     v.Request = new ZWaveMessage(ZWaveProtocol.MessageType.REQUEST,
                                  ZWaveProtocol.Function.GET_VERSION);
     v.ResponseReceived += ResponseReceived;
     this._port.EnqueueJob(v);
 }
Exemple #3
0
 public void InjectJob(ZWaveJob job)
 {
     lock (this._queueLock)
     {
         this.JobQueue.AddFirst(job);
     }
 }
Exemple #4
0
 private void GetHomeID()
 {
     ZWaveJob h = new ZWaveJob();
     h.Request = new ZWaveMessage(ZWaveProtocol.MessageType.REQUEST,
                                  ZWaveProtocol.Function.MEMORY_GET_ID);
     h.ResponseReceived += ResponseReceived;
     this._port.EnqueueJob(h);
 }