fixing airflow measurment types using the wrong enum
This commit is contained in:
parent
5ebbd01c3a
commit
edf865752d
1 changed files with 2 additions and 2 deletions
|
|
@ -33,13 +33,13 @@ export function Airflow(subtype: number = 0): ComponentTypeExtension {
|
||||||
|
|
||||||
let measurementTypes = [
|
let measurementTypes = [
|
||||||
{
|
{
|
||||||
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_PPM,
|
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_CFM,
|
||||||
label: cfm.label(),
|
label: cfm.label(),
|
||||||
colour: cfm.colour(),
|
colour: cfm.colour(),
|
||||||
graphType: cfm.graph()
|
graphType: cfm.graph()
|
||||||
} as ComponentMeasurement,
|
} as ComponentMeasurement,
|
||||||
{
|
{
|
||||||
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_VOLTAGE,
|
measurementType: quack.MeasurementType.MEASUREMENT_TYPE_SPEED,
|
||||||
label: velocity.label(),
|
label: velocity.label(),
|
||||||
colour: velocity.colour(),
|
colour: velocity.colour(),
|
||||||
graphType: velocity.graph()
|
graphType: velocity.graph()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue