12 2020 档案

[Python] iupdatable包:Timer 类使用介绍
摘要:iudatable包是我对常用函数进行的封装后发布的一个python包,教程汇总目录: [Python] iupdatable包使用说明 安装 iupdatable 包 pip install iupdatable Timer类 主要函数: 获取 Unix 时间戳(精确到秒):timestamp、u 阅读全文

posted @ 2020-12-26 14:04 IUpdatable 阅读(232) 评论(0) 推荐(0)

[Python] iupdatable包:Status 模块使用介绍
摘要:常用状态做的一个集合,方便用在函数返回值中区分不同状态结果。 简单举例: from iupdatable import Status def fun(): print("do something") abc = True if abc: return Status.ok else: return S 阅读全文

posted @ 2020-12-15 18:24 IUpdatable 阅读(430) 评论(0) 推荐(0)

[oBIX包使用教程] 使用 Python 通过 oBIX 协议访问 Niagara 数据
摘要:oBIX 全称是 Open Building Information Exchange,它是基于 RESTful Web Service 的接口的标准,用于构建控制系统。oBIX是在专为楼宇自动化设计的框架内,使用XML和URI在设备网络上读写数据的。 因项目需要使用 Python 对 Niagar 阅读全文

posted @ 2020-12-03 18:28 IUpdatable 阅读(2311) 评论(9) 推荐(1)

导航