| | |
| | | import com.zy.common.properties.SlaveProperties; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | @Component |
| | | public class LocMoveAllScheduler { |
| | | |
| | | @Value("${loc-move.enable}") |
| | | private boolean enable; |
| | | @Value("${loc-move.crn1}") |
| | | private boolean crn1; |
| | | @Value("${loc-move.crn2}") |
| | | private boolean crn2; |
| | | //@Value("${loc-move.enable}") |
| | | private boolean enable = false; |
| | | //@Value("${loc-move.crn1}") |
| | | private boolean crn1 = false; |
| | | //@Value("${loc-move.crn2}") |
| | | private boolean crn2 = false; |
| | | |
| | | |
| | | @Autowired |