oop web : commented out debuglogging for glucosedata on several places
This commit is contained in:
parent
261779d995
commit
4caab3b3c2
|
@ -77,7 +77,7 @@ struct LibreMeasurement {
|
|||
self.temperatureAlgorithmGlucose = 0
|
||||
}
|
||||
|
||||
print(self.description)
|
||||
//print(self.description)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue