Add Revit circuit list object feed
This commit is contained in:
parent
a69b7b603f
commit
74bea1a3c9
11 changed files with 287 additions and 0 deletions
|
|
@ -428,6 +428,32 @@ export interface CircuitTreeResponseDto {
|
|||
footerComponents: CircuitTreeComponentDto[];
|
||||
}
|
||||
|
||||
export interface ExternalCircuitListObjectDto {
|
||||
id: string;
|
||||
ifcGuid: string;
|
||||
selectionMarker: string;
|
||||
familyAndType: string;
|
||||
sourceCircuitIdentifier: string;
|
||||
displayName: string | null;
|
||||
category: string | null;
|
||||
connectionKind: string | null;
|
||||
effectiveQuantity: number;
|
||||
powerPerUnitW: number | null;
|
||||
sourceRoomNumber: string;
|
||||
sourceRoomName: string;
|
||||
roomId: string | null;
|
||||
linkedProjectDeviceId: string | null;
|
||||
circuitDeviceRowId: string | null;
|
||||
presenceStatus: "present" | "missing";
|
||||
}
|
||||
|
||||
export interface ExternalCircuitListObjectsDto {
|
||||
sourceName: string | null;
|
||||
objectCount: number;
|
||||
unassignedObjectCount: number;
|
||||
objects: ExternalCircuitListObjectDto[];
|
||||
}
|
||||
|
||||
export interface CreateCircuitInputDto {
|
||||
sectionId: string;
|
||||
equipmentIdentifier: string;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import type {
|
|||
ProjectRoomCommandResultDto,
|
||||
ProjectDeviceSyncCommandResultDto,
|
||||
ProjectDeviceSyncPreviewDto,
|
||||
ExternalCircuitListObjectsDto,
|
||||
ProjectDto,
|
||||
RoomDto,
|
||||
CircuitTreeResponseDto,
|
||||
|
|
@ -346,6 +347,15 @@ export function getExternalCsvConfiguration(projectId: string) {
|
|||
);
|
||||
}
|
||||
|
||||
export function getExternalCircuitListObjects(
|
||||
projectId: string,
|
||||
circuitListId: string
|
||||
) {
|
||||
return request<ExternalCircuitListObjectsDto>(
|
||||
`/api/projects/${projectId}/circuit-lists/${circuitListId}/external-objects`
|
||||
);
|
||||
}
|
||||
|
||||
export function updateExternalCsvConfiguration(
|
||||
projectId: string,
|
||||
expectedRevision: number,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue