路由值检索

命令 0xa6: 获取路由变量#

ubyte string
变量 (Variable) 路由 ID (Route ID)

请求获取指定名称路由的某个变量的值。

可以检索以下变量值,返回值的类型也在表中显示。

**可检索路由变量概览**
变量 (Variable) 值类型 (ValueType) 描述 (Description) Python 方法
id list (0x00) stringList 返回当前加载的所有路由的 ID 列表(给定的路由 ID 被忽略) getIDList
count (0x01) int 返回当前加载的路由数量(给定的路由 ID 被忽略) getIDCount
edges (0x54) stringList 返回该路由覆盖的边 (edge) 的 ID 列表 getEdges

响应 0xb6: 路由变量#

ubyte string ubyte <return_type>
变量 (Variable) 感应环路 ID (Induction Loop ID) 变量的返回值类型 (Return type of the variable) <VARIABLE_VALUE>

"获取路由变量命令" 的响应。