| | |
| | | import com.qianwen.smartman.modules.mdc.vo.WorkstationVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | @Service("oldRealTimeDataService") |
| | | public class RealTimeDataServiceImpl implements IRealTimeDataService { |
| | | private final WorkstationMapper workstationMapper; |
| | | private final IWorkstationOfMachineService workstationOfMachineService; |
| | |
| | | this.workstationOfMachineService = workstationOfMachineService; |
| | | this.dmpVariablesService = dmpVariablesService; |
| | | } |
| | | |
| | | /* |
| | | @Override |
| | | public List<DmpStatusVariableVO> getWorkstationRealTimeStatus(WorkstationVO workstationVO) { |
| | | List<Long> workstationIdList = workstationVO.getWorkstationIdList(); |
| | |
| | | List<DmpVariablesVO> dmpVariables = this.dmpVariablesService.getDmpVariablesByWorkstationId(Long.valueOf(workstationId.longValue())); |
| | | return dmpVariables.stream().filter(DmpVariablesVO::getRealTimeData).collect(Collectors.toList()); |
| | | } |
| | | */ |
| | | } |