UNPKG

afdi-ambition-fbim-fe

Version:

3D组态BIM编辑器

89 lines (88 loc) 3.99 kB
import { DeviceAllErrorStatus } from '../../../example/constant'; import { TableResponse, TableSearchParams } from '../deviceDetails/constant'; import { EquBindElementOp } from '../editor/constant'; import { DeviceStatusParams, PointInfoParams } from './constant'; type __VLS_Props = { projectId: string; sadiId: string; customDrawer?: boolean; confirmAlarm: (id: number) => Promise<boolean>; openDrawerAction?: (deviceList: DetailDevices[]) => void; deviceIconList: any[]; tagBindLogicalPointData: any[]; getTagBindLogicalPointById?: Function; getLogicalPointByDeviceNumber?: Function; getDataByDevicePoints?: Function; getDeviceRealtimeData: (deviceId: number, ids: number[]) => Promise<any>; getDeviceHistoryData: (deviceId: number, pointIds: number[], pageQuery: TableSearchParams) => Promise<TableResponse<MonitorData>>; elementBindDeviceData?: EquBindElementOp[]; getDeviceInfoByNumber: (deviceNumber: string) => Promise<DeviceStatusParams>; getControlRealtimeData: (deviceId: number, ids: number[]) => Promise<any>; getControlHistoryData: (deviceId: number, ids: number[], pageQuery: TableSearchParams) => Promise<TableResponse<any>>; getRealtimeAlarms: (deviceId: number, ids: number[]) => Promise<any>; getHistoricalAlarms: (deviceId: number, ids: number[], status: string, pageQuery: TableSearchParams) => Promise<TableResponse<AlarmHistoryData>>; tagBindDeviceData: any[]; getPointInfoByPointIds: (pointIds: number[]) => Promise<PointInfoParams[]>; baseUrl: string; prefixUrl?: string; prefixUrlFile?: string; rolePermissions?: string[]; tokenParams: TokenParamsJSON; devDownloadUrl?: string; getDevicePointsByType: (deviceId: number, type: 'read' | 'write' | 'alarm') => Promise<IDeviceParamsVO[]>; getAllDeviceErrorStatus: () => Promise<DeviceAllErrorStatus[]>; }; declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, { rolePermissions: () => string[]; prefixUrl: string; prefixUrlFile: string; tokenParams: () => {}; }>, { getBIMInstance: () => any; updateLogicalPointData: (data: PointMsgType[]) => Promise<void>; triggerDeviceAlarm: (data: AlarmDeviceData[]) => void; triggerDeviceAbnormal: (data: AbnormalDeviceData[]) => void; updateDeviceStatus: (deviceNumbers: string[]) => void; applyIntegratedProgramme: (element: any, projectId: string, sadiId: string) => Promise<void>; showViewInfo: (elementData: { elementId: string; elementType: string; }) => Promise<void>; closeDrawer: () => void; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { deviceControl: (...args: any[]) => void; toEditorPage: (...args: any[]) => void; closeDetails: (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, { rolePermissions: () => string[]; prefixUrl: string; prefixUrlFile: string; tokenParams: () => {}; }>>> & { onDeviceControl?: ((...args: any[]) => any) | undefined; onToEditorPage?: ((...args: any[]) => any) | undefined; onCloseDetails?: ((...args: any[]) => any) | undefined; }, { prefixUrl: string; tokenParams: any; prefixUrlFile: string; rolePermissions: 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]; } & {};