1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-23 00:00:02 +01:00
VILLASweb/app/models/property.js
Markus Grigull b7c8a47611 Add time scaled data
Data is send in arrays with timestamp for each value. The X-Axis
on the chart now displays the real time of the data.
2015-10-12 17:36:34 +02:00

11 lines
299 B
JavaScript

import DS from 'ember-data';
export default DS.Model.extend({
name: DS.attr('string'),
type: DS.attr('string'),
values: DS.attr(),
timestamp: DS.attr('date'),
visible: DS.attr('boolean', { defaultValue: false }),
entity: DS.belongsTo('entity'),
category: DS.belongsTo('category')
});