浏览代码

提交更改

yaojianjun 9 月之前
父节点
当前提交
fdf1cf2541
共有 4 个文件被更改,包括 194 次插入 和 5 次删除
  1. 2 2
      Tech/conf/app.conf
  2. 16 3
      Tech/controllers/电调.go
  3. 148 0
      Tech/log/app.log
  4. 28 0
      Tech/log/info.log

+ 2 - 2
Tech/conf/app.conf

@@ -11,8 +11,8 @@ ElectricalPort = 7314
 
 # 数据库配置
 DB.Adapter = mysql
-DB.URL = dbadmin:dbadmin@987@(124.222.28.5:7312)/CCGD_project?charset=utf8
-# DB.URL = root:wl110@(127.0.0.1:3306)/ccgd_project?charset=utf8
+# DB.URL = dbadmin:dbadmin@987@(124.222.28.5:7312)/CCGD_project?charset=utf8
+DB.URL = root:wl110@(127.0.0.1:3306)/ccgd_project?charset=utf8
 
 # 信息化服务器和地址
 ESYSIP = 124.222.28.5

+ 16 - 3
Tech/controllers/电调.go

@@ -288,6 +288,19 @@ func (c *EDispatchController) DoAutoEva(req Addctrllog_req) EvaResult {
 		}
 	}
 
+	// 检查参数1和参数2是否为空
+	if req.Param1 == "" || req.Param2 == "" {
+		return EvaResult{
+			Code:        400,
+			Message:     "操作参数不能为空",
+			EvaName:     foundEvaData.EvaName,
+			IsOperated:  0,
+			OperScore:   0,
+			CourseScore: runningCourse.CourseScore,
+			SeqNo:       foundEvaData.SeqNo,
+		}
+	}
+
 	// 比较参数1和参数2
 	if req.Param1 == foundEvaData.TextParam1 && req.Param2 == foundEvaData.TextParam2 {
 		// 参数匹配,需要更新对应的CourseEvaLog记录
@@ -334,7 +347,7 @@ func (c *EDispatchController) DoAutoEva(req Addctrllog_req) EvaResult {
 			SET 是否操作 = ?, 操作得分 = ?, 操作时间 = ?
 			WHERE 运行记录编号 = ? AND 序号 = ?
 		`, 1, operScore, operTime, foundEvaData.RunLogID, foundEvaData.SeqNo).Exec()
-		
+
 		if err != nil {
 			return EvaResult{
 				Code:    400,
@@ -382,10 +395,10 @@ func (c *EDispatchController) DoAutoEva(req Addctrllog_req) EvaResult {
 			"courseScore": totalScore,
 			"timestamp":   time.Now().Format("2006-01-02 15:04:05"),
 		}
-		
+
 		// 通过SSE广播评价更新消息
 		common.GlobalSSEManager.BroadcastMessage("evaluation_update", notificationData)
-		
+
 		// 返回成功结果
 		return EvaResult{
 			Code:        200,

+ 148 - 0
Tech/log/app.log

@@ -13,3 +13,151 @@
 {"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:52:36"}
 {"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:53:06"}
 {"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:53:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:54:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:54:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:55:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:55:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:56:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:56:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:57:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:57:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:58:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:58:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:59:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:59:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-22 00:00:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-22 00:00:36"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-22 00:01:06"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"接收到关闭信号,正在优雅关闭服务...","time":"2025-12-22 00:01:28"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:559","func":"Tech/common.CloseLogger","level":"info","msg":"SCADA培训系统关闭","time":"2025-12-22 00:01:28"}
+{"event":"system_startup","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:87","func":"Tech/common.InitLogger","level":"info","msg":"SCADA培训系统启动","pid":17440,"time":"2025-12-27 22:22:10"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"日志系统初始化成功","time":"2025-12-27 22:22:10"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"数据库连接监控任务已启动,间隔10秒","time":"2025-12-27 22:22:10"}
+{"action":"cache_init","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:333","func":"Tech/common.LogInfo","level":"info","module":"user","msg":"开始初始化用户信息缓存...","time":"2025-12-27 22:22:10"}
+{"action":"cache_init","error":"Post \"http://124.222.28.5:7321/TMS/api/ms/getPersonalInfo\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","module":"user","msg":"获取所有用户信息失败","time":"2025-12-27 22:22:13"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"SCADA培训系统服务启动中...","time":"2025-12-27 22:22:13"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"心跳发送任务已启动,间隔30秒","time":"2025-12-27 22:22:13"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"接收到关闭信号,正在优雅关闭服务...","time":"2025-12-27 22:22:13"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:559","func":"Tech/common.CloseLogger","level":"info","msg":"SCADA培训系统关闭","time":"2025-12-27 22:22:13"}
+{"event":"system_startup","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:87","func":"Tech/common.InitLogger","level":"info","msg":"SCADA培训系统启动","pid":23568,"time":"2025-12-27 22:25:26"}
+{"event":"system_startup","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:87","func":"Tech/common.InitLogger","level":"info","msg":"SCADA培训系统启动","pid":23568,"time":"2025-12-27 22:25:26"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"数据库连接监控任务已启动,间隔10秒","time":"2025-12-27 22:25:26"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"日志系统初始化成功","time":"2025-12-27 22:25:26"}
+{"action":"cache_init","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:333","func":"Tech/common.LogInfo","level":"info","module":"user","msg":"开始初始化用户信息缓存...","time":"2025-12-27 22:25:26"}
+{"action":"cache_init","error":"Post \"http://124.222.28.5:7321/TMS/api/ms/getPersonalInfo\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","module":"user","msg":"获取所有用户信息失败","time":"2025-12-27 22:25:28"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"SCADA培训系统服务启动中...","time":"2025-12-27 22:25:28"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"心跳发送任务已启动,间隔30秒","time":"2025-12-27 22:25:28"}
+{"action":"login_success","event":"user_action","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:515","func":"Tech/common.LogUserAction","ip":"127.0.0.1","level":"info","login_mode":"local","module":"user","msg":"用户操作","organization":"","time":"2025-12-27 22:25:32","user_id":"95533","user_name":"文博","user_type":"1"}
+{"action":"login_success","event":"user_action","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:515","func":"Tech/common.LogUserAction","ip":"127.0.0.1","level":"info","login_mode":"local","module":"user","msg":"用户操作","organization":"","time":"2025-12-27 22:25:34","user_id":"95533","user_name":"文博","user_type":"1"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:26:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:26:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:26:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:26:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:27:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:27:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:27:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:27:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:28:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:28:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:28:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:28:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:29:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:29:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:29:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:29:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:30:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:30:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:30:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:30:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:31:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:31:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:31:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:31:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:32:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:32:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:32:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:32:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:33:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:33:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:33:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:33:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:34:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:34:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:34:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:34:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:35:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:35:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:35:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:35:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:36:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:36:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:36:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:36:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:37:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:37:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:37:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:37:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:38:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:38:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:38:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:38:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:39:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:39:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:39:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:39:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:40:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:40:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:40:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:40:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:41:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:41:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:41:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:41:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:42:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:42:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:42:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:42:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:43:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:43:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:43:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:43:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:44:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:44:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:44:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:44:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:45:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:45:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:45:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:45:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:46:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:46:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:46:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:46:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:47:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:47:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:47:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:47:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:48:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:48:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:48:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:48:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:49:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:49:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:49:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:49:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:50:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:50:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:50:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:50:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:51:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:51:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:51:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:51:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:52:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:52:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:52:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:52:30"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳失败","time":"2025-12-27 22:53:00"}
+{"error":"发送HTTP请求失败: Post \"http://124.222.28.5:7321/TMS/api/ms/uploadHeartbeatCommand\": dial tcp 124.222.28.5:7321: connectex: No connection could be made because the target machine actively refused it.","file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:375","func":"Tech/common.LogError","level":"error","msg":"发送心跳任务出现错误","time":"2025-12-27 22:53:00"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:337","func":"Tech/common.LogInfo","level":"info","msg":"接收到关闭信号,正在优雅关闭服务...","time":"2025-12-27 22:53:23"}
+{"file":"D:/Work/教员/SCADATrainSys/Tech/common/logger.go:559","func":"Tech/common.CloseLogger","level":"info","msg":"SCADA培训系统关闭","time":"2025-12-27 22:53:23"}

+ 28 - 0
Tech/log/info.log

@@ -10,3 +10,31 @@
 {"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:52:36"}
 {"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:53:06"}
 {"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:53:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:54:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:54:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:55:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:55:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:56:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:56:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:57:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:57:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:58:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:58:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:59:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-21 23:59:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-22 00:00:06"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-22 00:00:36"}
+{"level":"info","msg":"成功发送心跳到信息化服务器","time":"2025-12-22 00:01:06"}
+{"level":"info","msg":"接收到关闭信号,正在优雅关闭服务...","time":"2025-12-22 00:01:28"}
+{"level":"info","msg":"日志系统初始化成功","time":"2025-12-27 22:22:10"}
+{"level":"info","msg":"数据库连接监控任务已启动,间隔10秒","time":"2025-12-27 22:22:10"}
+{"action":"cache_init","level":"info","module":"user","msg":"开始初始化用户信息缓存...","time":"2025-12-27 22:22:10"}
+{"level":"info","msg":"SCADA培训系统服务启动中...","time":"2025-12-27 22:22:13"}
+{"level":"info","msg":"心跳发送任务已启动,间隔30秒","time":"2025-12-27 22:22:13"}
+{"level":"info","msg":"接收到关闭信号,正在优雅关闭服务...","time":"2025-12-27 22:22:13"}
+{"level":"info","msg":"数据库连接监控任务已启动,间隔10秒","time":"2025-12-27 22:25:26"}
+{"level":"info","msg":"日志系统初始化成功","time":"2025-12-27 22:25:26"}
+{"action":"cache_init","level":"info","module":"user","msg":"开始初始化用户信息缓存...","time":"2025-12-27 22:25:26"}
+{"level":"info","msg":"SCADA培训系统服务启动中...","time":"2025-12-27 22:25:28"}
+{"level":"info","msg":"心跳发送任务已启动,间隔30秒","time":"2025-12-27 22:25:28"}
+{"level":"info","msg":"接收到关闭信号,正在优雅关闭服务...","time":"2025-12-27 22:53:23"}