增加数字孪生设备接口
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.dromara.sis.api;
|
||||
|
||||
import org.dromara.sis.api.domain.RemoteDeviceStateStatistics;
|
||||
import org.dromara.sis.api.domain.RemoteSdkChannel;
|
||||
import org.dromara.sis.api.domain.RemoteSisDeviceChannel;
|
||||
import org.dromara.sis.api.domain.RemoteSisDeviceManage;
|
||||
@@ -69,4 +70,11 @@ public interface RemoteDeviceService {
|
||||
* @return 返回更新成功数量
|
||||
*/
|
||||
Integer updateChannelInfo(List<RemoteSisDeviceChannel> updateData);
|
||||
|
||||
/**
|
||||
* 统计监控设备在线数量
|
||||
* @return 返回统计数据
|
||||
*/
|
||||
RemoteDeviceStateStatistics statisticsMonitorState();
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,14 @@
|
||||
package org.dromara.sis.api.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RemoteDeviceStateStatistics {
|
||||
|
||||
private Integer onLine;
|
||||
|
||||
private Integer offLine;
|
||||
|
||||
private Integer total;
|
||||
|
||||
}
|
Reference in New Issue
Block a user