示例#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);
 }
示例#2
0
 private void OnDevicePacketHandlerTransmitted(object sender, PacketStatusEventArg e)
 {
     this.packetHandlerView1.PacketNumber = e.Number;
 }
示例#3
0
 private void device_PacketHandlerReceived(object sender, PacketStatusEventArg e)
 {
     this.maxPacketNumber = e.Max;
       this.packetNumber = e.Number;
       this.Update();
 }
示例#4
0
 private void device_PacketHandlerTransmitted(object sender, PacketStatusEventArg e)
 {
     maxPacketNumber = e.Max;
     packetNumber = e.Number;
     Update();
 }
示例#5
0
 private void OnDevicePacketHandlerReceived(object sender, PacketStatusEventArg e)
 {
     this.loRaViewControl1.PacketNumber = e.Number;
 }