luxiaotao1123
2024-03-27 d837bbfa526db9a42f511fc0f7fba9c7d9b60cb8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.zy.asrs.wcs.core.timer;
 
import com.zy.asrs.wcs.core.utils.RedisUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
@Slf4j
@Component
public class DeviceTimer {
 
    @Autowired
    private RedisUtil redisUtil;
 
    @Scheduled(cron = "0/1 * * * * ? ")
    public synchronized void executeShuttle() {
 
    }
 
    @Scheduled(cron = "0/1 * * * * ? ")
    public synchronized void executeLift() {
 
    }
 
    @Scheduled(cron = "0/1 * * * * ? ")
    public synchronized void executeConveyor() {
 
    }
 
}