From 38ae04f40caa512150041bc0c80a0669aee5d0b0 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Thu, 24 Jul 2025 15:56:23 -0600 Subject: [PATCH] added the airlfow subtypes --- src/pbHelpers/ComponentTypes/Airflow.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/pbHelpers/ComponentTypes/Airflow.ts b/src/pbHelpers/ComponentTypes/Airflow.ts index fde83e2..2e46725 100644 --- a/src/pbHelpers/ComponentTypes/Airflow.ts +++ b/src/pbHelpers/ComponentTypes/Airflow.ts @@ -25,7 +25,18 @@ export function Airflow(subtype: number = 0): ComponentTypeExtension { ); return { type: quack.ComponentType.COMPONENT_TYPE_AIRFLOW, - subtypes: [], + subtypes: [ + { + key: quack.AirFlowSubtype.AIR_FLOW_SUBTYPE_PROSENSE, + value: "AIR_FLOW_SUBTYPE_PROSENSE", + friendlyName: "Prosense" + }, + { + key: quack.AirFlowSubtype.AIR_FLOW_SUBTYPE_ULTRASONIC, + value: "AIR_FLOW_SUBTYPE_ULTRASONIC", + friendlyName: "Ultrasonic" + }, + ], friendlyName: "Airflow", description: "Measure the flow of air though a specified area", isController: false,