// No processing needed because bike is not a bluetooth bike
updatedBikesCollection.Add(bikeInfo.Id,bikeInfo);
continue;
}
// Check if to update current bike lock info using state from bluetooth service or not.
varcurrentLockInfo=locksInfo.FirstOrDefault(x=>x.Id==bluetoothBikeInfo.LockInfo.Id)// Update bike info with latest info from bluethooth service if available
??bluetoothBikeInfo.LockInfo;// Use lock info state object from copri which holds a lock id and a state of value unknown.