From 28addaa46cb97c20ad37e13eb10535de7b75e71c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 29 十一月 2023 19:29:43 +0800 Subject: [PATCH] 首次报工开始时间为工序开始时间 --- test/plc_test.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/plc_test.go b/test/plc_test.go index 92ea393..d0e2475 100644 --- a/test/plc_test.go +++ b/test/plc_test.go @@ -17,7 +17,7 @@ log.Fatal(err) } var readValue int - raw, err := service.ReadHoldingRegister(ipPort, address, 1) + raw, err := service.ReadByModbusTCP(ipPort, address, 1) if err != nil { log.Fatal(err) } -- Gitblit v1.8.0