| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -103,7 +103,7 @@ public class AHUTask { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // 判断远程启停或者时间表启停是否开启来,判断是否存在getCurValue,且当前时间等于今天的时间
 | 
					 | 
					 | 
					 | 
					        // 判断远程启停或者时间表启停是否开启来,判断是否存在getCurValue,且当前时间等于今天的时间
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (list.stream().anyMatch(val -> | 
					 | 
					 | 
					 | 
					        if (list.stream().anyMatch(val -> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                (val.getMtNum().equals("ddc13_1510085") || val.getMtNum().equals("ddc13_1510185")) | 
					 | 
					 | 
					 | 
					                (val.getMtNum().equals("ddc13_1510085") || val.getMtNum().equals("ddc13_1510185")) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        && val.getCurValue() != null && val.getCurValue().intValue() == 1)) { | 
					 | 
					 | 
					 | 
					                        && val.getCurValue() != null)) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            // 判断curTime是否为今天
 | 
					 | 
					 | 
					 | 
					            // 判断curTime是否为今天
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            Date now = new Date(); | 
					 | 
					 | 
					 | 
					            Date now = new Date(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            boolean isToday = list.stream().anyMatch(val -> | 
					 | 
					 | 
					 | 
					            boolean isToday = list.stream().anyMatch(val -> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -124,23 +124,39 @@ public class AHUTask { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    Thread.sleep(2000); | 
					 | 
					 | 
					 | 
					                    Thread.sleep(2000); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } else { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } else { | 
					 | 
					 | 
					 | 
					                for (CollectionParamsManage value : list) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            for (CollectionParamsManage value : list) { | 
					 | 
					 | 
					 | 
					                    if (value.getMtNum().contains("ddc13_0211385")) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                if (value.getMtNum().contains("ddc13_0211385")) { | 
					 | 
					 | 
					 | 
					                        if (twoHardParam.getCurValue() != null && twoHardParam.getCurValue().intValue() != 0) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if (twoHardParam.getCurValue() != null && twoHardParam.getCurValue().intValue() != 0) { | 
					 | 
					 | 
					 | 
					                            // 发送值给2号硬件风阀控制点位
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        // 发送值给2号硬件风阀控制点位
 | 
					 | 
					 | 
					 | 
					                            sendOrderToMqtt(List.of(new OrderEntity(twoHardParam.getId(), "0", 0, twoHardParam.getOtherName()))); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        sendOrderToMqtt(List.of(new OrderEntity(twoHardParam.getId(), "0", 0, twoHardParam.getOtherName()))); | 
					 | 
					 | 
					 | 
					                        } | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } else if (value.getMtNum().contains("ddc13_0211485")) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } else if (value.getMtNum().contains("ddc13_0211485")) { | 
					 | 
					 | 
					 | 
					                        if (threeHardParam.getCurValue() != null && threeHardParam.getCurValue().intValue() != 0) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if (threeHardParam.getCurValue() != null && threeHardParam.getCurValue().intValue() != 0) { | 
					 | 
					 | 
					 | 
					                            // 发送值给3号硬件风阀控制点位
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    // 发送值给3号硬件风阀控制点位
 | 
					 | 
					 | 
					 | 
					                            sendOrderToMqtt(List.of(new OrderEntity(threeHardParam.getId(), "0", 0, threeHardParam.getOtherName()))); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    sendOrderToMqtt(List.of(new OrderEntity(threeHardParam.getId(), "0", 0, threeHardParam.getOtherName()))); | 
					 | 
					 | 
					 | 
					                        } | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    Thread.sleep(2000); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                Thread.sleep(2000); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//        else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//            for (CollectionParamsManage value : list) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                if (value.getMtNum().contains("ddc13_0211385")) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                    if (twoHardParam.getCurValue() != null && twoHardParam.getCurValue().intValue() != 0) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                        // 发送值给2号硬件风阀控制点位
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                        sendOrderToMqtt(List.of(new OrderEntity(twoHardParam.getId(), "0", 0, twoHardParam.getOtherName())));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                } else if (value.getMtNum().contains("ddc13_0211485")) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                    if (threeHardParam.getCurValue() != null && threeHardParam.getCurValue().intValue() != 0) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                    // 发送值给3号硬件风阀控制点位
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                    sendOrderToMqtt(List.of(new OrderEntity(threeHardParam.getId(), "0", 0, threeHardParam.getOtherName())));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//                Thread.sleep(2000);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |