zhangqian
2023-09-14 d93d2bc56ed06b3c060ff48f49591e8c5d779230
docs/docs.go
@@ -153,7 +153,7 @@
            }
        },
        "/v1/plc/productProgress": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -551,6 +551,13 @@
        "common.ProductProcedure": {
            "type": "object",
            "properties": {
                "allProcedureNames": {
                    "description": "所属工单工序列表",
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "deviceId": {
                    "type": "string"
                },
@@ -698,6 +705,10 @@
                },
                "length": {
                    "description": "数据长度",
                    "type": "integer"
                },
                "position": {
                    "description": "数据起始地址",
                    "type": "integer"
                },
                "startAddress": {
@@ -865,6 +876,10 @@
                "id": {
                    "type": "integer"
                },
                "position": {
                    "description": "每个设备可能有多个机位同时生产,用position表示位置",
                    "type": "integer"
                },
                "procedure": {
                    "description": "common.ProductProcedure  对象",
                    "allOf": [
@@ -1003,6 +1018,9 @@
                "finishNumber": {
                    "type": "integer"
                },
                "plcStatus": {
                    "type": "integer"
                },
                "totalNumber": {
                    "type": "integer"
                }
@@ -1040,6 +1058,10 @@
                "order": {
                    "$ref": "#/definitions/model.Order"
                },
                "position": {
                    "description": "当前任务在设备第几个位置",
                    "type": "integer"
                },
                "procedure": {
                    "$ref": "#/definitions/model.Procedures"
                }