diff --git a/se-task-exec-spec/SKILL.md b/se-task-exec-spec/SKILL.md index ac6a2b5..3ec93a2 100644 --- a/se-task-exec-spec/SKILL.md +++ b/se-task-exec-spec/SKILL.md @@ -5,7 +5,35 @@ description: 在执行Stress测试、Driver更新、Preload测试时使用。 # se-task-exec-spec -请先记住上下文变量,通常在用户输入中的``标签包裹。 +请先记住**上下文变量**,出现在``里的每一个标签,示例: + +```xml + + +我的用户名 +zhangsan + + +我的用户ID +123456 + + +今天的日期 +2026-09-25 + + +我的工号 +ABC000 + + +我的邮箱 +zhangsan@lcfuturecenter.com + + +``` + +变量名就是标签名,例如``,变量的含义在``中阐释,变量的数值位于``标签。 +在[能力索引](#能力索引)的文档里一般会通过以下表述**读取变量**:"上下文变量中我的用户名"、"上下文变量中今天的日期"。 ## 能力索引 diff --git a/se-task-exec-spec/references/create_task_doc.md b/se-task-exec-spec/references/create_task_doc.md index c68c4dc..5b48105 100644 --- a/se-task-exec-spec/references/create_task_doc.md +++ b/se-task-exec-spec/references/create_task_doc.md @@ -3,7 +3,7 @@ 调用`creatOrSendTask`工具下发任务,请求参数取值规则: - `requestBodyJson`:由调用侧提供。 -- `misUserName`:取上下文变量中的`username`。 +- `misUserName`:取**上下文变量**中**我的用户名**。 - `fs`:没有特殊要求使用默认值false即可。 工具调用结果的处理: diff --git a/se-task-exec-spec/references/query_test_device_doc.md b/se-task-exec-spec/references/query_test_device_doc.md index 8d43677..fd343d1 100644 --- a/se-task-exec-spec/references/query_test_device_doc.md +++ b/se-task-exec-spec/references/query_test_device_doc.md @@ -6,13 +6,13 @@ |参数名称|是否必传|取值规则| |---|---|---| -|`misUserName`|是|取上下文变量中的`username`| +|`misUserName`|是|取**上下文变量**中**我的用户名**| |`size`|是|固定数值,传20| |`workingStatusKey`|是|固定传1,只查空闲的| |`onlineStatusKey`|是|固定传2,只查在线的| -|`lockStatus`|是|固定传0,只查未锁定的| +|`lockStatus`|是|固定传2,只查未锁定的| -重要:其他参数,调用侧没有要求,一律不传。 +工具中的其他参数,**调用侧没有要求,一律不传。** ## 工具调用的4种情况 @@ -23,10 +23,10 @@ ## 展示给用户的格式 -|机器ID|机器名称|在线状态|闲忙状态|锁定状态| -|---|---|---|---|---| -|123|测试机123|在线|使用中|已锁定| -|456|测试机456|离线|闲置中|未锁定| +|序号|机器ID|机器名称|在线状态|闲忙状态|锁定状态| +|---|---|---|---|---|---| +|1|123|测试机123|在线|使用中|已锁定| +|2|456|测试机456|离线|闲置中|未锁定| ## 响应参数说明 @@ -37,7 +37,7 @@ |testUnitName|机器名称| |onlineStatus|在线状态(枚举值:1=离线,2=在线)| |workingStatusKey|闲忙状态(枚举值:1=闲置中,2=使用中)| -|lockStatus|锁定状态(枚举值:0=未锁定,1=已锁定)| +|lockStatus|锁定状态(枚举值:1=已锁定,2=未锁定)| |ipAddress|IP地址| |projectCode|项目编号| |projectName|项目名称| @@ -83,7 +83,7 @@ "matterDescription": "主板物料", "workingStatusKey": 2, "tokenStatus": 1, - "lockStatus": 0, + "lockStatus": 1, "isStore": 0, "gmtCreate": "2024-09-20 10:30:00", "userCode": 10086,