@bacnet-js/device
    Preparing search index...

    Interface BDPropertyEvents<Tag, Type, Data>

    Maps the names of property events to the respective arrays of arguments. Used to strongly type calls to AsyncEventEmitter.prototype.on().

    interface BDPropertyEvents<
        Tag extends ApplicationTag,
        Type extends ApplicationTagValueTypeMap[Tag],
        Data extends BACNetAppData<Tag, Type> | BACNetAppData<Tag, Type>[],
    > {
        aftercov: [property: BDAbstractProperty<Tag, Type, Data>, raw: Data];
        beforecov: [property: BDAbstractProperty<Tag, Type, Data>, raw: Data];
        [key: string]: any[];
    }

    Type Parameters

    • Tag extends ApplicationTag
    • Type extends ApplicationTagValueTypeMap[Tag]
    • Data extends BACNetAppData<Tag, Type> | BACNetAppData<Tag, Type>[]

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any[]
    Index

    Properties

    Properties

    aftercov: [property: BDAbstractProperty<Tag, Type, Data>, raw: Data]

    Emitted after a property value has changed. Errors throws by listeners will be ignored.

    beforecov: [property: BDAbstractProperty<Tag, Type, Data>, raw: Data]

    Emitted before a property value changes. Listeners can throw in order to block the change from going through (useful for additional validation).