| | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.*; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Qualifier; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.HashMap; |
| | |
| | | @Autowired |
| | | private WaterCommService waterCommService; |
| | | |
| | | @Qualifier("SER-UPSCommService") |
| | | @Autowired |
| | | private com.whyc.app.service.UPSCommService upsService; |
| | | |
| | | public Response getAllRT(){ |
| | | HashMap<String, Object> map = new HashMap<>(); |
| | | //进出线屏 |
| | |
| | | map.put("powerCtrlList",powerCtrlList); |
| | | map.put("powerRT",powerRT); |
| | | |
| | | |
| | | UPSComm upsComm = upsService.getstatus(); |
| | | map.put("upsComm",upsComm); |
| | | |
| | | return new Response().set(1,map); |
| | | } |
| | | |