1.暂降模块,周报详情增加事件类型
This commit is contained in:
@@ -13,7 +13,7 @@ public interface WeeklyReportService {
|
|||||||
List<AreaPointInfo> getPointData(Date start, Date end,Boolean statFlag);
|
List<AreaPointInfo> getPointData(Date start, Date end,Boolean statFlag);
|
||||||
|
|
||||||
List<AreaPointInfo> getVoltageData(Date start, Date end,Boolean statFlag);
|
List<AreaPointInfo> getVoltageData(Date start, Date end,Boolean statFlag);
|
||||||
|
//前20
|
||||||
List<SagEvent> getSagData(Date start, Date end,Boolean statFlag);
|
List<SagEvent> getSagData(Date start, Date end,Boolean statFlag);
|
||||||
|
|
||||||
List<SagRate> getSagReasonData(Date start, Date end,Boolean statFlag);
|
List<SagRate> getSagReasonData(Date start, Date end,Boolean statFlag);
|
||||||
|
|||||||
@@ -155,6 +155,7 @@
|
|||||||
<th class="text-center">暂降(骤升)幅值(%)</th>
|
<th class="text-center">暂降(骤升)幅值(%)</th>
|
||||||
<th class="text-center">持续时间(s)</th>
|
<th class="text-center">持续时间(s)</th>
|
||||||
<th class="text-center">暂态类型(机器判断)</th>
|
<th class="text-center">暂态类型(机器判断)</th>
|
||||||
|
<th class="text-center">事件类型</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -142,6 +142,20 @@ function initSagEventsTable(data) {
|
|||||||
temp.push(data[offset].strEventValue);
|
temp.push(data[offset].strEventValue);
|
||||||
temp.push(data[offset].persistTime);
|
temp.push(data[offset].persistTime);
|
||||||
temp.push(data[offset].sagTypeDes);
|
temp.push(data[offset].sagTypeDes);
|
||||||
|
switch (data[offset].waveType){
|
||||||
|
case 0:
|
||||||
|
temp.push("扰动");
|
||||||
|
case 1:
|
||||||
|
temp.push("暂降");
|
||||||
|
case 2:
|
||||||
|
temp.push("暂升");
|
||||||
|
case 3:
|
||||||
|
temp.push("中断");
|
||||||
|
case 4:
|
||||||
|
temp.push("其他");
|
||||||
|
default:
|
||||||
|
temp.push("录波");
|
||||||
|
}
|
||||||
tableData.push(temp);
|
tableData.push(temp);
|
||||||
offset++;
|
offset++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user