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