Skip to content

isopruefi-frontend v1.0.0


isopruefi-frontend / api/api-client / SensorData

Class: SensorData

Defined in: api/api-client.ts:1278

Represents an overview of sensor data.

Implements

Constructors

Constructor

new SensorData(data?): SensorData

Defined in: api/api-client.ts:1289

Parameters

data?

ISensorData

Returns

SensorData

Properties

location?

optional location: string

Defined in: api/api-client.ts:1284

Gets or sets the location of the sensor.

Implementation of

ISensorData.location


sensorName?

optional sensorName: string

Defined in: api/api-client.ts:1281

Gets or sets the name of the sensor.

Implementation of

ISensorData.sensorName


temperatureDatas?

optional temperatureDatas: TemperatureData[]

Defined in: api/api-client.ts:1287

Gets or sets the temperature data of the sensor.

Implementation of

ISensorData.temperatureDatas

Methods

init()

init(_data?): void

Defined in: api/api-client.ts:1298

Parameters

_data?

any

Returns

void


toJSON()

toJSON(data?): any

Defined in: api/api-client.ts:1317

Parameters

data?

any

Returns

any


fromJS()

static fromJS(data): SensorData

Defined in: api/api-client.ts:1310

Parameters

data

any

Returns

SensorData