2019-05-20 13:48:41 +00:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The received signal strength of a message from a single gateway.
|
2019-05-22 17:04:46 +00:00
|
|
|
* @param {number} id The id of this rssi measurement.
|
2019-05-20 13:48:41 +00:00
|
|
|
* @param {number} gateway_id The id of this gateway.
|
|
|
|
* @param {number} rssi The rssi measurement.
|
|
|
|
*/
|
|
|
|
class RSSI {
|
|
|
|
constructor(id, gateway_id, rssi) {
|
|
|
|
this.id = id;
|
|
|
|
this.gateway_id = gateway_id;
|
|
|
|
this.rssi = rssi;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default RSSI;
|