From 14fc2f577e2c0b7b146c1a430e9438f317ad5b0c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 23 九月 2023 14:14:27 +0800 Subject: [PATCH] 任务接收增加channel字段,postion字段改为channel --- docs/docs.go | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 87355c3..b41553d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -634,6 +634,10 @@ "type": "string" } }, + "channel": { + "description": "閫氶亾搴忓彿", + "type": "integer" + }, "deviceId": { "type": "string" }, @@ -775,6 +779,10 @@ "model.DevicePlcAddress": { "type": "object", "properties": { + "channel": { + "description": "鏁版嵁璧峰鍦板潃", + "type": "integer" + }, "fieldName": { "description": "瀵瑰簲绯荤粺瀛楁", "allOf": [ @@ -785,10 +793,6 @@ }, "length": { "description": "鏁版嵁闀垮害", - "type": "integer" - }, - "position": { - "description": "鏁版嵁璧峰鍦板潃", "type": "integer" }, "startAddress": { @@ -947,6 +951,10 @@ "model.Procedures": { "type": "object", "properties": { + "channel": { + "description": "閫氶亾", + "type": "integer" + }, "deviceId": { "type": "string" }, @@ -954,10 +962,6 @@ "type": "integer" }, "id": { - "type": "integer" - }, - "position": { - "description": "姣忎釜璁惧鍙兘鏈夊涓満浣嶅悓鏃剁敓浜э紝鐢╬osition琛ㄧず浣嶇疆", "type": "integer" }, "procedure": { @@ -996,7 +1000,7 @@ "procedureId" ], "properties": { - "position": { + "channel": { "type": "integer" }, "procedureId": { @@ -1136,15 +1140,15 @@ "description": "鏄惁鍙互寮�濮嬬敓浜�", "type": "boolean" }, + "channel": { + "description": "褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜閫氶亾", + "type": "integer" + }, "currentProcedureIndex": { "type": "integer" }, "order": { "$ref": "#/definitions/model.Order" - }, - "position": { - "description": "褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜浣嶇疆", - "type": "integer" }, "procedure": { "$ref": "#/definitions/model.Procedures" -- Gitblit v1.8.0