From 20bbbcc1d14536ddaa498ac84a6008828df8dc1c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 13 十二月 2023 20:23:11 +0800 Subject: [PATCH] 往plc写目标数时,优先往写入地址写,没有写入地址再往读取地址写 --- test/task_test.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/task_test.go b/test/task_test.go index caa2a00..cc53685 100644 --- a/test/task_test.go +++ b/test/task_test.go @@ -13,7 +13,7 @@ func TestTaskStatusUpdate(t *testing.T) { Init() - procedureId := 1 + procedureId := uint(1) taskService := service.NewTaskService() procedure, _ := taskService.GetProcedureById(procedureId) msg := &common.MsgTaskStatusUpdate{ -- Gitblit v1.8.0