From 2a0c87c5300c2b27d1cb4b9b24819b3666a9e031 Mon Sep 17 00:00:00 2001 From: anil72007 Date: Tue, 14 Jun 2022 14:31:19 +0530 Subject: [PATCH] Tablet Added to Equipment Tablet Added to Equipment --- bricksrc/definitions.csv | 1 + bricksrc/equipment.py | 1 + bricksrc/sensor.py | 1 + 3 files changed, 3 insertions(+) diff --git a/bricksrc/definitions.csv b/bricksrc/definitions.csv index b02c6324..57b71194 100644 --- a/bricksrc/definitions.csv +++ b/bricksrc/definitions.csv @@ -1121,3 +1121,4 @@ https://brickschema.org/schema/Brick#measures,The subject measures a quantity or https://brickschema.org/schema/Brick#regulates,The subject contributes to or performs the regulation of the substance given by the object, https://brickschema.org/schema/Brick#storedAt,A reference to where the data for this TimeseriesReference is stored, https://brickschema.org/schema/Brick#timeseries,Relates a Brick point to the TimeseriesReference that indicates where and how the data for this point is stored, +https://brickschema.org/schema/Brick#Tablet, Tablet diff --git a/bricksrc/equipment.py b/bricksrc/equipment.py index a6495c01..0c3ac1b3 100644 --- a/bricksrc/equipment.py +++ b/bricksrc/equipment.py @@ -4,6 +4,7 @@ Set up subclasses of the equipment superclass """ equipment_subclasses = { + "Tablet": {"tags": [TAG.Tablet, TAG.Equipment, TAG.Electronics]}, "HVAC_Equipment": {"tags": [TAG.HVAC, TAG.Equipment]}, "Weather_Station": {"tags": [TAG.Weather, TAG.Station, TAG.Equipment]}, "Electrical_Equipment": { diff --git a/bricksrc/sensor.py b/bricksrc/sensor.py index 8c94db7b..6bad293d 100644 --- a/bricksrc/sensor.py +++ b/bricksrc/sensor.py @@ -26,6 +26,7 @@ [BRICK.measures, BRICK.Ammonia_Concentration], ], }, + "CO_Sensor": { "tags": [TAG.Point, TAG.Sensor, TAG.CO], "substances": [