This is a base object that allows the user to create a Event.
withCommsModule(communicationsModules)
Set the powerSupply attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| communicationsModules |
* |
❌ |
|
Retorna
Tip
withCpuUsage(cpuUsage)
Set the cpuUsage attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| cpuUsage |
* |
❌ |
|
Retorna
Tip
withCurrentTemperature(currentTemperature)
Set the currentTemperature attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| currentTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withDateLocation(date)
Set the date attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| date |
string |
❌ |
optionals field |
Retorna
Tip
withDeviceId(deviceId)
Set the deviceId attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| deviceId |
string |
❌ |
optionals field |
Retorna
Tip
withEventDescription(description)
Set the description attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| description |
string |
❌ |
optionals field |
Retorna
Tip
withEventId(id)
Set the id attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| id |
string |
❌ |
optionals field |
Retorna
Tip
withEventName(name)
Set the name attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| name |
string |
❌ |
optionals field |
Retorna
Tip
withHardware(hardware)
Set the hardware attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| hardware |
Hardware |
❌ |
optionals field |
Retorna
Tip
withLatitude(latitude)
Set the latitude attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| latitude |
number |
❌ |
optionals field |
Retorna
Tip
withLongitude(longitude)
Set the longitude attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| longitude |
number |
❌ |
optionals field |
Retorna
Tip
withMaximumTemperature(maximumTemperature)
Set the maximum attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| maximumTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withMinimumTemperature(minimumTemperature)
Set the minimum attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| minimumTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withNonVolatilStorage(nonVolatilStorage)
Set the nonVolatilStorage attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| nonVolatilStorage |
* |
❌ |
|
Retorna
Tip
withOperationalStatus(operationalStatus)
Set the operationalStatus attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| operationalStatus |
string |
❌ |
|
Retorna
Tip
withPath(path)
Set the path attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| path |
string |
❌ |
optionals field |
Retorna
Tip
withPowerSupply(powerSupply)
Set the powerSupply attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| powerSupply |
* |
❌ |
|
Retorna
Tip
withRam(ram)
Set the Ram attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| ram |
* |
❌ |
|
Retorna
Tip
withSoftware(software)
Set the software attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| software |
software |
❌ |
optionals field |
Retorna
Tip
withStatusTemperature(unitTemperature)
Set the unitTemperature attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| unitTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withTemperatureAverage(averageTemperature)
Set the average attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| averageTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withTrendTemperature(unitTemperature)
Set the unitTemperature attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| unitTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withUnitTemperature(unitTemperature)
Set the unitTemperature attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| unitTemperature |
string |
❌ |
optionals field |
Retorna
Tip
withUpTime(upTime)
Set the upTime attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| upTime |
number |
❌ |
|
Retorna
Tip
withVolatilStorage(volatilStorage)
Set the volatilStorage attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| volatilStorage |
* |
❌ |
|
Retorna
Tip