"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var measurement_type_enum_element_exports = {};
__export(measurement_type_enum_element_exports, {
  MeasurementTypeEnum: () => MeasurementTypeEnum
});
module.exports = __toCommonJS(measurement_type_enum_element_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const MeasurementTypeEnum = (0, import_elements.DatatypeElement)(
  { name: "MeasurementTypeEnum", type: "enum16" },
  (0, import_elements.FieldElement)({ name: "Unspecified", id: 0, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "Voltage", id: 1, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ActiveCurrent", id: 2, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ReactiveCurrent", id: 3, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ApparentCurrent", id: 4, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ActivePower", id: 5, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ReactivePower", id: 6, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ApparentPower", id: 7, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "RmsVoltage", id: 8, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "RmsCurrent", id: 9, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "RmsPower", id: 10, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "Frequency", id: 11, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "PowerFactor", id: 12, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "NeutralCurrent", id: 13, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ElectricalEnergy", id: 14, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ReactiveEnergy", id: 15, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "ApparentEnergy", id: 16, conformance: "M" }),
  (0, import_elements.FieldElement)({ name: "SoilMoisture", id: 17, conformance: "M" })
);
import_MatterDefinition.MatterDefinition.children.push(MeasurementTypeEnum);
//# sourceMappingURL=measurement-type-enum.element.js.map
