forked from jappel/leistungsbilanz-ts
28 lines
775 B
TypeScript
28 lines
775 B
TypeScript
export interface ProjectDeviceLinkedRowValues {
|
|
linkedProjectDeviceId?: string;
|
|
name: string;
|
|
displayName: string;
|
|
phaseType?: string;
|
|
connectionKind?: string;
|
|
costGroup?: string;
|
|
category?: string;
|
|
level?: string;
|
|
roomId?: string;
|
|
roomNumberSnapshot?: string;
|
|
roomNameSnapshot?: string;
|
|
quantity: number;
|
|
powerPerUnit: number;
|
|
simultaneityFactor: number;
|
|
cosPhi?: number;
|
|
remark?: string;
|
|
overriddenFields?: string;
|
|
}
|
|
|
|
export interface ProjectDeviceRowSyncStore {
|
|
updateLinkedRows(
|
|
projectDeviceId: string,
|
|
changes: Array<{ rowId: string; input: ProjectDeviceLinkedRowValues }>
|
|
): void;
|
|
disconnectLinkedRows(projectDeviceId: string, rowIds: string[]): void;
|
|
reconnectRows(projectDeviceId: string, rowIds: string[]): void;
|
|
}
|