internal int GetSensorHistoryTotals(SensorHistoryParameters parameters) { parameters.Count = 0; var data = ObjectEngine.GetObjectsRaw <SensorHistoryData>(parameters, responseParser: m => ResponseParser.GetSensorHistoryResponse(m, LogLevel, RequestEngine.IsDirty)); parameters.GetParameters().Remove(Parameter.Count); return(Convert.ToInt32(data.TotalCount)); }
internal int GetSensorHistoryTotals(SensorHistoryParameters parameters) { parameters.Count = 0; var data = ObjectEngine.GetObjectsRaw <SensorHistoryData>(parameters, ResponseParser.ValidateSensorHistoryResponse); parameters.GetParameters().Remove(Parameter.Count); return(Convert.ToInt32(data.TotalCount)); }