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.yaml | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index db53996..3ad2a98 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -30,6 +30,9 @@ items: type: string type: array + channel: + description: 閫氶亾搴忓彿 + type: integer deviceId: type: string deviceName: @@ -131,15 +134,15 @@ type: object model.DevicePlcAddress: properties: + channel: + description: 鏁版嵁璧峰鍦板潃 + type: integer fieldName: allOf: - $ref: '#/definitions/constvar.PlcStartAddressType' description: 瀵瑰簲绯荤粺瀛楁 length: description: 鏁版嵁闀垮害 - type: integer - position: - description: 鏁版嵁璧峰鍦板潃 type: integer startAddress: description: 鏁版嵁璧峰鍦板潃 @@ -248,14 +251,14 @@ - ProcedureStatusFinished model.Procedures: properties: + channel: + description: 閫氶亾 + type: integer deviceId: type: string endTime: type: integer id: - type: integer - position: - description: 姣忎釜璁惧鍙兘鏈夊涓満浣嶅悓鏃剁敓浜э紝鐢╬osition琛ㄧず浣嶇疆 type: integer procedure: allOf: @@ -277,7 +280,7 @@ type: object request.SendProcessParams: properties: - position: + channel: type: integer procedureId: type: integer @@ -375,13 +378,13 @@ canStarted: description: 鏄惁鍙互寮�濮嬬敓浜� type: boolean + channel: + description: 褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜閫氶亾 + type: integer currentProcedureIndex: type: integer order: $ref: '#/definitions/model.Order' - position: - description: 褰撳墠浠诲姟鍦ㄨ澶囩鍑犱釜浣嶇疆 - type: integer procedure: $ref: '#/definitions/model.Procedures' type: object -- Gitblit v1.8.0