Interface AirFanCreaterParameters

风机创建器始化参数

Export

AirFanCreaterParameters

Date

2023.11.29

Author

lyx

Hierarchy

Properties

map?: string

风机渲染使用的纹理资源路径,可选

Memberof

AirFanCreaterParameters

onCompleted?: ((message) => void)

Type declaration

    • (message): void
    • 创建完成回调,可选,默认null

      Parameters

      • message: {
            guid: string;
            type: string;
        }
        • guid: string
        • type: string

      Returns void

      Memberof

      VentilationDeviceParameters

onConfirm?: ((airwayGUID?) => Promise<{
    fanData: {
        [key: string]: any;
    };
    status: boolean;
}>)

Type declaration

    • (airwayGUID?): Promise<{
          fanData: {
              [key: string]: any;
          };
          status: boolean;
      }>
    • 创建确认响应

      Parameters

      • Optional airwayGUID: string

      Returns Promise<{
          fanData: {
              [key: string]: any;
          };
          status: boolean;
      }>

      Memberof

      AirFanCreaterParameters

onError?: ((message) => void)

Type declaration

    • (message): void
    • 创建报错回调,可选,默认null

      Parameters

      • message: string

      Returns void

      Memberof

      VentilationDeviceParameters