Esempio n. 1
0
 private void device_PacketHandlerTransmitted(object sender, PacketStatusEventArg e)
 {
     if (this.InvokeRequired)
         this.BeginInvoke((Delegate)new DeviceViewControl.DevicePacketHandlerTransmittedDelegate(this.OnDevicePacketHandlerTransmitted), sender, (object)e);
     else
         this.OnDevicePacketHandlerTransmitted(sender, e);
 }
Esempio n. 2
0
 private void OnDevicePacketHandlerTransmitted(object sender, PacketStatusEventArg e)
 {
     this.packetHandlerView1.PacketNumber = e.Number;
 }
Esempio n. 3
0
 private void device_PacketHandlerReceived(object sender, PacketStatusEventArg e)
 {
     this.maxPacketNumber = e.Max;
       this.packetNumber = e.Number;
       this.Update();
 }
Esempio n. 4
0
 private void device_PacketHandlerTransmitted(object sender, PacketStatusEventArg e)
 {
     maxPacketNumber = e.Max;
     packetNumber = e.Number;
     Update();
 }
Esempio n. 5
0
 private void OnDevicePacketHandlerReceived(object sender, PacketStatusEventArg e)
 {
     this.loRaViewControl1.PacketNumber = e.Number;
 }