From d93d2bc56ed06b3c060ff48f49591e8c5d779230 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 14 九月 2023 22:33:45 +0800 Subject: [PATCH] 通讯方式字段转换 --- main.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/main.go b/main.go index 97abfeb..f9585bf 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,7 @@ "apsClient/nsq" "apsClient/pkg/logx" "apsClient/router" + "apsClient/service/plc_address" "fmt" "net/http" "os" @@ -34,6 +35,11 @@ logx.Errorf("crontab task Init err:%v", err) return } + //鍔犺浇plc鍐欏叆鍦板潃 + plc_address.LoadAddressFromFile() + + ////鎻愬墠鍔犺浇浠诲姟 + //service.NewTaskService().GetTask() go shutdown() logx.Infof("apsClient start serve...") -- Gitblit v1.8.0