 ###
 
 cozydb = require 'cozydb'
+Measure = require './measure'
 
 module.exports = SensorModel = cozydb.getModel 'Sensor',
 	@schema:

	###
	# updateAttributesForDBAndDriver
	# ====
	# Update data about the Sensor, both for the DB and Driver
	# @param data (dictionary): 						New data
	# @param sensorsDrivers (Driver[]): 				List of drivers supported by the system
	# @param callback (Function(Error, Sensor):null):	Callback

		return
	
	
	###
	# createMeasure
	# ====
	# Generates a measure for this Sensor.
	# @param data (dictionary): 						Measure's data (value, time, type)
	# @param callback (Function(Measure):null):			Callback
	###
	@createMeasure = (data, callback) ->
		sanitize data
		data.sensorId = @id
		measure = Measure.create data callback
		
	
###
# byId
