added the airlfow subtypes

This commit is contained in:
csawatzky 2025-07-24 15:56:23 -06:00
parent 8d97d27097
commit 38ae04f40c

View file

@ -25,7 +25,18 @@ export function Airflow(subtype: number = 0): ComponentTypeExtension {
); );
return { return {
type: quack.ComponentType.COMPONENT_TYPE_AIRFLOW, 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", friendlyName: "Airflow",
description: "Measure the flow of air though a specified area", description: "Measure the flow of air though a specified area",
isController: false, isController: false,