This commit is contained in:
Aart van Halteren
2013-07-18 21:23:18 +02:00
parent 4e9ccb42d7
commit 68ca2bcf7a

View File

@@ -6,8 +6,8 @@ class Reading < ActiveRecord::Base
self.total_kwh_produced_high == reading.total_kwh_produced_high && self.total_kwh_produced_high == reading.total_kwh_produced_high &&
self.total_kwh_produced_low == reading.total_kwh_produced_low && self.total_kwh_produced_low == reading.total_kwh_produced_low &&
self.current_kw_consumed == reading.current_kw_consumed && self.current_kw_consumed == reading.current_kw_consumed &&
self.current_kw_produced = reading.current_kw_produced && self.current_kw_produced == reading.current_kw_produced &&
self.total_m3_gas_consumed = reading.total_m3_gas_consumed && self.total_m3_gas_consumed == reading.total_m3_gas_consumed &&
self.high_tarif == reading.high_tarif self.high_tarif == reading.high_tarif
end end