Skip to content

Commit

Permalink
Add subclass field
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjcantrell committed Dec 21, 2023
1 parent 3818c36 commit cee4c88
Showing 1 changed file with 88 additions and 79 deletions.
167 changes: 88 additions & 79 deletions bricksrc/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1209,88 +1209,97 @@
},
},
"Static_Pressure_Sensor": {
"Air_Static_Pressure_Sensor": {
"tags": [TAG.Point, TAG.Sensor, TAG.Pressure, TAG.Static],
"subclasses": {
"Building_Air_Static_Pressure_Sensor": {
BRICK.hasQuantity: BRICK.Static_Pressure,
BRICK.hasSubstance: BRICK.Building_Air,
"tags": [
TAG.Point,
TAG.Building,
TAG.Air,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
],
},
"Supply_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Sensor,
TAG.Pressure,
TAG.Static,
TAG.Air,
TAG.Supply,
TAG.Discharge,
],
"aliases": [
BRICK["Discharge_Air_Static_Pressure_Sensor"]
],
BRICK.hasQuantity: BRICK.Static_Pressure,
BRICK.hasSubstance: [
BRICK.Supply_Air,
BRICK.Discharge_Air,
],
},
"Exhaust_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Sensor,
TAG.Pressure,
TAG.Static,
TAG.Air,
TAG.Exhaust,
],
BRICK.hasQuantity: BRICK.Static_Pressure,
BRICK.hasSubstance: BRICK.Exhaust_Air,
"subclasses": {
"Average_Exhaust_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Average,
TAG.Exhaust,
TAG.Air,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
],
},
"Lowest_Exhaust_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Lowest,
TAG.Exhaust,
TAG.Air,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
],
"subclasses": {
"Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Sensor,
TAG.Pressure,
TAG.Static,
],
"subclasses": {
"Building_Air_Static_Pressure_Sensor": {
BRICK.hasQuantity: BRICK.Static_Pressure,
BRICK.hasSubstance: BRICK.Building_Air,
"tags": [
TAG.Point,
TAG.Building,
TAG.Air,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
],
},
"Supply_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Sensor,
TAG.Pressure,
TAG.Static,
TAG.Air,
TAG.Supply,
TAG.Discharge,
],
"aliases": [
BRICK[
"Discharge_Air_Static_Pressure_Sensor"
]
],
BRICK.hasQuantity: BRICK.Static_Pressure,
BRICK.hasSubstance: [
BRICK.Supply_Air,
BRICK.Discharge_Air,
],
},
"Exhaust_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Sensor,
TAG.Pressure,
TAG.Static,
TAG.Air,
TAG.Exhaust,
],
BRICK.hasQuantity: BRICK.Static_Pressure,
BRICK.hasSubstance: BRICK.Exhaust_Air,
"subclasses": {
"Average_Exhaust_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Average,
TAG.Exhaust,
TAG.Air,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
],
},
"Lowest_Exhaust_Air_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Lowest,
TAG.Exhaust,
TAG.Air,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
],
},
},
},
"Underfloor_Air_Plenum_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Underfloor,
TAG.Air,
TAG.Plenum,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
]
},
},
"Underfloor_Air_Plenum_Static_Pressure_Sensor": {
"tags": [
TAG.Point,
TAG.Underfloor,
TAG.Air,
TAG.Plenum,
TAG.Static,
TAG.Pressure,
TAG.Sensor,
]
},
},
}
}
},
"Velocity_Pressure_Sensor": {
Expand Down

0 comments on commit cee4c88

Please sign in to comment.