mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-23 00:00:02 +01:00

Data is send in arrays with timestamp for each value. The X-Axis on the chart now displays the real time of the data.
11 lines
299 B
JavaScript
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')
|
|
});
|