From c84a97df024e2a1fbbb6d50a7bcb4b2e2a0838b8 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 07 十一月 2023 17:07:36 +0800
Subject: [PATCH] plc结果支持int32解析

---
 crontask/cron_task.go |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/crontask/cron_task.go b/crontask/cron_task.go
index de593c3..aca64dd 100644
--- a/crontask/cron_task.go
+++ b/crontask/cron_task.go
@@ -160,6 +160,12 @@
 	if err != nil {
 		logx.Errorf("send pull data msg error:%v, msg:%+v", err.Error(), msg)
 	}
+	msg = &common.MsgPullDataRequest{DataType: common.PullDataTypeProcessModelPlcAddress}
+	caller = nsq.NewCaller(fmt.Sprintf(constvar.NsqTopicPullDataRequest, conf.Conf.NsqConf.NodeId), constvar.NsqTopicPullDataResponse)
+	err = caller.Send(msg)
+	if err != nil {
+		logx.Errorf("send pull data msg error:%v, msg:%+v", err.Error(), msg)
+	}
 }
 
 func QueryClusterStatus() {

--
Gitblit v1.8.0