From 9852e9aa54408c29e05dbcd603a10ffc09acd40b Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 09 十一月 2023 14:02:16 +0800
Subject: [PATCH] 增加设置是否跳过设置工艺参数接口

---
 docs/docs.go |   65 ++++++++++++++++++++++++++++----
 1 files changed, 56 insertions(+), 9 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index df8f13f..dacaa1b 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -152,6 +152,36 @@
                 }
             }
         },
+        "/v1/device/config": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "璁惧"
+                ],
+                "summary": "璁剧疆璁惧涓�浜涢厤缃�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DeviceConfig"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/v1/device/list": {
             "get": {
                 "produces": [
@@ -555,11 +585,6 @@
                 "summary": "鑾峰彇浠诲姟",
                 "parameters": [
                     {
-                        "type": "string",
-                        "name": "deviceID",
-                        "in": "query"
-                    },
-                    {
                         "type": "integer",
                         "description": "椤电爜",
                         "name": "page",
@@ -953,11 +978,13 @@
             "type": "string",
             "enum": [
                 "string",
-                "int"
+                "int16",
+                "int32"
             ],
             "x-enum-varnames": [
                 "PlcStartAddressValueTypeString",
-                "PlcStartAddressValueTypeInt"
+                "PlcStartAddressValueTypeInt16",
+                "PlcStartAddressValueTypeInt32"
             ]
         },
         "constvar.ProblemCode": {
@@ -1441,6 +1468,15 @@
                 }
             }
         },
+        "request.DeviceConfig": {
+            "type": "object",
+            "properties": {
+                "needSetProcessParams": {
+                    "description": "鏄惁闇�瑕佽缃伐鑹哄弬鏁�",
+                    "type": "boolean"
+                }
+            }
+        },
         "request.GetProductProgress": {
             "type": "object",
             "properties": {
@@ -1570,6 +1606,17 @@
                 }
             }
         },
+        "response.Device": {
+            "type": "object",
+            "properties": {
+                "deviceID": {
+                    "type": "string"
+                },
+                "deviceName": {
+                    "type": "string"
+                }
+            }
+        },
         "response.DeviceListResponse": {
             "type": "object",
             "properties": {
@@ -1585,11 +1632,11 @@
                     "description": "褰撳墠閫夊畾鐨勭敓浜ц澶�",
                     "type": "string"
                 },
-                "deviceIDList": {
+                "deviceList": {
                     "description": "鐢熶骇璁惧id鍒楄〃",
                     "type": "array",
                     "items": {
-                        "type": "string"
+                        "$ref": "#/definitions/response.Device"
                     }
                 },
                 "systemDeviceID": {

--
Gitblit v1.8.0