zhangqian
2023-11-09 9852e9aa54408c29e05dbcd603a10ffc09acd40b
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": {