PilotGaea 2D O'view
    正在準備搜尋索引...

    函數 getSTASensorThingsData

    • 取得STA SensorThings資料,搭配 ServiceInfo.showSTASensorThingList 使用。

      參數

      • param: STADataParameter

        STA SensorThings資料參數。

      • onProgress: (progressRate: number, totalCount: number) => void
      • onLoad: (resource: null | SensorThingsResource) => void

        載入結束的回呼,傳回SensorThings資源。

      回傳 undefined | SensorThingsResource

      SensorThings資源,用以abort。

      let info = { type: "AirQuality", source: 0, catalog: 0, dataType: 0 };
      let resource = null;
      ov.SensorThings.getSTASensorThingsData(info, console.log, function (ret) { resource = ret; });