From fc85945b34f5051635aacf90446e8061a683fb2f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 15 九月 2023 14:22:53 +0800 Subject: [PATCH] plc新建连接失败记录日志 --- docs/docs.go | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ab10e06..2f9b1f7 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -439,7 +439,7 @@ } } }, - "/v1/task/sendProcessParams/{id}": { + "/v1/task/sendProcessParams": { "post": { "produces": [ "application/json" @@ -612,11 +612,15 @@ "type": "string", "enum": [ "modbusTCP", - "serial" + "serial", + "缃戠粶", + "涓插彛" ], "x-enum-varnames": [ "PlcMethodModbusTCP", - "PlcMethodSerial" + "PlcMethodSerial", + "PlcMethodModbusTCPChinese", + "PlcMethodSerialChinese" ] }, "constvar.PlcStartAddressType": { @@ -705,6 +709,10 @@ }, "length": { "description": "鏁版嵁闀垮害", + "type": "integer" + }, + "position": { + "description": "鏁版嵁璧峰鍦板潃", "type": "integer" }, "startAddress": { @@ -1014,6 +1022,9 @@ "finishNumber": { "type": "integer" }, + "plcStatus": { + "type": "integer" + }, "totalNumber": { "type": "integer" } @@ -1057,13 +1068,6 @@ }, "procedure": { "$ref": "#/definitions/model.Procedures" - }, - "workers": { - "description": "浜哄憳鍒楄〃", - "type": "array", - "items": { - "$ref": "#/definitions/common.ProcedureWorker" - } } } } -- Gitblit v1.8.0