|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.service.IService; | 
|---|
|  |  |  | import com.zy.acs.manager.manager.entity.Segment; | 
|---|
|  |  |  | import com.zy.acs.manager.manager.enums.SegmentStateType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface SegmentService extends IService<Segment> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void processNext(List<Segment> segmentList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Segment getNextStepOfInit(Long travelId, Integer serial); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Segment getJustWaitingSeg(Long agvId); | 
|---|
|  |  |  | Segment getPreviousStepOfFinish(Long travelId, Integer serial, String memo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Segment> getJustWaitingSeg(Long agvId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Segment> getSamePos(List<Segment> segmentList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Segment> getByAgvAndState(Long agvId, String state); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<String> getGroupNo(SegmentStateType state, Long agvId, String groupNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Segment> getRunningByEndCode(Long codeId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|