Example #1
0
 public void PlayTone(bool simplex = true)
 {
     PlayToneAcceptance();
     if (simplex)
     {
         RadioConnection.SendStateToRemoteMachine(State, ERadioState.SignalBegin);
         RadioConnection.SendStateToRemoteMachine(State, ERadioState.SignalEnd);
     }
 }
Example #2
0
 public void Stop() => RadioConnection.Stop();
Example #3
0
 public void Init()
 {
     RadioConnection.Init(this);
 }
Example #4
0
 public void Start() => RadioConnection.Start();
Example #5
0
 public RadioLogic()
 {
     State      = new RadioState(frequency, antenna);
     frequency  = 0;
     connection = new RadioConnection();
 }