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/swagger.json |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/docs/swagger.json b/docs/swagger.json
index e3d2b43..b8b0852 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -622,6 +622,10 @@
                         "type": "string"
                     }
                 },
+                "channel": {
+                    "description": "閫氶亾搴忓彿",
+                    "type": "integer"
+                },
                 "deviceId": {
                     "type": "string"
                 },
@@ -763,6 +767,10 @@
         "model.DevicePlcAddress": {
             "type": "object",
             "properties": {
+                "channel": {
+                    "description": "鏁版嵁璧峰鍦板潃",
+                    "type": "integer"
+                },
                 "fieldName": {
                     "description": "瀵瑰簲绯荤粺瀛楁",
                     "allOf": [
@@ -773,10 +781,6 @@
                 },
                 "length": {
                     "description": "鏁版嵁闀垮害",
-                    "type": "integer"
-                },
-                "position": {
-                    "description": "鏁版嵁璧峰鍦板潃",
                     "type": "integer"
                 },
                 "startAddress": {
@@ -935,6 +939,10 @@
         "model.Procedures": {
             "type": "object",
             "properties": {
+                "channel": {
+                    "description": "閫氶亾",
+                    "type": "integer"
+                },
                 "deviceId": {
                     "type": "string"
                 },
@@ -942,10 +950,6 @@
                     "type": "integer"
                 },
                 "id": {
-                    "type": "integer"
-                },
-                "position": {
-                    "description": "姣忎釜璁惧鍙兘鏈夊涓満浣嶅悓鏃剁敓浜э紝鐢╬osition琛ㄧず浣嶇疆",
                     "type": "integer"
                 },
                 "procedure": {
@@ -984,7 +988,7 @@
                 "procedureId"
             ],
             "properties": {
-                "position": {
+                "channel": {
                     "type": "integer"
                 },
                 "procedureId": {
@@ -1124,15 +1128,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