This alias specializes the semantics of ConcentrationMeasurement.Base.

Per the Matter specification you cannot use TotalVolatileOrganicCompoundsConcentrationMeasurementCluster without enabling certain feature combinations. You must use the with factory method to obtain a working cluster.

interface Cluster {
    id: ClusterId;
    name: string;
    with: (<const SelectionT>(...selection: SelectionT) => Of<Of<{
        attributes: {
            measurementMedium: FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
        };
        extensions: readonly [{
            component: {
                attributes: {
                    maxMeasuredValue: Attribute<null | number, any>;
                    measuredValue: Attribute<null | number, any>;
                    measurementUnit: FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
                    minMeasuredValue: Attribute<null | number, any>;
                    uncertainty: OptionalAttribute<number, any>;
                };
            };
            flags: {
                numericMeasurement: true;
            };
        }, {
            component: {
                attributes: {
                    peakMeasuredValue: Attribute<null | number, any>;
                    peakMeasuredValueWindow: Attribute<number, any>;
                };
            };
            flags: {
                peakMeasurement: true;
            };
        }, {
            component: {
                attributes: {
                    averageMeasuredValue: Attribute<null | number, any>;
                    averageMeasuredValueWindow: Attribute<number, any>;
                };
            };
            flags: {
                averageMeasurement: true;
            };
        }, {
            component: {
                attributes: {
                    levelValue: Attribute<ConcentrationMeasurement.LevelValue, any>;
                };
            };
            flags: {
                levelIndication: true;
            };
        }, {
            component: false;
            flags: {
                levelIndication: false;
                mediumLevel: true;
            };
        }, {
            component: false;
            flags: {
                criticalLevel: true;
                levelIndication: false;
            };
        }, {
            component: false;
            flags: {
                numericMeasurement: false;
                peakMeasurement: true;
            };
        }, {
            component: false;
            flags: {
                averageMeasurement: true;
                numericMeasurement: false;
            };
        }, {
            component: false;
            flags: {
                levelIndication: false;
                numericMeasurement: false;
            };
        }];
        features: {
            averageMeasurement: BitFlag;
            criticalLevel: BitFlag;
            levelIndication: BitFlag;
            mediumLevel: BitFlag;
            numericMeasurement: BitFlag;
            peakMeasurement: BitFlag;
        };
        id: 1070;
        name: "TotalVolatileOrganicCompoundsConcentrationMeasurement";
        revision: 3;
    }>, SelectionT>);
}

Hierarchy (view full)

Properties

Properties

name: string
with: (<const SelectionT>(...selection: SelectionT) => Of<Of<{
    attributes: {
        measurementMedium: FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
    };
    extensions: readonly [{
        component: {
            attributes: {
                maxMeasuredValue: Attribute<null | number, any>;
                measuredValue: Attribute<null | number, any>;
                measurementUnit: FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
                minMeasuredValue: Attribute<null | number, any>;
                uncertainty: OptionalAttribute<number, any>;
            };
        };
        flags: {
            numericMeasurement: true;
        };
    }, {
        component: {
            attributes: {
                peakMeasuredValue: Attribute<null | number, any>;
                peakMeasuredValueWindow: Attribute<number, any>;
            };
        };
        flags: {
            peakMeasurement: true;
        };
    }, {
        component: {
            attributes: {
                averageMeasuredValue: Attribute<null | number, any>;
                averageMeasuredValueWindow: Attribute<number, any>;
            };
        };
        flags: {
            averageMeasurement: true;
        };
    }, {
        component: {
            attributes: {
                levelValue: Attribute<ConcentrationMeasurement.LevelValue, any>;
            };
        };
        flags: {
            levelIndication: true;
        };
    }, {
        component: false;
        flags: {
            levelIndication: false;
            mediumLevel: true;
        };
    }, {
        component: false;
        flags: {
            criticalLevel: true;
            levelIndication: false;
        };
    }, {
        component: false;
        flags: {
            numericMeasurement: false;
            peakMeasurement: true;
        };
    }, {
        component: false;
        flags: {
            averageMeasurement: true;
            numericMeasurement: false;
        };
    }, {
        component: false;
        flags: {
            levelIndication: false;
            numericMeasurement: false;
        };
    }];
    features: {
        averageMeasurement: BitFlag;
        criticalLevel: BitFlag;
        levelIndication: BitFlag;
        mediumLevel: BitFlag;
        numericMeasurement: BitFlag;
        peakMeasurement: BitFlag;
    };
    id: 1070;
    name: "TotalVolatileOrganicCompoundsConcentrationMeasurement";
    revision: 3;
}>, SelectionT>)

Type declaration

    • <const SelectionT>(...selection): Of<Of<{
          attributes: {
              measurementMedium: FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
          };
          extensions: readonly [{
              component: {
                  attributes: {
                      maxMeasuredValue: Attribute<null | number, any>;
                      measuredValue: Attribute<null | number, any>;
                      measurementUnit: FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
                      minMeasuredValue: Attribute<null | number, any>;
                      uncertainty: OptionalAttribute<number, any>;
                  };
              };
              flags: {
                  numericMeasurement: true;
              };
          }, {
              component: {
                  attributes: {
                      peakMeasuredValue: Attribute<null | number, any>;
                      peakMeasuredValueWindow: Attribute<number, any>;
                  };
              };
              flags: {
                  peakMeasurement: true;
              };
          }, {
              component: {
                  attributes: {
                      averageMeasuredValue: Attribute<null | number, any>;
                      averageMeasuredValueWindow: Attribute<number, any>;
                  };
              };
              flags: {
                  averageMeasurement: true;
              };
          }, {
              component: {
                  attributes: {
                      levelValue: Attribute<ConcentrationMeasurement.LevelValue, any>;
                  };
              };
              flags: {
                  levelIndication: true;
              };
          }, {
              component: false;
              flags: {
                  levelIndication: false;
                  mediumLevel: true;
              };
          }, {
              component: false;
              flags: {
                  criticalLevel: true;
                  levelIndication: false;
              };
          }, {
              component: false;
              flags: {
                  numericMeasurement: false;
                  peakMeasurement: true;
              };
          }, {
              component: false;
              flags: {
                  averageMeasurement: true;
                  numericMeasurement: false;
              };
          }, {
              component: false;
              flags: {
                  levelIndication: false;
                  numericMeasurement: false;
              };
          }];
          features: {
              averageMeasurement: BitFlag;
              criticalLevel: BitFlag;
              levelIndication: BitFlag;
              mediumLevel: BitFlag;
              numericMeasurement: BitFlag;
              peakMeasurement: BitFlag;
          };
          id: 1070;
          name: "TotalVolatileOrganicCompoundsConcentrationMeasurement";
          revision: 3;
      }>, SelectionT>
    • Select features using ClusterComposer.compose.

      Type Parameters

      • const SelectionT extends FeatureSelection<Of<{
            attributes: {
                measurementMedium: FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
            };
            extensions: readonly [{
                component: {
                    attributes: {
                        maxMeasuredValue: Attribute<null | number, any>;
                        measuredValue: Attribute<null | number, any>;
                        measurementUnit: FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
                        minMeasuredValue: Attribute<null | number, any>;
                        uncertainty: OptionalAttribute<number, any>;
                    };
                };
                flags: {
                    numericMeasurement: true;
                };
            }, {
                component: {
                    attributes: {
                        peakMeasuredValue: Attribute<null | number, any>;
                        peakMeasuredValueWindow: Attribute<number, any>;
                    };
                };
                flags: {
                    peakMeasurement: true;
                };
            }, {
                component: {
                    attributes: {
                        averageMeasuredValue: Attribute<null | number, any>;
                        averageMeasuredValueWindow: Attribute<number, any>;
                    };
                };
                flags: {
                    averageMeasurement: true;
                };
            }, {
                component: {
                    attributes: {
                        levelValue: Attribute<ConcentrationMeasurement.LevelValue, any>;
                    };
                };
                flags: {
                    levelIndication: true;
                };
            }, {
                component: false;
                flags: {
                    levelIndication: false;
                    mediumLevel: true;
                };
            }, {
                component: false;
                flags: {
                    criticalLevel: true;
                    levelIndication: false;
                };
            }, {
                component: false;
                flags: {
                    numericMeasurement: false;
                    peakMeasurement: true;
                };
            }, {
                component: false;
                flags: {
                    averageMeasurement: true;
                    numericMeasurement: false;
                };
            }, {
                component: false;
                flags: {
                    levelIndication: false;
                    numericMeasurement: false;
                };
            }];
            features: {
                averageMeasurement: BitFlag;
                criticalLevel: BitFlag;
                levelIndication: BitFlag;
                mediumLevel: BitFlag;
                numericMeasurement: BitFlag;
                peakMeasurement: BitFlag;
            };
            id: 1070;
            name: "TotalVolatileOrganicCompoundsConcentrationMeasurement";
            revision: 3;
        }>>

      Parameters

      Returns Of<Of<{
          attributes: {
              measurementMedium: FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
          };
          extensions: readonly [{
              component: {
                  attributes: {
                      maxMeasuredValue: Attribute<null | number, any>;
                      measuredValue: Attribute<null | number, any>;
                      measurementUnit: FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
                      minMeasuredValue: Attribute<null | number, any>;
                      uncertainty: OptionalAttribute<number, any>;
                  };
              };
              flags: {
                  numericMeasurement: true;
              };
          }, {
              component: {
                  attributes: {
                      peakMeasuredValue: Attribute<null | number, any>;
                      peakMeasuredValueWindow: Attribute<number, any>;
                  };
              };
              flags: {
                  peakMeasurement: true;
              };
          }, {
              component: {
                  attributes: {
                      averageMeasuredValue: Attribute<null | number, any>;
                      averageMeasuredValueWindow: Attribute<number, any>;
                  };
              };
              flags: {
                  averageMeasurement: true;
              };
          }, {
              component: {
                  attributes: {
                      levelValue: Attribute<ConcentrationMeasurement.LevelValue, any>;
                  };
              };
              flags: {
                  levelIndication: true;
              };
          }, {
              component: false;
              flags: {
                  levelIndication: false;
                  mediumLevel: true;
              };
          }, {
              component: false;
              flags: {
                  criticalLevel: true;
                  levelIndication: false;
              };
          }, {
              component: false;
              flags: {
                  numericMeasurement: false;
                  peakMeasurement: true;
              };
          }, {
              component: false;
              flags: {
                  averageMeasurement: true;
                  numericMeasurement: false;
              };
          }, {
              component: false;
              flags: {
                  levelIndication: false;
                  numericMeasurement: false;
              };
          }];
          features: {
              averageMeasurement: BitFlag;
              criticalLevel: BitFlag;
              levelIndication: BitFlag;
              mediumLevel: BitFlag;
              numericMeasurement: BitFlag;
              peakMeasurement: BitFlag;
          };
          id: 1070;
          name: "TotalVolatileOrganicCompoundsConcentrationMeasurement";
          revision: 3;
      }>, SelectionT>