Browse Source

Added new naming convention for Group MOS

Signed-off-by: chanhoonseng <chanhoonseng3101@gmail.com>
chanhoonseng 7 years ago
parent
commit
1f328e7400
1 changed files with 5 additions and 0 deletions
  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():