afdi-ambition-fbim-fe
Version:
3D组态BIM编辑器
70 lines (69 loc) • 3.12 kB
TypeScript
import { BindLogicalPoint, Device, DeviceIcon, DeviceTree, DeviceType, EquBindElement, EquBindElementOp, EquBindTag, LogicalPointNew, SearchDeviceListType, Tag } from './constant';
type __VLS_Props = {
projectId: string;
sadiId: string;
deviceIconList?: DeviceIcon[];
deviceTypeList?: DeviceType[];
getDeviceListByType?: (deviceTypeCode?: string) => Promise<Device[]>;
getDeviceTreeByTypeAndName?: (deviceTypeCode?: string, deviceName?: string) => Promise<DeviceTree[]>;
tagBindDeviceData?: Tag[];
getLogicalPointByDeviceNumber?: (deviceNumber: string) => Promise<LogicalPointNew[]>;
getPointInfoByPointIds?: (pointIds: number[]) => Promise<LogicalPointNew[]>;
getTagBindDeviceDataByTagId?: (tagId: number) => Promise<Tag[]>;
getElementBindDeviceById?: (elementIdIndex: number, type: string) => Promise<EquBindElementOp[]>;
getDeviceBindingStatus?: (deviceIds: number[]) => Promise<IDeviceBindingStateVO[]>;
getAllBindDeviceList?: (SearchDeviceListType: SearchDeviceListType) => Promise<any>;
getTagBindDeviceData?: () => Promise<any>;
getElementBindDeviceData?: () => Promise<any>;
elementBindDeviceData?: EquBindElementOp[];
baseUrl: string;
prefixUrl?: string;
prefixUrlFile?: string;
tokenParams: TokenParamsJSON;
devDownloadUrl?: string;
};
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
prefixUrl: string;
prefixUrlFile: string;
tokenParams: () => {};
}>, {
getBIMInstance: () => any;
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
updateTagDeviceBinding: (data: EquBindTag) => void;
updateElementDeviceBinding: (data: EquBindElement) => void;
downloadBindConfigFile: () => void;
importBindConfigFile: () => void;
saveTagBindLogicalPoint: (data: BindLogicalPoint) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
prefixUrl: string;
prefixUrlFile: string;
tokenParams: () => {};
}>>> & {
onSaveTagBindLogicalPoint?: ((data: BindLogicalPoint) => any) | undefined;
onUpdateTagDeviceBinding?: ((data: EquBindTag) => any) | undefined;
onUpdateElementDeviceBinding?: ((data: EquBindElement) => any) | undefined;
onImportBindConfigFile?: (() => any) | undefined;
onDownloadBindConfigFile?: (() => any) | undefined;
}, {
prefixUrl: string;
tokenParams: any;
prefixUrlFile: string;
}, {}>;
export default _default;
type __VLS_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToOption<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};