优化暂态事件列表

This commit is contained in:
guanj
2026-06-09 19:51:31 +08:00
parent 03d302ded8
commit bda7373133
48 changed files with 1834 additions and 1474 deletions

View File

@@ -259,7 +259,7 @@ self.onmessage = function (e) {
' 发生时刻:' +
boxoList.startTime +
' 暂降幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
Math.floor(boxoList.featureAmplitude * 10000) / 100 +
'%  持续时间:' +
boxoList.duration +
's'
@@ -283,7 +283,7 @@ self.onmessage = function (e) {
' 发生时刻:' +
boxoList.startTime +
' 暂降幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
Math.floor(boxoList.featureAmplitude * 10000) / 100 +
'% 持续时间:' +
boxoList.persistTime +
's'
@@ -296,7 +296,7 @@ self.onmessage = function (e) {
' 发生时刻:' +
boxoList.startTime +
' 暂降幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
Math.floor(boxoList.featureAmplitude * 10000) / 100 +
'% 持续时间:' +
boxoList.duration +
's'

View File

@@ -132,7 +132,7 @@ self.addEventListener('message', function (e) {
' 发生时刻:' +
boxoList.startTime +
' 暂降幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
Math.floor(boxoList.featureAmplitude * 10000) / 100 +
'% 持续时间:' +
boxoList.duration +
's'
@@ -149,6 +149,7 @@ self.addEventListener('message', function (e) {
boxoList.evtParamTm +
's'
} else if (boxoList.systemType == 'YPT') {
console.log("🚀 ~ boxoList.featureAmplitude:", boxoList.featureAmplitude)
titles =
(boxoList.engineeringName == undefined ? '' : ' 项目名称:' + boxoList.engineeringName) +
' 监测点名称:' +
@@ -156,7 +157,7 @@ self.addEventListener('message', function (e) {
' 发生时刻:' +
boxoList.startTime +
' 暂降幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
Math.floor(boxoList.featureAmplitude * 10000) / 100 +
'% 持续时间:' +
boxoList.persistTime +
's'
@@ -169,7 +170,7 @@ self.addEventListener('message', function (e) {
' 发生时刻:' +
boxoList.startTime +
' 暂降幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
Math.floor(boxoList.featureAmplitude * 10000) / 100 +
'% 持续时间:' +
boxoList.duration +
's'