public void TerminateMachine(RS485Constants.Machine machine)
 {
     switch (machine)
     {
         case RS485Constants.Machine.Client:
         case RS485Constants.Machine.Server:
         case RS485Constants.Machine.ServerAndClient:
             // Stop();
             break;
     }
 }
 public void TerminateMachine(RS485Constants.Machine machine)
 {
     TerminateMachineDelegate local = TerminateMachineEvent;
     if (local != null)
     {
         local(machine);
     }
 }