-
Notifications
You must be signed in to change notification settings - Fork 5
/
cons.js
36 lines (33 loc) · 1.26 KB
/
cons.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2017 Telefónica Digital España S.L.
//
// This file is part of UrboCore API.
//
// UrboCore API is free software: you can redistribute it and/or
// modify it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// UrboCore API is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
// General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with UrboCore API. If not, see http://www.gnu.org/licenses/.
//
// For those usages not covered by this license please contact with
// iot_support at tid dot es
var AVG = 'AVG';
var SUM = 'SUM';
var MIN = 'MIN';
var MAX = 'MAX';
var NOAGG = 'NOAGG';
module.exports.AVG = AVG;
module.exports.SUM = SUM;
module.exports.MAX = MAX;
module.exports.MIN = MIN;
module.exports.NOAGG = NOAGG;
module.exports.VALIDAGGS = [MAX,MIN,AVG,SUM,NOAGG];
module.exports.PUBLISHED = -1;
module.exports.DYNAMIC_RANGE_COLOR_PALETTE = [
'#ade6f9', '#51c4ed', '#15a2df', '#017fca', '#0063a8'];