private void transmitterViewControl1_Pa20dBmChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetPa20dBm(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void commonViewControl1_TcxoInputChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetTcxoInputOn(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void receiverViewControl1_RestartRxOnCollisionOnChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetRestartRxOnCollisionOn(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void temperatureViewControl1_TempMeasOnChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetTempMonitorOff(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void irqMapViewControl1_DioPreambleIrqOnChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetDioPreambleIrqOn(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void packetHandlerView1_TxStartConditionChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetTxStartCondition(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void transmitterViewControl1_OcpOnChanged(object sender, BooleanEventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetOcpOn(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void commonViewControl1_SequencerChanged(object sender, BooleanEventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetSequencer(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void receiverViewControl1_SensitivityBoostOnChanged(object sender, BooleanEventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetSensitivityBoostOn(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void temperatureViewControl1_AdcLowPowerOnChanged(object sender, BooleanEventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetAdcLowPowerOn(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void receiverViewControl1_RssiAutoThreshChanged(object sender, BooleanEventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.RssiAutoThresh = e.Value; } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void packetHandlerView1_TxStartConditionChanged(object sender, BooleanEventArg e) { try { Cursor = Cursors.WaitCursor; OnError(0, "-"); sx1231.SetTxStartCondition(e.Value); } catch (Exception exception) { OnError(1, exception.Message); } finally { Cursor = Cursors.Default; } }
private void loRaViewControl1_ValidHeaderMaskChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetValidHeaderMask(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void loRaViewControl1_StartStopChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.SetPacketHandlerStartStop(e.Value); } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }
private void loRaViewControl1_PacketModeTxChanged(object sender, BooleanEventArg e) { try { this.Cursor = Cursors.WaitCursor; this.OnError((byte)0, "-"); this.device.PacketModeTx = e.Value; } catch (Exception ex) { this.OnError((byte)1, ex.Message); } finally { this.Cursor = Cursors.Default; } }