|
@@ -133,7 +133,7 @@ function tower_info(tower_str){
|
|
|
<tbody>\
|
|
|
<tr>\
|
|
|
<td>馬達震動</td>\
|
|
|
- <td>'+ obj2[i].tower_data.Moter.ch01.Vrms + '</td>\
|
|
|
+ <td>'+ obj2[i].tower_data.Moter[0].Vrms + '</td>\
|
|
|
<td>mm/s</td>\
|
|
|
</tr>\
|
|
|
<tr>\
|
|
@@ -174,25 +174,25 @@ function tower_info(tower_str){
|
|
|
<div class="card col-lg-5">\
|
|
|
<p class="fw-bold ">ch001,通道1</p>\
|
|
|
<div>\
|
|
|
- <p class="text-center">'+ obj2[i].tower_data.Moter.ch01.Vrms + ',' + obj2[i].tower_data.Moter.ch01.CV+'</p>\
|
|
|
+ <p class="text-center">'+ obj2[i].tower_data.Moter[0].Vrms + ',' + obj2[i].tower_data.Moter[0].CV+'</p>\
|
|
|
</div>\
|
|
|
</div>\
|
|
|
<div class="card col-lg-5">\
|
|
|
<p class="fw-bold ">ch002,通道2</p>\
|
|
|
<div>\
|
|
|
- <p class="text-center">'+ obj2[i].tower_data.Moter.ch02.Vrms + ',' + obj2[i].tower_data.Moter.ch02.CV+'</p>\
|
|
|
+ <p class="text-center">'+ obj2[i].tower_data.Moter[1].Vrms + ',' + obj2[i].tower_data.Moter[1].CV+'</p>\
|
|
|
</div>\
|
|
|
</div>\
|
|
|
<div class="card col-lg-5">\
|
|
|
- <p class="fw-bold ">ch002,通道3</p>\
|
|
|
+ <p class="fw-bold ">ch003,通道3</p>\
|
|
|
<div>\
|
|
|
- <p class="text-center">'+ obj2[i].tower_data.Moter.ch01.Vrms + ',' + obj2[i].tower_data.Moter.ch01.CV+'</p>\
|
|
|
+ <p class="text-center">'+ obj2[i].tower_data.Moter[2].Vrms + ',' + obj2[i].tower_data.Moter[2].CV+'</p>\
|
|
|
</div>\
|
|
|
</div>\
|
|
|
<div class="card col-lg-5">\
|
|
|
- <p class="fw-bold ">ch002,通道4</p>\
|
|
|
+ <p class="fw-bold ">ch004,通道4</p>\
|
|
|
<div>\
|
|
|
- <p class="text-center">'+ obj2[i].tower_data.Moter.ch02.Vrms + ',' + obj2[i].tower_data.Moter.ch02.CV+'</p>\
|
|
|
+ <p class="text-center">'+ obj2[i].tower_data.Moter[3].Vrms + ',' + obj2[i].tower_data.Moter[3].CV+'</p>\
|
|
|
</div>\
|
|
|
</div>\
|
|
|
</div>\
|
|
@@ -200,7 +200,7 @@ function tower_info(tower_str){
|
|
|
</div>\
|
|
|
</div>\
|
|
|
</div>';
|
|
|
-
|
|
|
+ console.log(obj2[i].tower_data.Moter[3].Vrms);
|
|
|
}
|
|
|
}
|
|
|
document.getElementById("tower_info").innerHTML = inner;
|