IPgService.java
4.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
package com.skua.modules.system.service;
import java.util.List;
import java.util.Map;
import java.util.Set;
public interface IPgService {
Map<String, Object> queryTrendDataNew(String fields, String factoryId, String startTime, String endTime);
Map<String, Object> queryFactoryInfosForMonitorByXT(String departId, String substring);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @Description 根据PG计算表的数据查询昨天的数据
* @Date 2021-03-04 9:49
* @Param []
**/
List<Map<String, Object>> queryDayDataByCountData(String today, String yesterday, String device_id);
/**
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
* @Description 查询旋思盒子在线离线状态
* @Date 2021-04-16 11:42
* @Param []
**/
List<Map<String, Object>> queryFactoryStatus();
/**
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
* @Description 查询时间间隔内的指标值
* @Date 2021-04-21 15:30
* @Param [departId, alarmProgramCodeStr, startTime, endTime]
**/
List<Map<String, Object>> queryAlarmInfoByXT(String departId, String alarmProgramCodeStr, String startTime, String endTime);
/**
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
* @Description 查询时间段之间的数据
* @Date 2021-04-29 15:21
* @Param [fields, departId, startTime, endTime]
**/
List<Map<String, Object>> queryTrendData(String fields, String departId, String startTime, String endTime);
/**
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
* @Description 查询流量时间段之间的数据
* @Date 2021-04-29 15:21
* @Param [fields, departId, startTime, endTime]
**/
List<Map<String, Object>> queryTrendDataByLL(String fields, String departId, String startTime, String endTime);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @Description 获取点的实时数据
* @Date 2021-06-25 13:46
* @Param [substring]
**/
Map<String, Object> queryMonitorByXTFeilds(String substring);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @Description 获取plc诊断点的状态
* @Date 2021-06-25 13:46
* @Param [substring]
**/
Map<String, Object> queryMonitorByFeildsTime(String substring);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @Description 获取设备故障点为1的最早时间
* @Date 2021-08-31 17:52
* @Param [departId, alarmProgramCodeStr, toString, toString1]
**/
Map<String, Object> queryEquipAlarmInfoByXT(String departId, String alarmProgramCodeStr, String toString, String toString1);
/**
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
* @throws Exception
* @Description 判断数据长期不变
* @Date 2021-09-03 14:49
* @Param [toString, time, formatAddTime]
**/
Map<String, Set<String>> queryDataSameData(String departId,String toString, String startTime, String endTime) throws Exception;
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @Description 获取点的实时数据(超时返回空)3分钟
* @Date 2021-09-07 9:33
* @Param [toString]
**/
Map<String, Object> queryMonitorByXTFeildsTime(String toString);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @Description 设备点
* @Date 2021-09-07 12:00
* @Param [toString]
**/
Map<String, Object> queryMonitorByXTFeildsEquipTime(String toString);
/**
* <pre>
* 测试数据
* </pre>
*
* @param factoryId
* @param list
* @author Yangsong,2022-06-18 13:40
* @Description: TODO(这里描述这个方法的需求变更情况)
*/
Map<String, Object> queryTrendDataTest(String factoryId, List<Map<String, Object>> list, String type);
/**
* <pre>
* 测试数据
* </pre>
*
* @param factoryId
* @param list
* @author Yangsong,2022-06-18 13:40
* @Description: TODO(这里描述这个方法的需求变更情况)
*/
Map<String, Object> queryTrendDataTestApp(String factoryId, List<Map<String, Object>> list, String type);
/**
* <pre>
* 测试趋势数据
* </pre>
*
* @param id
* @param factoryId
* @param startTime
* @param endTime
* @author Yangsong,2022-06-18 14:12
* @Description: TODO(这里描述这个方法的需求变更情况)
*/
Map<String, Object> queryTrendDataNewTest(List<Map<String, Object>> id, String factoryId, String startTime, String endTime);
Map<String, Object> queryDayData(String fields, String deviceId, String day);
}