|
@@ -45,6 +45,7 @@ import type {
|
|
ListInterfaces,
|
|
ListInterfaces,
|
|
ListPhysicalInterfaces,
|
|
ListPhysicalInterfaces,
|
|
MonitoringForm,
|
|
MonitoringForm,
|
|
|
|
+ MonitoringPointData,
|
|
MonitorPointInfo,
|
|
MonitorPointInfo,
|
|
MonitorPointItem,
|
|
MonitorPointItem,
|
|
OutdooForm,
|
|
OutdooForm,
|
|
@@ -189,6 +190,14 @@ export const getRegionsPointsData = async (devGroupId: number) => {
|
|
return data;
|
|
return data;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+export const getRegionsPointsValue = async (devGroupId: number, params: { endTime: string }) => {
|
|
|
|
+ const data = await request<MonitoringPointData[]>(apiBiz(`/region/pointsValue/${devGroupId}`), {
|
|
|
|
+ method: 'POST',
|
|
|
|
+ body: JSON.stringify({ monitorPointTimedQueryParam: params }),
|
|
|
|
+ });
|
|
|
|
+ return data;
|
|
|
|
+};
|
|
|
|
+
|
|
// 环境监控-监测点
|
|
// 环境监控-监测点
|
|
|
|
|
|
export const addMonitorPoint = async (params: MonitoringForm) => {
|
|
export const addMonitorPoint = async (params: MonitoringForm) => {
|