优化暂态事件列表
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user