波形解析相关

This commit is contained in:
2026-04-16 08:11:38 +08:00
parent 8e2c044381
commit 5596d57409
23 changed files with 162 additions and 78 deletions

View File

@@ -45,7 +45,7 @@ class LogWindowManager {
// 写入启动标记
this.writeToFile(new Date().toISOString().replace('T', ' ').substring(0, 19), 'SYSTEM', '=' .repeat(80));
this.writeToFile(new Date().toISOString().replace('T', ' ').substring(0, 19), 'SYSTEM', 'CN_Tool 灿能运维工具 应用启动');
this.writeToFile(new Date().toISOString().replace('T', ' ').substring(0, 19), 'SYSTEM', '电能质量运维工具 应用启动');
this.writeToFile(new Date().toISOString().replace('T', ' ').substring(0, 19), 'SYSTEM', '=' .repeat(80));
// 清理超过30天的旧日志
@@ -110,7 +110,7 @@ class LogWindowManager {
this.logWindow = new BrowserWindow({
width: 900,
height: 600,
title: 'CN_Tool 灿能运维工具 - 服务日志',
title: '电能质量运维工具 - 服务日志',
backgroundColor: '#1e1e1e',
icon: iconPath,
webPreferences: {
@@ -152,7 +152,7 @@ class LogWindowManager {
<html>
<head>
<meta charset="UTF-8">
<title>CN_Tool 灿能运维工具 服务日志</title>
<title>电能质量运维工具 服务日志</title>
<style>
* {
margin: 0;
@@ -235,7 +235,7 @@ class LogWindowManager {
</head>
<body>
<div class="header">
<div class="title">📝 CN_Tool 灿能运维工具 服务日志监控</div>
<div class="title">📝 电能质量运维工具 服务日志监控</div>
<div class="controls">
<button onclick="clearLogs()">清空日志</button>
<button onclick="toggleAutoScroll()">自动滚动: <span id="autoScrollStatus">开</span></button>