| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.mdc.dto.MdcEquDepDto; |
| | | import org.jeecg.modules.mdc.dto.MdcEquProDto; |
| | | import org.jeecg.modules.mdc.dto.MdcEquipmentDto; |
| | | import org.jeecg.modules.mdc.entity.MdcEquipment; |
| | | import org.jeecg.modules.mdc.entity.MdcEquipmentMonitor; |
| | | import org.jeecg.modules.mdc.model.MdcEquipmentTree; |
| | | import org.jeecg.modules.mdc.vo.MdcEquipmentVo; |
| | | import org.jeecg.modules.mdc.vo.WorkshopEquipmentVo; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | /** |
| | | * 根据设备id查询设备名称 |
| | | * |
| | | * @param equipmentId |
| | | * @return |
| | | */ |
| | |
| | | */ |
| | | MdcEquipment getEquipmentByPid(String pid, String userId); |
| | | |
| | | /** |
| | | * 根据设备编号查询设备信息和部门信息 |
| | | * |
| | | * @param equipmentIdList |
| | | * @return |
| | | */ |
| | | List<MdcEquDepDto> findEquDepList(List<String> equipmentIdList); |
| | | |
| | | /** |
| | | * 根据设备编号查询设备信息和产线信息 |
| | | * |
| | | * @param equipmentIdList |
| | | * @return |
| | | */ |
| | | List<MdcEquProDto> findEquProList(List<String> equipmentIdList); |
| | | |
| | | /** |
| | | * 根据部门层级查询设备单个 |
| | | */ |
| | | MdcEquipment getEquipmentByDepPid(String pid, String userId); |
| | | |
| | | /** |
| | | * 根据大屏车间id查询设备列表 |
| | | */ |
| | | IPage<MdcEquipment> getEquipmentByWorkshopId(Page<MdcEquipment> page, WorkshopEquipmentVo workshopEquipmentVo); |
| | | |
| | | List<String> listEquipmentId(String equipmentType, List<String> equipmentIdList); |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | IPage<MdcEquipment> pageList(Page<MdcEquipment> page, MdcEquipmentVo mdcEquipment, HttpServletRequest req); |
| | | |
| | | /** |
| | | * 监控设备转速任务 |
| | | */ |
| | | void monitoringSpeedProcess(); |
| | | |
| | | |
| | | } |