| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.rtuMw.server.local.localProtocol; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.mw.protocol.rtuState.RtuStatus; | 
|---|
|  |  |  | import com.dy.rtuMw.server.forTcp.RtuStatusDealer; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @Author: liurunyu | 
|---|
|  |  |  | * @Date: 2024/11/3 16:27 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public class RtuStatusDeal { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询状态 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Map<String, RtuStatus> dealAll(){ | 
|---|
|  |  |  | return RtuStatusDealer.allStatus(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询状态 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Map<String, RtuStatus> dealSome(String[] rtuAddrGrp){ | 
|---|
|  |  |  | return RtuStatusDealer.someStatus(rtuAddrGrp) ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询状态 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public RtuStatus dealOne(String rtuAddr){ | 
|---|
|  |  |  | return RtuStatusDealer.oneStatus(rtuAddr) ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|