//package com.zy.asrs.wcs.core.utils; // //import com.zy.core.model.DevpSlave; //import com.zy.core.properties.SlaveProperties; //import lombok.extern.slf4j.Slf4j; //import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.stereotype.Service; // ///** // * Created by vincent on 2023/10/20 // */ //@Slf4j //@Service //public class ConveyorDispatcher { // // @Autowired // private SlaveProperties slaveProperties; // // public DevpSlave queryByInBound(Integer staNo) { // for (DevpSlave devpSlave : slaveProperties.getDevp()) { // for (DevpSlave.Sta sta : devpSlave.getInSta()) { // if (sta.getStaNo().equals(staNo)) { // return devpSlave; // } // } // // } // return null; // } // // public DevpSlave queryByOutBound(Integer staNo) { // for (DevpSlave devpSlave : slaveProperties.getDevp()) { // for (DevpSlave.Sta sta : devpSlave.getOutSta()) { // if (sta.getStaNo().equals(staNo)) { // return devpSlave; // } // } // // } // return null; // } // // // //}