afdi-ambition-fbim-fe
Version:
3D组态BIM编辑器
20 lines (19 loc) • 1.76 kB
TypeScript
export declare function useProgramme(prefixUrl: string, prefixUrlFile: string, tokenParams: TokenParamsJSON, props?: any): {
applyData: (element: any, projectId: string, sadiId: string, deviceIconList?: any) => Promise<void>;
preApplyData: (element: any, projectId: string, sadiId: string) => Promise<void>;
preApplyLabelData: (comprehensiveElement: any, projectId: string, sadiId: string, props?: any) => Promise<void>;
getProgrammeList: (projectId: string, sadiId: string) => Promise<IGeneralSchemeVo[] | undefined>;
setVisiable: (element: any) => Promise<void>;
setColor: (id: string, projectId: string, sadiId: string) => Promise<void>;
getViewPointList: (projectId: string, sadiId: string) => Promise<IViewPointVo[] | undefined>;
getViewPoint: (id: string, projectId: string, sadiId: string) => Promise<IViewPointItemVo[] | undefined>;
getVisiableList: (projectId: string, sadiId: string) => Promise<IVsisibilityRecordVo[] | undefined>;
getColorList: (projectId: string, sadiId: string) => Promise<IColorRecordVo[] | undefined>;
addTagByPoint: (projectId: string, sadiId: string, rowArr: any, isEditIdArr?: number[]) => Promise<void>;
getTagList: (projectId: string, sadiId: string) => Promise<ILabelRecordVo[] | undefined>;
setCurrentPoint: (ele: any) => void;
getBtnForm: (form: any, project: string, sadi: string) => void;
tagBtnClick: (btnMode: number, element: any) => Promise<void>;
renderTagByPoint: (projectId: string, sadiId: string, rowArr: any[], renderType?: "cover" | "merge", type?: "init" | "update") => Promise<false | undefined>;
distinguishDimension: (projectId: string, sadiId: string, labelList: any[], renderType: "cover" | "merge", props: any) => Promise<void>;
};