public void AddToPending(SensorPendingModel sensorPendingModel)
        {
            var oldSensor =
                GetPendingMember(sensorPendingModel.Id);

            if (oldSensor != null)
            {
                oldSensor.UploadInterval = sensorPendingModel.UploadInterval;
            }
            else
            {
                sensors.Add(sensorPendingModel);
            }
        }
 public void ClearPending(SensorPendingModel sensorPendingModel)
 {
     sensors.Remove(sensorPendingModel);
 }