afdi-ambition-fbim-fe
Version:
3D组态BIM编辑器
47 lines (46 loc) • 2.48 kB
TypeScript
import { BindLogicalPoint, Device, DeviceIcon, DeviceTree, DeviceType, EquBindElement, EquBindElementOp, EquBindTag, LogicalPointNew, SearchDeviceListType, Tag } from '../constant';
type __VLS_Props = {
useful: boolean;
init?: Function;
showRight: boolean;
cubeRight: string;
projectId: string;
sadiId: string;
isPreview?: boolean;
deviceIconList?: DeviceIcon[];
deviceTypeList?: DeviceType[];
getDeviceListByType?: (deviceTypeCode?: string) => Promise<Device[]>;
getDeviceTreeByTypeAndName?: (typeCode?: string, deviceName?: string) => Promise<DeviceTree[]>;
tagBindDeviceData?: Tag[];
getLogicalPointByDeviceNumber?: (deviceNumber: string) => Promise<LogicalPointNew[]>;
elementBindDeviceData?: EquBindElementOp[];
getElementBindDeviceData?: () => Promise<any>;
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>;
};
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
updateTagDeviceBinding: (data: EquBindTag) => void;
updateElementDeviceBinding: (data: EquBindElement) => void;
saveTagBindLogicalPoint: (data: BindLogicalPoint) => void;
importBindConfigFile: () => void;
downloadBindConfigFile: () => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & {
onSaveTagBindLogicalPoint?: ((data: BindLogicalPoint) => any) | undefined;
onUpdateTagDeviceBinding?: ((data: EquBindTag) => any) | undefined;
onUpdateElementDeviceBinding?: ((data: EquBindElement) => any) | undefined;
onImportBindConfigFile?: (() => any) | undefined;
onDownloadBindConfigFile?: (() => any) | undefined;
}, {}, {}>;
export default _default;
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;
};
};