您如何使用 Python 在 IBM Maximo Asset Monitor 中创建自定义函数?是否有 SDK?

How do you create a custom function in IBM Maximo Asset Monitor using Python and is there an SDK?

我想创建自己的自定义函数并将其添加到 Maximo Asset Monitor 目录。我怎么做?

您可以在 IBM Maximo Asset Monitor 中使用 Python 创建自定义函数。使用以下资源:

  1. 知识中心文档包括教程:https://www.ibm.com/support/knowledgecenter/SSQP8H/iot/analytics/tutorials/as_adding_complex_function_tutorial.html

  2. 使用 Watson IOT Function 样本制作更高级的自定义函数。 https://github.com/ibm-watson-iot/functions/blob/production/iotfunctions/sample.py

  3. 分叉此 github 回购:https://github.com/fe01134/functions

  4. 观看此分步视频教程https://youtu.be/i5srMxmIOHM

  5. 用于查询数据的 Watson IOT Monitor SDKS 和 REST APIs db https://github.com/ibm-watson-iot/functions/blob/development/iotfunctions/db.py

为监视器使用 REST API https://github.com/ibm-watson-iot/functions/blob/1cf584f30ba259ad98b1ca77684c016df9b21748/iotfunctions/db.py#L773

查询https://github.com/ibm-watson-iot/functions/blob/development/scripts/test_queries.py