merged in messages changes

This commit is contained in:
Carter 2026-02-24 13:01:21 -06:00
commit 13e2f689e9
66 changed files with 2105 additions and 609 deletions

View file

@ -33,13 +33,13 @@ export function Airflow(subtype: number = 0): ComponentTypeExtension {
let measurementTypes = [
{
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_PPM,
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_CFM,
label: cfm.label(),
colour: cfm.colour(),
graphType: cfm.graph()
} as ComponentMeasurement,
{
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_VOLTAGE,
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_SPEED,
label: velocity.label(),
colour: velocity.colour(),
graphType: velocity.graph()

View file

@ -453,7 +453,7 @@ export class MeasurementDescriber {
case quack.MeasurementType.MEASUREMENT_TYPE_SPEED:
let speedUnit = getDistanceUnit()
this.details.label = "Speed";
this.details.unit = speedUnit === pond.DistanceUnit.DISTANCE_UNIT_METERS ? "m/s" : "ft/m";
this.details.unit = speedUnit === pond.DistanceUnit.DISTANCE_UNIT_METERS ? "m/s" : "ft/m"; //yes this is meters per second and feet per minute
this.details.colour = green["500"];
this.details.path = "edgeTriggered.rises";
this.details.max = 500;