@bacnet-js/device
Version:
A TypeScript library for implementing BACnet IP devices in Node.js.
21 lines • 904 B
TypeScript
import { type BACNetObjectID, type PropertyIdentifier } from '@bacnet-js/client';
/**
* Unique object identifier scoped to the current process.
* This should be calculated as a number composed of two groups of four
* digits each, encoding the object type and object instance respectively.
*/
export type BDObjectUID = number & {
___tag: 'objectid';
};
export declare const getObjectUID: (object: BACNetObjectID) => BDObjectUID;
/**
* Unique property identifier scoped to the current process.
* This should be calculated as a number composed of three groups of four
* digits each, encoding the object type, object instance and property
* identifier respectively.
*/
export type BDPropertyUID = number & {
___tag: 'propertyid';
};
export declare const getPropertyUID: (object: BACNetObjectID | BDObjectUID, property: PropertyIdentifier) => BDPropertyUID;
//# sourceMappingURL=uids.d.ts.map