afdi-ambition-fbim-fe
Version:
3D组态BIM编辑器
83 lines (82 loc) • 2.96 kB
TypeScript
/**collect */
export declare function useCollectApi(): {
/**
* communication/(采集和控制)控制层-采集
* @param data.type
* @param data.id
*/
Collect_CollectDataGET(data: {
type: number | string;
id: number | string;
}, config?: {}): Promise<IResponseString>;
/**
* communication/(采集和控制)控制层-控制
* @param data.source
* @param data.id
* @param data.params
*/
Collect_ControlGET(data: {
source?: number | string;
id: number | string;
params: string;
}, config?: {}): Promise<IResponseString>;
/**
* communication/(采集和控制)控制层-批量采集(仅支持逻辑点位采集)
*/
Collect_CollectPointPOST(data: number[], config?: {}): Promise<IResponseString>;
/**
* communication/(采集和控制)控制层-逻辑点位校验
* @param data.pointId 点位id
* @param data.params 参数
* @param data.type 校验类型 1 检测 2 控制
*/
Collect_LogicPointVerifyGET(data: {
pointId: number | string;
params: string;
type: number | string;
}, config?: {}): Promise<IResponseLong>;
/**
* communication/(采集和控制)控制层-物理点位校验
* @param data.pointId 物理点位id
* @param data.params 参数
* @param data.type 校验类型 1 检测 2 控制
*/
Collect_PhysicalPointVerifyGET(data: {
pointId: number | string;
params: string;
type: number | string;
}, config?: {}): Promise<IResponseLong>;
/**
* communication/(采集和控制)控制层-逻辑点位校验结果回查
* @param data.debugId 回查id
*/
Collect_GetLogicPointVerifyResultGET(data: {
debugId: number | string;
}, config?: {}): Promise<IResponsePointVerifyResultVO>;
/**
* communication/(采集和控制)控制层-物理点位校验结果回查
* @param data.debugId 回查id
*/
Collect_GetPhysicalPointVerifyResultGET(data: {
debugId: number | string;
}, config?: {}): Promise<IResponsePointVerifyResultVO>;
/**
* communication/(采集和控制)控制层-逻辑点位批量校验
* @param data.debugId 回查id
*/
Collect_GetLogicPointBatchVerifyResultGET(data: {
debugId: number | string;
}, config?: {}): Promise<IResponseListPointVerifyResultVO>;
/**
* communication/(采集和控制)控制层-批量采集
*/
Collect_DeviceVerifyBatchPOST(data: string[], config?: {}): Promise<IResponseLong>;
/**
* communication/(采集和控制)控制层-逻辑点位批量采集
*/
Collect_LogicPointVerifyBatchPOST(data: number[], config?: {}): Promise<IResponseLong>;
/**
* communication/(采集和控制)控制层-物理点位批量采集校验
*/
Collect_PhysicalPointVerifyBatchPOST(data: number[], config?: {}): Promise<IResponseLong>;
};