上传遥测定义组件结构
以 JSON 格式定义组件结构。
所需的 Edition
| 适用于:Lightning Experience |
| 适用于:Enterprise、Unlimited 和 Developer Edition |
| 所需用户权限 | |
|---|---|
| 创建和更新遥测定义: | 遥测定义和操作管理设计者 |
- 从“设置”中,在快速查找框中输入并选择遥测定义和操作管理。
- 在遥测定义选项卡上,打开遥测定义记录。
- 打开您创建的遥测定义版本。
- 单击上载并拖放 JSON 文件。
- 要更改结构,单击另存为新版本,以创建另一个遥测定义版本并上载新的 JSON 文件。
示例
Neo Motors 的管理员以 JSON 格式上传遥测定义的结构。JSON 的一部分如下所示:
{
"Vehicle": {
"children": {
"ADAS": {
"children": {
"ABS": {
"children": {
"IsEnabled": {
"datatype": "boolean",
"description": "Indicates if ABS is enabled. True = Enabled. False = Disabled.",
"type": "actuator"
},
"IsEngaged": {
"datatype": "boolean",
"description": "Indicates if ABS is currently regulating brake pressure. True = Engaged. False = Not Engaged.",
"type": "sensor"
},
"IsError": {
"datatype": "boolean",
"description": "Indicates if ABS incurred an error condition. True = Error. False = No Error.",
"type": "sensor"
}
},
"description": "Antilock Braking System signals.",
"type": "branch"
}
} 用户可以单击显示增强视图,以在上载的结构中查看和搜索特定的目标组件路径。
本文章是否解决您的问题?
请与我们共享您的想法,以便我们进行改进!

