Azure/opendigitaltwins-dtdl
关于
数字孪生定义语言
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Digital Twins Definition Language
The Digital Twins Definition Language (DTDL) is a language for describing models and interfaces for IoT digital twins. Digital twins are models of entities in the physical environment such as shipping containers, rooms, factory floors, or logical entities that participate in IoT solutions. Using DTDL to describe a digital twin's capabilities enables the IoT solutions to leverage the semantics of the entity.
DTDL is open to the community and Microsoft welcomes collaboration with customers, partners, and the industry. It is based on open W3C standards such as JSON-LD and RDF which allow for easier adoption across services and tooling.
:dart: DTDL Versions
DTDL has evolved over time, resulting in the next versions:
| Version | Docs | Notes |
|---|---|---|
| v1-preview | dtdlv1.md | Out of support |
| v2 | DTDL.v2.md | Supported in ADT, IoTCentral and IoT Plug and Play |
| v3 | DTDL.v3.md | Supported in ADT and IoT Plug and Play |
| v4 | DTDL.v4.md | Supported in Azure IoT Operations |
:point_right: A Simple Example
The next interface describes a thermostat reporting temperature as degreeCelsius:
{
"@context": [
"dtmi:dtdl:context;4",
"dtmi:dtdl:extension:quantitativeTypes;2"
],
"@id": "dtmi:com:example:Thermostat;1",
"@type": "Interface",
"displayName": "Thermostat",
"description": "Reports current temperature.",
"contents": [
{
"@type": [
"Telemetry",
"Temperature"
],
"name": "temperature",
"displayName" : "Temperature",
"description" : "Temperature in degrees Celsius.",
"schema": "double",
"unit": "degreeCelsius"
}
]
}
:cloud: Services using DTDL
:hammer_and_wrench: Developer Tools for DTDL
:book: Modeling Guides
探索相关项目
加载中…