Explorar el Código

Added new naming convention for Group MOS

Signed-off-by: chanhoonseng <chanhoonseng3101@gmail.com>
chanhoonseng hace 7 años
padre
commit
1f328e7400
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      core.py

+ 5 - 0
core.py

@@ -308,12 +308,17 @@ class AdeiKatrinHandler(tornado.web.RequestHandler):
 	        match_token = params['sensor_name'] + "-ZUST_Val"
             elif "VYS" in params['sensor_name']:
 	        match_token = params['sensor_name'] + "-ZUST_Val"
+	    elif "HVS" in params['sensor_name']:
+	        match_token = params['sensor_name'] + "-ZUST_Val"
+	    elif "VAO" in params['sensor_name']:
+	        match_token = params['sensor_name'] + "-ZUST_Val"
     	    elif "MSS" in params['sensor_name']:
 	        match_token = params['sensor_name'] + "_Val"
 	    else:
 	        match_token = params['sensor_name'] + "-IST_Val"
             db_mask = None
 
+
         print match_token
         for i, item in enumerate(cr):
             if "[" and "]" in item.strip():