From f169d35fce5215e0c37c66844234145cafba5ab3 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周三, 06 11月 2024 13:36:57 +0800
Subject: [PATCH] 生成debug

---
 DataCapture_MA/DataHnadle/ReceiveDataHandle.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/DataCapture_MA/DataHnadle/ReceiveDataHandle.cs b/DataCapture_MA/DataHnadle/ReceiveDataHandle.cs
index 13ece3c..1036315 100644
--- a/DataCapture_MA/DataHnadle/ReceiveDataHandle.cs
+++ b/DataCapture_MA/DataHnadle/ReceiveDataHandle.cs
@@ -28,6 +28,7 @@
                     var robotInfo = AutoMapper.Mapper.Map<MessageAnalysis, RobotInfo>(messageAnalysis);
                     robotInfo.WarnningContent = JsonConvert.SerializeObject(messageAnalysis.Warnings);
                     robotInfo.CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+                    robotInfo.CreateStamp = DateTimeOffset.Now.ToUnixTimeSeconds();
                     dbModel.RobotInfo.Add(robotInfo);
                     dbModel.SaveChanges();
                 }

--
Gitblit v1.9.3