19 lines
469 B
JavaScript
19 lines
469 B
JavaScript
module.exports = Self => {
|
|
Self.remoteMethod('getThermographTemperatures', {
|
|
description: 'Gets the thermograph temperatures',
|
|
accessType: 'READ',
|
|
returns: {
|
|
type: ['String'],
|
|
root: true
|
|
},
|
|
http: {
|
|
path: `/getThermographTemperatures`,
|
|
verb: 'GET'
|
|
}
|
|
});
|
|
|
|
Self.getThermographTemperatures = async() => {
|
|
return Self.getEnumValues('temperature');
|
|
};
|
|
};
|