¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.mdc.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.mdc.dto.MdcAlarmListDto; |
| | | import org.jeecg.modules.mdc.dto.MdcEquipmentRunningSectionDto; |
| | | import org.jeecg.modules.mdc.dto.MdcEquipmentWaitSectionDto; |
| | | import org.jeecg.modules.mdc.entity.MdcEquipmentRunningSection; |
| | | import org.jeecg.modules.mdc.vo.MdcAlarmAnalyzeQueryVo; |
| | | import org.jeecg.modules.mdc.vo.MdcEquipmentRunningSectionVo; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: 设å¤è¿è¡æ¶æ®µç¶æè¡¨ |
| | | * @Author: LiuS |
| | | * @Date: 2023-04-13 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IMdcEquipmentRunningSectionService extends IService<MdcEquipmentRunningSection> { |
| | | |
| | | /** |
| | | * 设å¤è¿è¡ç¶æç¹æ¶é´è½¬ä¸ºæ®µæ¶é´ |
| | | */ |
| | | void runningAllEquipmentTraceProcess(); |
| | | |
| | | /** |
| | | * 主页æ¥è¯¢ |
| | | */ |
| | | List<MdcEquipmentRunningSectionDto> logList(MdcEquipmentRunningSectionVo equipmentRunningSection); |
| | | |
| | | /** |
| | | * è·å设å¤è¿è¡è®°å½ææ©çæ°æ® |
| | | */ |
| | | MdcEquipmentRunningSection getFirstData(String equipmentId); |
| | | |
| | | /** |
| | | * æ¥è¯¢è®¾å¤åæ¥è¿è¡ç¶ææ¶é´æ®µè®°å½ |
| | | */ |
| | | List<MdcEquipmentRunningSection> listForEquipmentStatisticalInfo(String equipmentId, Date startDate, Date endDate); |
| | | |
| | | /** |
| | | * æ¥è¯¢è®¾å¤åå²è¿è¡ç¶æè®°å½æ°æ® |
| | | */ |
| | | List<Map<String, Object>> logChart(MdcEquipmentRunningSectionVo equipmentRunningSectionVo); |
| | | |
| | | /** |
| | | * 计ç®ä¸æ®µæ¶é´å
çæ°æ® |
| | | */ |
| | | List<MdcEquipmentRunningSection> listEquipmentRunningSection(String equipmentid, long start, long end); |
| | | |
| | | /** |
| | | * æ¥è¯¢æä¸ªè®¾å¤ä¸æ®µæ¶é´å
çæ°æ® |
| | | */ |
| | | List<MdcEquipmentRunningSection> listRunningSectionFromLog(String equipmentid, long start, long end); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¸ä¸ªè®¾å¤ä¸æ®µæ¶é´å
çè¿è¡æ°æ® |
| | | */ |
| | | List<MdcEquipmentRunningSection> listEquipmentRunningSectionRun(String equipmentid, long start, long end); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¸ä¸ªè®¾å¤ä¸æ®µæ¶é´å
çæ
éæ°æ® |
| | | */ |
| | | List<MdcEquipmentRunningSection> listEquipmentRunningSectionError(String equipmentid, long start, long end); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¥è¦æ°æ® |
| | | */ |
| | | List<MdcEquipmentRunningSection> findAlarmList(MdcAlarmAnalyzeQueryVo vo); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¬¡æ° |
| | | */ |
| | | Integer findAlarmCount(String equipmentId, String startDate, String endDate, String alarmCode); |
| | | |
| | | /** |
| | | * æ ¹æ®æ¥ææ¥è¯¢æ¬¡æ° |
| | | */ |
| | | Integer findAlarmCountByDate(String startDate, String endDate, MdcAlarmAnalyzeQueryVo vo); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¶é´æ®µå
è¿è¡æ°æ® |
| | | */ |
| | | List<MdcEquipmentRunningSection> selectRunningData(String equipmentId, Date startDate, Date endDate); |
| | | |
| | | List<MdcAlarmListDto> selectAlarmList(MdcAlarmAnalyzeQueryVo mdcAlarmAnalyzeQueryVo, String startDate, String endDate); |
| | | |
| | | List<Integer> getDataList(String equipmentId, Date date); |
| | | |
| | | List<MdcEquipmentWaitSectionDto> findWaitList(String date); |
| | | |
| | | MdcEquipmentRunningSection getFirstRecord(); |
| | | |
| | | } |