| | |
| | | private RedisUtil redisUtil; |
| | | |
| | | private JSONObject jsonObject = new JSONObject(); |
| | | |
| | | public void queryDataSource1() throws InterruptedException { |
| | | List<Double> carPostion=new ArrayList<>(); |
| | | carPostion.add(0.25); |
| | |
| | | } |
| | | jsonObject.append("temperingSwitch", temperingSwitch); |
| | | |
| | | //当前指定工程 |
| | | String temperingengineerId = ""; |
| | | if (redisUtil.getCacheObject("temperingengineerId") == null) { |
| | | redisUtil.setCacheObject("temperingengineerId", temperingengineerId); |
| | | } else { |
| | | temperingengineerId = redisUtil.getCacheObject("temperingengineerId"); |
| | | } |
| | | jsonObject.append("temperingengineerId", temperingengineerId); |
| | | |
| | | |
| | | } |
| | | |
| | |
| | | jsonObject.append("temperingGlassInfoList", temperingGlassInfoList); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * fixedRate : 上一个调用开始后再次调用的延时(不用等待上一次调用完成) |
| | | * fixedDelay : 上一个调用结束后再次调用的延时 |