| | |
| | | @SuppressWarnings("all") |
| | | public class SurayLiftThread implements LiftThread { |
| | | |
| | | private static final String API_URL = "http://127.0.0.1:8082"; |
| | | private static String API_URL = "http://127.0.0.1:8082"; |
| | | |
| | | private Device device; |
| | | private RedisUtil redisUtil; |
| | |
| | | public SurayLiftThread(Device device,RedisUtil redisUtil) { |
| | | this.device = device; |
| | | this.redisUtil = redisUtil; |
| | | API_URL = "http://" + device.getIp() + ":" + device.getPort(); |
| | | } |
| | | |
| | | @Override |
| | |
| | | @SuppressWarnings("all") |
| | | public class SurayShuttleThread implements ShuttleThread { |
| | | |
| | | private static final String API_URL = "http://192.168.7.149:8082"; |
| | | private static String API_URL = "http://127.0.0.1:8082"; |
| | | |
| | | private Device device; |
| | | private RedisUtil redisUtil; |
| | |
| | | public SurayShuttleThread(Device device,RedisUtil redisUtil) { |
| | | this.device = device; |
| | | this.redisUtil = redisUtil; |
| | | API_URL = "http://" + device.getIp() + ":" + device.getPort(); |
| | | } |
| | | |
| | | @Override |