| | |
| | | package com.mes.bigstorage.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.mes.base.entity.vo.BigStorageVO; |
| | | import com.mes.bigstorage.entity.BigStorageCageDetails; |
| | | import com.mes.bigstorage.entity.BigStorageDTO; |
| | | import com.mes.bigstorage.entity.dto.TemperingLayoutDTO; |
| | | import com.mes.bigstorage.entity.dto.*; |
| | | import com.mes.bigstorage.entity.vo.BigStorageQueryVO; |
| | | import com.mes.bigstoragetask.entity.UpdateBigStorageCageDTO; |
| | | import com.mes.glassinfo.entity.GlassInfo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author zhoush |
| | |
| | | */ |
| | | public interface BigStorageCageDetailsService extends IService<BigStorageCageDetails> { |
| | | |
| | | List<BigStorageCageDetails> selectTask(int taskType); |
| | | List<BigStorageCageDetails> selectFeedTask(); |
| | | |
| | | List<BigStorageCageDetails> selectOutTask(); |
| | | |
| | | double selectGetBoard(String plcFeedReqLine); |
| | | |
| | | void deleteBigStorageCageDetails(BigStorageCageDetails bigStorageCageDetails); |
| | | |
| | | void damageBigStorageCageDetails(String glassId); |
| | | void damageBigStorageCageDetails(String glassId, int status); |
| | | |
| | | BigStorageCageDetails selectBigStorageCageDetails(String glassId); |
| | | List<BigStorageCageDetails> selectBigStorageCageDetails(String glassId); |
| | | |
| | | void insertBigStorageCageDetails(BigStorageCageDetails bigStorageCageDetails); |
| | | |
| | |
| | | */ |
| | | BigStorageDTO queryTargetSlotByTempering(GlassInfo glassInfo); |
| | | |
| | | TemperingLayoutDTO temperingIsAll(); |
| | | /** |
| | | * 获取钢化版图已经到齐的工程号及版图id |
| | | * |
| | | * @return |
| | | */ |
| | | List<TemperingLayoutDTO> temperingIsAll(); |
| | | |
| | | /** |
| | | * 获取每个钢化版图占用的格子数量 |
| | | * |
| | | * @return |
| | | */ |
| | | List<TemperingLayoutDTO> queryTemperingOccupySlot(); |
| | | |
| | | /** |
| | | * 获取版图每个格子的最大最小序号 |
| | | * |
| | | * @param engineerId |
| | | * @param temperingLayoutId |
| | | * @return |
| | | */ |
| | | List<SlotSequenceDTO> queryGlassMaxAndMin(String engineerId, Integer temperingLayoutId); |
| | | |
| | | boolean temperingGlass(String temperingLayoutId, String engineerId, String temperingFeedSequence); |
| | | |
| | | List<TemperingGlassCountDTO> selectTemperingGlass(int isTempering); |
| | | |
| | | void updateBySlot(List<UpdateBigStorageCageDTO> glassList, int state); |
| | | |
| | | String temperingSwitch(Boolean flag); |
| | | |
| | | boolean appointTemperingEngineerId(String engineerId); |
| | | |
| | | List<BigStorageRelationDTO> queryIsAllNeedDispatchVirtualSlot(); |
| | | |
| | | List<BigStorageSequenceDTO> dispatchBigStorageGlassInfo(BigStorageRelationDTO bigStorageRelationDTO); |
| | | |
| | | String dispatchSwitch(Boolean flag); |
| | | |
| | | /** |
| | | * 按照工程信息及钢化id(炉号)获取缺少的玻璃信息 |
| | | * @param bigStorageQueryVO |
| | | * @return |
| | | */ |
| | | List<GlassInfoLackDTO> queryLackGlassInfo(BigStorageQueryVO bigStorageQueryVO); |
| | | |
| | | String bigStorageGlassDamageByGlassId(String glassId); |
| | | |
| | | /** |
| | | * 按照格子号更新详情表内的格子对应的设备id |
| | | * @param slotList |
| | | */ |
| | | void updateDeviceIdBySlot(List<Integer> slotList); |
| | | |
| | | /** |
| | | * 按照工程信息及钢化id(炉号)获取实际笼内的玻璃信息 |
| | | * |
| | | * @param bigStorageQueryVO |
| | | * @return |
| | | */ |
| | | List<BigStorageCageDetails> queryRealGlassInfo(BigStorageQueryVO bigStorageQueryVO); |
| | | |
| | | Map<Integer, List<BigStorageVO>> querybigStorageCageDetail(); |
| | | |
| | | /** |
| | | * 取消钢化任务 |
| | | * |
| | | * @return |
| | | */ |
| | | boolean cancelTemperingTask(); |
| | | } |