예제 #1
0
 private void refreshTimer_Elapsed(object sender, EventArgs e)
 {
     WATR_RefreshRequestArgs request = new WATR_RefreshRequestArgs(this.Address);
     if (request != null)
         RefreshRequest(this, request);
 }
예제 #2
0
 public void ForceRefresh()
 {
     WATR_RefreshRequestArgs request = new WATR_RefreshRequestArgs(this.Address);
     if (request != null)
         RefreshRequest(this, request);
 }
예제 #3
0
 //Handle all of the refresh requests here
 void xbee_RefreshRequest(object sender, WATR_RefreshRequestArgs e)
 {
     //Send out a packet to the specified device and generate a sensor record request item
     packetHandler.TransmitRequest(e.Requestor, customPacker.generateSensorRecordRequest());
 }