|  | @ -213,6 +213,20 @@ public class ArtemisPostTest {
 | 
	
		
			
				|  |  | 		System.out.println("StringeResult结果示例: "+StringeResult);
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	/**
 | 
	
		
			
				|  |  | 	 * type 1烟感 2气感
 | 
	
		
			
				|  |  | 	 * @param deviceName
 | 
	
		
			
				|  |  | 	 * @param deviceSerial
 | 
	
		
			
				|  |  | 	 * @param type
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  | 	public static void addDevice(String deviceName,String deviceSerial,int type){
 | 
	
		
			
				|  |  | 		if(type ==1){
 | 
	
		
			
				|  |  | 			addDevice(deviceName,deviceSerial,"800022","600002");
 | 
	
		
			
				|  |  | 		}else{
 | 
	
		
			
				|  |  | 			addDevice(deviceName,deviceSerial,"800056","600006");
 | 
	
		
			
				|  |  | 		}
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	/**
 | 
	
		
			
				|  |  | 	 * 查询订阅
 | 
	
		
			
				|  |  | 	 */
 | 
	
	
		
			
				|  | @ -237,7 +251,7 @@ public class ArtemisPostTest {
 | 
	
		
			
				|  |  | //		callPostImgStringApi();
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | //		getDevice();
 | 
	
		
			
				|  |  | 		getMonitor();
 | 
	
		
			
				|  |  | //		getMonitor();
 | 
	
		
			
				|  |  | //		subscription_info("980001");
 | 
	
		
			
				|  |  | //		subscription_info("980002");
 | 
	
		
			
				|  |  | //		subscription_info("980003");
 | 
	
	
		
			
				|  | @ -246,5 +260,16 @@ public class ArtemisPostTest {
 | 
	
		
			
				|  |  | //		subscription_info("980006");
 | 
	
		
			
				|  |  | //		subscription_info("980007");
 | 
	
		
			
				|  |  | //		subscription_info("980008");
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 		addDevice("可燃气体探测器","867070036127251",2);
 | 
	
		
			
				|  |  | 		addDevice("可燃气体探测器","867070036223175",2);
 | 
	
		
			
				|  |  | 		addDevice("可燃气体探测器","867070036131121",2);
 | 
	
		
			
				|  |  | 		addDevice("可燃气体探测器","867070036312564",2);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 		addDevice("火灾探测报警器","863409057775073",1);
 | 
	
		
			
				|  |  | 		addDevice("火灾探测报警器","863409057781162",1);
 | 
	
		
			
				|  |  | 		addDevice("火灾探测报警器","863409057781261",1);
 | 
	
		
			
				|  |  | 		addDevice("火灾探测报警器","863409057781113",1);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	}
 | 
	
		
			
				|  |  | }
 |