Skip to content

Sensor¤

Introduction¤

The sensor application is a small, straight forward application that contains metadata related to sensors, like brand or sensor type.

UML diagram of the Sensor app models.
Figure 1: UML diagram of the Sensor app models.

Components¤

SensorType ¤

Type of sensor, eg. pluviometric, wind sensor, etc.

Attributes:

Name Type Description
sensor_type_id

int, primary key, sensor type id.

name

str, sensor type name.

SensorBrand ¤

Brand of the sensor, eg. Davis, Texas Electronics, etc.

Attributes:

Name Type Description
brand_id

int, primary key, sensor brand id.

name

str, sensor brand name.

Sensor ¤

Specific sensor details.

Attributes:

Name Type Description
sensor_id int

Primary key, sensor id.

code

(str) sensor code.

sensor_type SensorType

sensor type.

sensor_brand SensorBrand

sensor brand.

model str

specific model of the sensor.

serial str

serial number of the sensor.

status bool

sensor status.