|  | @@ -72,6 +72,16 @@ unsigned int __stdcall ThreadWathTVPort(PVOID pM)
 | 
	
		
			
				|  |  |  				buffer = (char*)szBuffer;
 | 
	
		
			
				|  |  |  				__time64_t gmt = time(NULL);// 获取当前日历时间(1900-01-01开始的Unix时间戳);
 | 
	
		
			
				|  |  |  				// 遍历是否有符合的子串;		
 | 
	
		
			
				|  |  | +				for ( std::vector<std::string>::iterator it = vtNotifyReboot.begin(); it != vtNotifyReboot.end(); it++ )
 | 
	
		
			
				|  |  | +				{
 | 
	
		
			
				|  |  | +					if ( _tcsstr(buffer.c_str(), it->c_str()) )
 | 
	
		
			
				|  |  | +					{
 | 
	
		
			
				|  |  | +						nType = 1;
 | 
	
		
			
				|  |  | +						bAbnormal = true;
 | 
	
		
			
				|  |  | +						break;
 | 
	
		
			
				|  |  | +					}
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  				if ( !bAbnormal )
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  |  					for ( std::vector<std::string>::iterator it = vtNotifyShutdown.begin(); it != vtNotifyShutdown.end(); it++ )
 | 
	
	
		
			
				|  | @@ -85,16 +95,6 @@ unsigned int __stdcall ThreadWathTVPort(PVOID pM)
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -				for ( std::vector<std::string>::iterator it = vtNotifyReboot.begin(); it != vtNotifyReboot.end(); it++ )
 | 
	
		
			
				|  |  | -				{
 | 
	
		
			
				|  |  | -					if ( _tcsstr(buffer.c_str(), it->c_str()) )
 | 
	
		
			
				|  |  | -					{
 | 
	
		
			
				|  |  | -						nType = 1;
 | 
	
		
			
				|  |  | -						bAbnormal = true;
 | 
	
		
			
				|  |  | -						break;
 | 
	
		
			
				|  |  | -					}
 | 
	
		
			
				|  |  | -				}
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  				// 1分钟前,是否有收到脚本通知;
 | 
	
		
			
				|  |  |  				if ( Global::g_notify.notify )
 | 
	
		
			
				|  |  |  				{
 |