oop web : commented out debuglogging for glucosedata on several places

This commit is contained in:
Johan Degraeve 2019-08-14 12:18:07 +02:00
parent 261779d995
commit 4caab3b3c2
3 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ struct LibreMeasurement {
self.temperatureAlgorithmGlucose = 0
}
print(self.description)
//print(self.description)
}

View File

@ -196,16 +196,16 @@ class LibreOOPClient {
for trend in measurements {
let glucose = LibreRawGlucoseData(timeStamp: trend.date, unsmoothedGlucose: trend.temperatureAlgorithmGlucose)
debuglogging("in trendToLibreGlucose before CalculateSmothedData5Points, glucose.glucoseLevelRaw = " + glucose.glucoseLevelRaw.description + ", glucose.unsmoothedGlucose = " + glucose.unsmoothedGlucose.description)
//debuglogging("in trendToLibreGlucose before CalculateSmothedData5Points, glucose.glucoseLevelRaw = " + glucose.glucoseLevelRaw.description + ", glucose.unsmoothedGlucose = " + glucose.unsmoothedGlucose.description)
origarr.append(glucose)
}
var arr : [LibreRawGlucoseData]
arr = LibreGlucoseSmoothing.CalculateSmothedData5Points(origtrends: origarr)
for glucose in arr {
/*for glucose in arr {
debuglogging("in trendToLibreGlucose after CalculateSmothedData5Points, glucose.glucoseLevelRaw = " + glucose.glucoseLevelRaw.description + ", glucose.unsmoothedGlucose = " + glucose.unsmoothedGlucose.description)
}
}*/
return arr
}

View File

@ -268,9 +268,9 @@ final class RootViewController: UIViewController {
/// - sensorTimeInMinutes : should be present only if it's the first reading(s) being processed for a specific sensor and is needed if it's a transmitterType that returns true to the function canDetectNewSensor
private func processNewGlucoseData(glucoseData: inout [GlucoseData], sensorTimeInMinutes: Int?) {
for glucose in glucoseData {
/*for glucose in glucoseData {
debuglogging(glucose.description)
}
}*/
// check that calibrations and coredata manager is not nil
guard let calibrationsAccessor = calibrationsAccessor, let coreDataManager = coreDataManager else {