Variable ClusterInstanceConst
ClusterInstance: MutableCluster<{ attributes: { description: FixedAttribute<string, any>; endpointList: Attribute<EndpointNumber[], any>; order: Attribute<number, any>; status: Attribute<PowerSource.PowerSourceStatus, any>; }; extensions: readonly [{ component: { attributes: { activeWiredFaults: OptionalAttribute<PowerSource.WiredFault[], any>; wiredAssessedCurrent: OptionalAttribute<null | number, any>; wiredAssessedInputFrequency: OptionalAttribute<null | number, any>; wiredAssessedInputVoltage: OptionalAttribute<null | number, any>; wiredCurrentType: FixedAttribute<PowerSource.WiredCurrentType, any>; wiredMaximumCurrent: OptionalFixedAttribute<number, any>; wiredNominalVoltage: OptionalFixedAttribute<number, any>; wiredPresent: OptionalAttribute<boolean, any>; }; events: { wiredFaultChange: OptionalEvent<TypeFromFields<{ current: FieldType<(...
)[]>; previous: FieldType<(...
)[]>; }>, any>; }; }; flags: { wired: true; }; }, { component: { attributes: { activeBatFaults: OptionalAttribute<PowerSource.BatFault[], any>; batChargeLevel: Attribute<PowerSource.BatChargeLevel, any>; batPercentRemaining: OptionalAttribute<null | number, any>; batPresent: OptionalAttribute<boolean, any>; batReplaceability: FixedAttribute<PowerSource.BatReplaceability, any>; batReplacementNeeded: Attribute<boolean, any>; batTimeRemaining: OptionalAttribute<null | number, any>; batVoltage: OptionalAttribute<null | number, any>; }; events: { batFaultChange: OptionalEvent<TypeFromFields<{ current: FieldType<(...
)[]>; previous: FieldType<(...
)[]>; }>, any>; }; }; flags: { battery: true; }; }, { component: { attributes: { batAnsiDesignation: OptionalFixedAttribute<string, any>; batApprovedChemistry: OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>; batCommonDesignation: OptionalFixedAttribute<PowerSource.BatCommonDesignation, any>; batIecDesignation: OptionalFixedAttribute<string, any>; batQuantity: FixedAttribute<number, any>; batReplacementDescription: FixedAttribute<string, any>; }; }; flags: { replaceable: true; }; }, { component: { attributes: { batCapacity: OptionalFixedAttribute<number, any>; }; }; flags: { replaceable: true; }; }, { component: { attributes: { batCapacity: OptionalFixedAttribute<number, any>; }; }; flags: { rechargeable: true; }; }, { component: { attributes: { activeBatChargeFaults: OptionalAttribute<PowerSource.BatChargeFault[], any>; batChargeState: Attribute<PowerSource.BatChargeState, any>; batChargingCurrent: OptionalAttribute<null | number, any>; batFunctionalWhileCharging: Attribute<boolean, any>; batTimeToFullCharge: OptionalAttribute<null | number, any>; }; events: { batChargeFaultChange: OptionalEvent<TypeFromFields<{ current: FieldType<(...
)[]>; previous: FieldType<(...
)[]>; }>, any>; }; }; flags: { rechargeable: true; }; }, { component: false; flags: { battery: false; rechargeable: true; }; }, { component: false; flags: { battery: false; replaceable: true; }; }]; features: { battery: BitFlag; rechargeable: BitFlag; replaceable: BitFlag; wired: BitFlag; }; id: 47; name: "PowerSource"; revision: 2; }, []> = ... Type declaration
Readonly
extensions: readonly [{
component: {
attributes: {
activeWiredFaults: OptionalAttribute<PowerSource.WiredFault[], any>;
wiredAssessedCurrent: OptionalAttribute<null | number, any>;
wiredAssessedInputFrequency: OptionalAttribute<null | number, any>;
wiredAssessedInputVoltage: OptionalAttribute<null | number, any>;
wiredCurrentType: FixedAttribute<PowerSource.WiredCurrentType, any>;
wiredMaximumCurrent: OptionalFixedAttribute<number, any>;
wiredNominalVoltage: OptionalFixedAttribute<number, any>;
wiredPresent: OptionalAttribute<boolean, any>;
};
events: {
wiredFaultChange: OptionalEvent<TypeFromFields<{
current: FieldType<(...)[]>;
previous: FieldType<(...)[]>;
}>, any>;
};
};
flags: {
wired: true;
};
}, {
component: {
attributes: {
activeBatFaults: OptionalAttribute<PowerSource.BatFault[], any>;
batChargeLevel: Attribute<PowerSource.BatChargeLevel, any>;
batPercentRemaining: OptionalAttribute<null | number, any>;
batPresent: OptionalAttribute<boolean, any>;
batReplaceability: FixedAttribute<PowerSource.BatReplaceability, any>;
batReplacementNeeded: Attribute<boolean, any>;
batTimeRemaining: OptionalAttribute<null | number, any>;
batVoltage: OptionalAttribute<null | number, any>;
};
events: {
batFaultChange: OptionalEvent<TypeFromFields<{
current: FieldType<(...)[]>;
previous: FieldType<(...)[]>;
}>, any>;
};
};
flags: {
battery: true;
};
}, {
component: {
attributes: {
batAnsiDesignation: OptionalFixedAttribute<string, any>;
batApprovedChemistry: OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
batCommonDesignation: OptionalFixedAttribute<PowerSource.BatCommonDesignation, any>;
batIecDesignation: OptionalFixedAttribute<string, any>;
batQuantity: FixedAttribute<number, any>;
batReplacementDescription: FixedAttribute<string, any>;
};
};
flags: {
replaceable: true;
};
}, {
component: {
attributes: {
batCapacity: OptionalFixedAttribute<number, any>;
};
};
flags: {
replaceable: true;
};
}, {
component: {
attributes: {
batCapacity: OptionalFixedAttribute<number, any>;
};
};
flags: {
rechargeable: true;
};
}, {
component: {
attributes: {
activeBatChargeFaults: OptionalAttribute<PowerSource.BatChargeFault[], any>;
batChargeState: Attribute<PowerSource.BatChargeState, any>;
batChargingCurrent: OptionalAttribute<null | number, any>;
batFunctionalWhileCharging: Attribute<boolean, any>;
batTimeToFullCharge: OptionalAttribute<null | number, any>;
};
events: {
batChargeFaultChange: OptionalEvent<TypeFromFields<{
current: FieldType<(...)[]>;
previous: FieldType<(...)[]>;
}>, any>;
};
};
flags: {
rechargeable: true;
};
}, {
component: false;
flags: {
battery: false;
rechargeable: true;
};
}, {
component: false;
flags: {
battery: false;
replaceable: true;
};
}]
Readonly
features: {
battery: BitFlag;
rechargeable: BitFlag;
replaceable: BitFlag;
wired: BitFlag;
}
Readonly
id: 47
Readonly
name: "PowerSource"
Readonly
revision: 2
This attribute shall provide a user-facing description of this source, used to distinguish it from other power sources, e.g. "DC Power", "Primary Battery" or "Battery back-up". This attribute shall NOT be used to convey information such as battery form factor, or chemistry.