private DeviceBus GetBus(byte comport)
 {
     lock (_BusesLocker)
     {
         var ret = _Buses.SingleOrDefault(it => it.Comport == comport);
         if (ret == null)
         {
             ret = new DeviceBus(comport, 1200);
             _Buses.Add(ret);
         }
         if (!ret.IsOpened) ret.Open();
         return ret;
     }
 }
 private DeviceBus GetBus(byte comport)
 {
     lock (_BusesLocker)
     {
         var ret = _Buses.SingleOrDefault(it => it.Comport == comport);
         if (ret == null)
         {
             ret = new DeviceBus(comport, 1200);
             _Buses.Add(ret);
         }
         if (!ret.IsOpened)
         {
             ret.Open();
         }
         return(ret);
     }
 }