multiple evolutions
This commit is contained in:
@@ -40,7 +40,7 @@ allowed_name_characters.append('.')
|
||||
logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s', filename='data_config_debug.log', filemode='w', level=logging.DEBUG, datefmt='%Y%m%d%H%M%S')
|
||||
|
||||
dir_name = 'I-Sight_Generated_Files'
|
||||
input_datamodel = 'DATAMODEL_1.0.6_LIBERTY.xlsx'
|
||||
input_datamodel = 'DATAMODEL_1.0.6_CW.xlsx'
|
||||
shell_script_name = dir_name + '/I-Sight_Configuration_'
|
||||
global_shell_script_name = dir_name + '/I-Sight_Global_Configuration.sh'
|
||||
|
||||
@@ -208,7 +208,7 @@ def jq_filter(current_device, dsh, dsh_global, row_device):
|
||||
jq_data["enable"] = False
|
||||
jq_data["properties"] = [{"key": "deviceType", "value": "AC_GATEWAY"}, {"key": "cdid", "value": current_device}]
|
||||
jq_data["outputTopic"] = filter
|
||||
jq_data["sendOutThreshold"] = {"mode": "bySize", "size": int(128000), "time": int(30), "sizeIdleTimer": {"enable": True, "time": int(30)}}
|
||||
jq_data["sendOutThreshold"] = {"mode": "bySize", "size": int(128000), "time": int(30), "sizeIdleTimer": {"enable": True, "time": int(5)}}
|
||||
jq_data["minPublishInterval"] = int(0)
|
||||
jq_data["samplingMode"] = "allValues"
|
||||
jq_data["customSamplingRate"] = False
|
||||
|
||||
Reference in New Issue
Block a user