Update for placing DPMs and DPM devices

This commit is contained in:
b.makharadze 2025-09-06 14:31:21 +04:00
parent 9de12cc571
commit 452894ecd5
26 changed files with 964 additions and 12339 deletions

View File

@ -2,6 +2,7 @@
!!! CHANGE THE INPUT_FILE VARIABLE TO THE PATH OF THE TEXT FILE! LINE 17 !!! !!! CHANGE THE INPUT_FILE VARIABLE TO THE PATH OF THE TEXT FILE! LINE 17 !!!
IF YOU WANT TO RUN THIS SCRIPT, YOU NEED TO HAVE A TXT FILE WITH THE FOLLOWING FORMAT: IF YOU WANT TO RUN THIS SCRIPT, YOU NEED TO HAVE A TXT FILE WITH THE FOLLOWING FORMAT:
MCM_NAME
DPM_NAME DPM_NAME
DEVICE_NAME1 DEVICE_IP1 DEVICE_NAME1 DEVICE_IP1
DEVICE_NAME2 DEVICE_IP2 DEVICE_NAME2 DEVICE_IP2
@ -16,14 +17,15 @@ import os
import shutil import shutil
# Get the directory where this script is located # Get the directory where this script is located
# input_file = r"C:\Users\your_username\Desktop\SCRIPTS\PLACE DPM DEVICES\device_mapping.txt"
script_dir = os.path.dirname(os.path.abspath(__file__)) script_dir = os.path.dirname(os.path.abspath(__file__))
input_file = os.path.join(script_dir, "device_mapping.txt") input_file = os.path.join(script_dir, "device_mapping.txt")
mcm_folder_name = "MCM" mcm_folder_name = "MCM"
def generate_config(num_vfds, num_fios, device_list, dpm_label): def generate_config(num_vfds, num_fios, device_list, dpm_label, mcm_name):
if num_vfds + num_fios > 24: if num_vfds + num_fios > 24:
raise ValueError("Error: Total number of VFDs and FIOs/SIOs cannot exceed 24 slots.") raise ValueError("Error: Total number of elements cannot exceed 24 slots.")
if len(device_list) != num_vfds + num_fios: if len(device_list) != num_vfds + num_fios:
raise ValueError(f"Error: Expected {num_vfds + num_fios} device names, but got {len(device_list)}.") raise ValueError(f"Error: Expected {num_vfds + num_fios} device names, but got {len(device_list)}.")
@ -51,7 +53,33 @@ def generate_config(num_vfds, num_fios, device_list, dpm_label):
] ]
total_devices = num_vfds + num_fios total_devices = num_vfds + num_fios
tag_props = [f"TAG{i}" for i in range(total_devices)] # Build tagProps per rules, using the provided MCM name and device types
# Index 0 must be the DPM tag; indices 1..N are device tags
dpm_tag = f"System/{mcm_name}/IO_BLOCK/DPM/{dpm_label}"
device_tags = []
for device_data in device_list:
name, _ip = device_data.split()
upper_name = name.upper()
if "VFD" in upper_name:
device_tags.append(f"System/{mcm_name}/Conveyor/VFD/{name}")
elif "TIPPER" in upper_name or "ST" in upper_name:
device_tags.append(f"System/{mcm_name}/Conveyor/Tipper/{name}")
elif "EX" in upper_name or "EXTENDO" in upper_name:
# For EXTENDO devices, ensure the tag name ends with EX1
tag_name = name.replace("_EXTENDO", "_EX1") if "_EXTENDO" in name else name
device_tags.append(f"System/{mcm_name}/Conveyor/EXTENDO/{tag_name}")
elif "ZMX" in upper_name:
device_tags.append(f"System/{mcm_name}/PE/ZMX/{name}")
elif "PMM" in upper_name:
device_tags.append(f"System/{mcm_name}/{name}")
elif "SIO" in upper_name:
device_tags.append(f"System/{mcm_name}/IO_BLOCK/SIO/{name}")
elif "PLC" in upper_name:
device_tags.append(f"System/{mcm_name}/Rack")
else:
# Default to FIO when not explicitly matched otherwise
device_tags.append(f"System/{mcm_name}/IO_BLOCK/FIO/{name}")
tag_props = [dpm_tag] + device_tags
con_lines_visible = [True] * total_devices + [False] * (24 - total_devices) con_lines_visible = [True] * total_devices + [False] * (24 - total_devices)
# Generate propConfig for con_lines bindings # Generate propConfig for con_lines bindings
@ -62,8 +90,9 @@ def generate_config(num_vfds, num_fios, device_list, dpm_label):
"config": { "config": {
"fallbackDelay": 2.5, "fallbackDelay": 2.5,
"mode": "indirect", "mode": "indirect",
"references": {"0": f"{{view.params.tagProps[{i}]}}", "fc": "{session.custom.fc}"}, # Device tags start at index 1 in view.params.tagProps
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarms/Communication_Faulted" "references": {"0": f"{{view.params.tagProps[{i+1}]}}", "fc": "{session.custom.fc}"},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{"expression": "coalesce({value},{view.params.forceFaultStatus},false)", "type": "expression"}, {"expression": "coalesce({value},{view.params.forceFaultStatus},false)", "type": "expression"},
@ -93,7 +122,8 @@ def generate_config(num_vfds, num_fios, device_list, dpm_label):
"position": {"x": 0, "y": 0, "height": 1, "width": 1}, "position": {"x": 0, "y": 0, "height": 1, "width": 1},
"propConfig": prop_config, "propConfig": prop_config,
"props": { "props": {
"params": {"con_lines": [False] * 24, "con_lines_visible": con_lines_visible, "in": False, "out": False}, # Include tagProps with index 0 set to the DPM tag
"params": {"con_lines": [False] * 24, "con_lines_visible": con_lines_visible, "in": False, "out": False, "tagProps": [dpm_tag] + ["value"] * 9},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB" "path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
}, },
"type": "ia.display.view" "type": "ia.display.view"
@ -102,21 +132,51 @@ def generate_config(num_vfds, num_fios, device_list, dpm_label):
# Process all devices # Process all devices
for i, device_data in enumerate(device_list): for i, device_data in enumerate(device_list):
name, ip = device_data.split() name, ip = device_data.split()
is_vfd = '_VFD' in name or '_EX' in name
component_name = name.replace("_VFD1", "").replace("_EX1", "") if is_vfd else name
# Adjust X position for FIO/SIO at positions 13-18 # Determine device type and component path
upper_name = name.upper()
is_vfd = "VFD" in upper_name
is_ex = "EX" in upper_name or "EXTENDO" in upper_name
is_zmx = "ZMX" in upper_name
is_pmm = "PMM" in upper_name
is_tipper = "TIPPER" in upper_name or "ST" in upper_name
is_plc = "PLC" in upper_name
# Set component name (remove common suffixes)
component_name = name.replace("_VFD1", "").replace("_EX1", "")
# Determine component path based on device type
if is_ex:
component_path = "EXTENDO"
elif is_vfd:
component_path = "APF"
elif is_zmx:
component_path = "ZMX"
elif is_pmm:
component_path = "PMM"
elif is_tipper:
component_path = "TIPPER"
elif is_plc:
component_path = "PLC"
else:
component_path = "FIO_SIO"
# Adjust X position for all non-VFD devices at positions 12-18 (1-based)
component_x = positions[i]["x"] component_x = positions[i]["x"]
label_x = label_positions[i]["x"] label_x = label_positions[i]["x"]
if not is_vfd and 12 <= i <= 17: if not is_vfd and 11 <= i <= 17:
component_x -= 0.012 component_x += 0.007
label_x -= 0.012 label_x += 0.007
# Add device component # Add device component with params.tagProps[0] set to this device's tag path
device_tag_props = [device_tags[i]] + ["value"] * 9
config["root"]["children"].append({ config["root"]["children"].append({
"meta": {"name": component_name}, "meta": {"name": component_name},
"position": {"height": 0.1667, "width": 0.125, "x": component_x, "y": positions[i]["y"]}, "position": {"height": 0.1667, "width": 0.125, "x": component_x, "y": positions[i]["y"]},
"props": {"path": f"Windows/Tabs/Enternet Windows/Components/{'APF' if is_vfd else 'FIO_SIO'}"}, "props": {
"params": {"tagProps": device_tag_props},
"path": f"Windows/Tabs/Enternet Windows/Components/{component_path}"
},
"type": "ia.display.view" "type": "ia.display.view"
}) })
@ -141,18 +201,28 @@ def generate_config(num_vfds, num_fios, device_list, dpm_label):
def parse_dpm_data(file_path): def parse_dpm_data(file_path):
dpms = {} dpms = {}
current_dpm = None current_dpm = None
mcm_name = None
with open(file_path, 'r') as f: with open(file_path, 'r') as f:
for line in f: for line in f:
line = line.strip() line = line.strip()
if not line: if not line:
continue continue
if not ('\t' in line and len(line.split('\t')) == 2) and not (' ' in line and len(line.split(' ')) == 2): # A device row must have exactly 2 tokens (name and ip) separated by space or tab
is_device_row = ('\t' in line and len(line.split('\t')) == 2) or (' ' in line and len(line.split(' ')) == 2)
if not is_device_row:
# Header row: either MCM name (first) or DPM name
if mcm_name is None and line.upper().startswith('MCM'):
mcm_name = line
continue
current_dpm = line current_dpm = line
dpms[current_dpm] = [] dpms[current_dpm] = []
elif current_dpm: else:
if current_dpm is None:
# If a device row appears before any DPM header, skip it safely
continue
parts = line.split('\t') if '\t' in line else line.split(' ') parts = line.split('\t') if '\t' in line else line.split(' ')
dpms[current_dpm].append((parts[0].strip(), parts[1].strip())) dpms[current_dpm].append((parts[0].strip(), parts[1].strip()))
return dpms return dpms, mcm_name
def copy_files_to_dpm_folder(dpm_folder): def copy_files_to_dpm_folder(dpm_folder):
script_dir = os.path.dirname(os.path.abspath(__file__)) script_dir = os.path.dirname(os.path.abspath(__file__))
@ -161,8 +231,11 @@ def copy_files_to_dpm_folder(dpm_folder):
if os.path.exists(source): if os.path.exists(source):
shutil.copy2(source, os.path.join(dpm_folder, file_name)) shutil.copy2(source, os.path.join(dpm_folder, file_name))
def create_dpm_folders(dpms, mcm_folder): def create_dpm_folders(dpms, mcm_folder, mcm_name_for_tags=None):
os.makedirs(mcm_folder, exist_ok=True) os.makedirs(mcm_folder, exist_ok=True)
# Derive MCM name for tag paths from argument or the folder name
if not mcm_name_for_tags:
mcm_name_for_tags = os.path.basename(os.path.normpath(mcm_folder))
for dpm_name, devices in dpms.items(): for dpm_name, devices in dpms.items():
print(f"Processing {dpm_name} with {len(devices)} devices...") print(f"Processing {dpm_name} with {len(devices)} devices...")
dpm_folder = os.path.join(mcm_folder, dpm_name) dpm_folder = os.path.join(mcm_folder, dpm_name)
@ -170,11 +243,11 @@ def create_dpm_folders(dpms, mcm_folder):
try: try:
# Count device types and create config # Count device types and create config
num_vfds = sum(1 for name, _ in devices if '_VFD' in name or '_EX' in name) num_vfds = sum(1 for name, _ in devices if '_VFD' in name)
num_fios = len(devices) - num_vfds num_fios = len(devices) - num_vfds
device_list = [f"{name} {ip}" for name, ip in devices] device_list = [f"{name} {ip}" for name, ip in devices]
config = generate_config(num_vfds, num_fios, device_list, dpm_name) config = generate_config(num_vfds, num_fios, device_list, dpm_name, mcm_name_for_tags)
# Save view.json and copy files # Save view.json and copy files
with open(os.path.join(dpm_folder, "view.json"), 'w') as f: with open(os.path.join(dpm_folder, "view.json"), 'w') as f:
@ -190,13 +263,15 @@ def main():
print(f"Error: File '{input_file}' not found.") print(f"Error: File '{input_file}' not found.")
return return
dpms = parse_dpm_data(input_file) dpms, parsed_mcm_name = parse_dpm_data(input_file)
if not dpms: if not dpms:
print("No DPM data found in the input file.") print("No DPM data found in the input file.")
return return
print(f"Found {len(dpms)} DPMs. Creating MCM folder '{mcm_folder_name}'...") # Use parsed MCM name if provided in the file; otherwise fall back to default folder name
create_dpm_folders(dpms, mcm_folder_name) target_mcm_folder = parsed_mcm_name if parsed_mcm_name else mcm_folder_name
print(f"Found {len(dpms)} DPMs. Creating MCM folder '{target_mcm_folder}'...")
create_dpm_folders(dpms, target_mcm_folder, parsed_mcm_name)
print("Completed successfully, check the MCM folder!") print("Completed successfully, check the MCM folder!")
except Exception as e: except Exception as e:

View File

@ -37,11 +37,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -49,11 +49,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -74,11 +74,11 @@
"10": "{view.params.tagProps[0]}", "10": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -86,11 +86,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -111,11 +111,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -123,11 +123,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -148,11 +148,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -160,11 +160,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -185,11 +185,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -197,11 +197,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -222,11 +222,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -234,11 +234,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -259,11 +259,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -271,11 +271,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -296,11 +296,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -308,11 +308,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -333,11 +333,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -345,11 +345,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -370,11 +370,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -382,11 +382,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -407,11 +407,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -419,11 +419,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -453,7 +453,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -505,7 +505,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -570,7 +570,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -635,7 +635,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -694,7 +694,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -753,7 +753,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -818,7 +818,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -882,7 +882,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -947,7 +947,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1149,7 +1149,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1220,7 +1220,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1285,7 +1285,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -39,11 +39,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -51,11 +51,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -76,11 +76,11 @@
"10": "{view.params.tagProps[10]}", "10": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -88,11 +88,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -113,11 +113,11 @@
"11": "{view.params.tagProps[11]}", "11": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -125,11 +125,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -150,11 +150,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -162,11 +162,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -187,11 +187,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -199,11 +199,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -224,11 +224,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -236,11 +236,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -261,11 +261,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -273,11 +273,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -298,11 +298,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -310,11 +310,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -335,11 +335,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -347,11 +347,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -372,11 +372,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -384,11 +384,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -409,11 +409,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -421,11 +421,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -446,11 +446,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -458,11 +458,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -492,7 +492,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -558,7 +558,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -623,7 +623,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -688,7 +688,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -747,7 +747,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -806,7 +806,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -871,7 +871,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -935,7 +935,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1000,7 +1000,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1058,7 +1058,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1117,7 +1117,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1176,7 +1176,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -41,11 +41,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -53,11 +53,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -78,11 +78,11 @@
"10": "{view.params.tagProps[10]}", "10": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -90,11 +90,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -115,11 +115,11 @@
"11": "{view.params.tagProps[11]}", "11": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -127,11 +127,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -152,11 +152,11 @@
"12": "{view.params.tagProps[12]}", "12": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -164,11 +164,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -189,11 +189,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -201,11 +201,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -226,11 +226,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -238,11 +238,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -263,11 +263,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -275,11 +275,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -300,11 +300,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -312,11 +312,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -337,11 +337,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -349,11 +349,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -374,11 +374,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -386,11 +386,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -411,11 +411,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -423,11 +423,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -448,11 +448,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -460,11 +460,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -485,11 +485,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -497,11 +497,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -531,7 +531,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -583,7 +583,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -649,7 +649,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -714,7 +714,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -779,7 +779,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -838,7 +838,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -897,7 +897,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -962,7 +962,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1026,7 +1026,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1091,7 +1091,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1156,7 +1156,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1221,7 +1221,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1280,7 +1280,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1562,7 +1562,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -43,11 +43,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -55,11 +55,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -80,11 +80,11 @@
"10": "{view.params.tagProps[10]}", "10": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -92,11 +92,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -117,11 +117,11 @@
"11": "{view.params.tagProps[11]}", "11": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -129,11 +129,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -154,11 +154,11 @@
"12": "{view.params.tagProps[12]}", "12": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -166,11 +166,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -191,11 +191,11 @@
"13": "{view.params.tagProps[13]}", "13": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{13}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{13}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -203,11 +203,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -228,11 +228,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -240,11 +240,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -265,11 +265,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -277,11 +277,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -302,11 +302,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -314,11 +314,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -339,11 +339,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -351,11 +351,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -376,11 +376,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -388,11 +388,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -413,11 +413,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -425,11 +425,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -450,11 +450,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -462,11 +462,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -487,11 +487,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -499,11 +499,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -524,11 +524,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -536,11 +536,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -570,7 +570,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -622,7 +622,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -681,7 +681,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -739,7 +739,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -797,7 +797,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -856,7 +856,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -915,7 +915,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -973,7 +973,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1037,7 +1037,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1102,7 +1102,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1167,7 +1167,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1225,7 +1225,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1291,7 +1291,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1357,7 +1357,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -45,11 +45,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -57,11 +57,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -82,11 +82,11 @@
"10": "{view.params.tagProps[10]}", "10": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -94,11 +94,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -119,11 +119,11 @@
"11": "{view.params.tagProps[11]}", "11": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -131,11 +131,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -156,11 +156,11 @@
"12": "{view.params.tagProps[12]}", "12": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -168,11 +168,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -193,11 +193,11 @@
"13": "{view.params.tagProps[13]}", "13": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{13}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{13}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -205,11 +205,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -230,11 +230,11 @@
"14": "{view.params.tagProps[14]}", "14": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{14}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{14}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -242,11 +242,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -267,11 +267,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -279,11 +279,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -304,11 +304,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -316,11 +316,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -341,11 +341,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -353,11 +353,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -378,11 +378,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -390,11 +390,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -415,11 +415,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -427,11 +427,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -452,11 +452,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -464,11 +464,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -489,11 +489,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -501,11 +501,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -526,11 +526,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -538,11 +538,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -563,11 +563,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -575,11 +575,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -609,7 +609,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -661,7 +661,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -720,7 +720,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -778,7 +778,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -836,7 +836,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -895,7 +895,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -954,7 +954,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1012,7 +1012,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1076,7 +1076,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1141,7 +1141,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1206,7 +1206,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1264,7 +1264,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1330,7 +1330,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1396,7 +1396,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1696,7 +1696,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1773,7 +1773,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -47,11 +47,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -59,11 +59,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -84,11 +84,11 @@
"10": "{view.params.tagProps[10]}", "10": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{10}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -96,11 +96,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -121,11 +121,11 @@
"11": "{view.params.tagProps[11]}", "11": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{11}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -133,11 +133,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -158,11 +158,11 @@
"12": "{view.params.tagProps[12]}", "12": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{12}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -170,11 +170,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -195,11 +195,11 @@
"13": "{view.params.tagProps[13]}", "13": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{13}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{13}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -207,11 +207,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -232,11 +232,11 @@
"14": "{view.params.tagProps[14]}", "14": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{14}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{14}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -244,11 +244,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -269,11 +269,11 @@
"15": "{view.params.tagProps[15]}", "15": "{view.params.tagProps[15]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{15}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{15}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -281,11 +281,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -306,11 +306,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -318,11 +318,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -343,11 +343,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -355,11 +355,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -380,11 +380,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -392,11 +392,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -417,11 +417,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -429,11 +429,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -454,11 +454,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -466,11 +466,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -491,11 +491,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -503,11 +503,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -528,11 +528,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -540,11 +540,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -565,11 +565,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -577,11 +577,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -602,11 +602,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -614,11 +614,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -648,7 +648,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -700,7 +700,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -766,7 +766,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -824,7 +824,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -882,7 +882,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -941,7 +941,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1000,7 +1000,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1058,7 +1058,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1122,7 +1122,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1187,7 +1187,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1252,7 +1252,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1310,7 +1310,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1376,7 +1376,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1442,7 +1442,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1742,7 +1742,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1819,7 +1819,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -21,11 +21,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -33,11 +33,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -58,11 +58,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -70,11 +70,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -95,11 +95,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -107,11 +107,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -141,7 +141,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -193,7 +193,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -258,7 +258,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -358,7 +358,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -23,11 +23,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -35,11 +35,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -60,11 +60,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -72,11 +72,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -97,11 +97,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -109,11 +109,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -134,11 +134,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -146,11 +146,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -180,7 +180,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -232,7 +232,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -297,7 +297,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -361,7 +361,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -25,11 +25,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -37,11 +37,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -62,11 +62,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -74,11 +74,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -99,11 +99,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -111,11 +111,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -136,11 +136,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -148,11 +148,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -173,11 +173,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -185,11 +185,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -219,7 +219,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -271,7 +271,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -329,7 +329,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -387,7 +387,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -451,7 +451,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -581,7 +581,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -27,11 +27,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -39,11 +39,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -64,11 +64,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -76,11 +76,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -101,11 +101,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -113,11 +113,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -138,11 +138,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -150,11 +150,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -175,11 +175,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -187,11 +187,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -212,11 +212,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -224,11 +224,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -258,7 +258,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -310,7 +310,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -375,7 +375,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -433,7 +433,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -497,7 +497,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -555,7 +555,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -29,11 +29,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -41,11 +41,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -66,11 +66,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -78,11 +78,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -103,11 +103,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -115,11 +115,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -140,11 +140,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -152,11 +152,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -177,11 +177,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -189,11 +189,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -214,11 +214,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -226,11 +226,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -251,11 +251,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -263,11 +263,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -297,7 +297,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -349,7 +349,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -407,7 +407,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -471,7 +471,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -536,7 +536,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -594,7 +594,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -653,7 +653,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -827,7 +827,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -31,11 +31,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -43,11 +43,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -68,11 +68,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -80,11 +80,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -105,11 +105,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -117,11 +117,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -142,11 +142,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -154,11 +154,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -179,11 +179,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -191,11 +191,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -216,11 +216,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -228,11 +228,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -253,11 +253,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -265,11 +265,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -290,11 +290,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -302,11 +302,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -336,7 +336,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -388,7 +388,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -453,7 +453,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -511,7 +511,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -575,7 +575,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -640,7 +640,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -705,7 +705,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -764,7 +764,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -33,11 +33,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -45,11 +45,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -70,11 +70,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -82,11 +82,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -107,11 +107,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -119,11 +119,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -144,11 +144,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -156,11 +156,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -181,11 +181,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -193,11 +193,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -218,11 +218,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -230,11 +230,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -255,11 +255,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -267,11 +267,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -292,11 +292,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -304,11 +304,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -329,11 +329,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -341,11 +341,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -375,7 +375,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -427,7 +427,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -492,7 +492,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -557,7 +557,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -616,7 +616,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -675,7 +675,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -740,7 +740,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -804,7 +804,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -869,7 +869,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1071,7 +1071,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1118,7 +1118,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1165,7 +1165,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -35,11 +35,11 @@
"1": "{view.params.tagProps[1]}", "1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -47,11 +47,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -72,11 +72,11 @@
"2": "{view.params.tagProps[2]}", "2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -84,11 +84,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -109,11 +109,11 @@
"3": "{view.params.tagProps[3]}", "3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -121,11 +121,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -146,11 +146,11 @@
"4": "{view.params.tagProps[4]}", "4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -158,11 +158,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -183,11 +183,11 @@
"5": "{view.params.tagProps[5]}", "5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -195,11 +195,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -220,11 +220,11 @@
"6": "{view.params.tagProps[6]}", "6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -232,11 +232,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -257,11 +257,11 @@
"7": "{view.params.tagProps[7]}", "7": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{7}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -269,11 +269,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -294,11 +294,11 @@
"8": "{view.params.tagProps[8]}", "8": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{8}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -306,11 +306,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -331,11 +331,11 @@
"9": "{view.params.tagProps[9]}", "9": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{9}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -343,11 +343,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -368,11 +368,11 @@
"0": "{view.params.tagProps[0]}", "0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}" "fc": "{session.custom.fc}"
}, },
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
}, },
"transforms": [ "transforms": [
{ {
"expression": "coalesce({value},{view.params.forceFaultStatus},1)", "expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression" "type": "expression"
}, },
{ {
@ -380,11 +380,11 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": 0, "input": false,
"output": true "output": true
}, },
{ {
"input": 1, "input": true,
"output": false "output": false
} }
], ],
@ -414,7 +414,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -466,7 +466,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -531,7 +531,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -596,7 +596,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -655,7 +655,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -714,7 +714,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -779,7 +779,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -843,7 +843,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -908,7 +908,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1110,7 +1110,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1181,7 +1181,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"
@ -1228,7 +1228,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" "script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
}, },
"scope": "G", "scope": "G",
"type": "script" "type": "script"

View File

@ -17,7 +17,13 @@ import os
import shutil import shutil
import json import json
# Get the directory where this script is located # Get the directory where this script is located
# input_file = fr"C:\Users\your_username\Desktop\SCRIPTS\PLACE DPMS\dpm_mapping.txt"
# examples_dir = fr"C:\Users\your_username\Desktop\SCRIPTS\PLACE DPMS\EXAMPLES"
# rt_folder =fr"{examples_dir}\RT"
script_dir = os.path.dirname(os.path.abspath(__file__)) script_dir = os.path.dirname(os.path.abspath(__file__))
input_file = os.path.join(script_dir, "dpm_mapping.txt") input_file = os.path.join(script_dir, "dpm_mapping.txt")
@ -63,25 +69,35 @@ def create_mcm_folders(mcms, output_dir="."):
with open(template_file, 'r') as f: with open(template_file, 'r') as f:
view_data = json.load(f) view_data = json.load(f)
# Build tagProps per rules:
# - Index 0: System/{mcm}/{mcm}
# - Index 1..N: System/{mcm}/IO_BLOCK/DPM/{dpm_name} following the provided list order
tag_props = [f"System/{mcm_name}/Rack"]
tag_props.extend([f"System/{mcm_name}/IO_BLOCK/DPM/{dpm_name}" for dpm_name, _ in dpms])
if 'params' not in view_data:
view_data['params'] = {}
view_data['params']['tagProps'] = tag_props
# Update DPM names in view data # Update DPM names in view data
if 'root' in view_data and 'children' in view_data['root']: if 'root' in view_data and 'children' in view_data['root']:
dpm_index = 0 dpm_index = 0
label_index = 0
for child in view_data['root']['children']: for child in view_data['root']['children']:
if child.get('type') == 'ia.display.view' and dpm_index < len(dpms): if child.get('type') == 'ia.display.view' and dpm_index < len(dpms):
dpm_name, _ = dpms[dpm_index] dpm_name, _ = dpms[dpm_index]
if 'params' in child.get('props', {}) and 'view' in child['props']['params']: if 'params' in child.get('props', {}) and 'view' in child['props']['params']:
view_path = child['props']['params']['view'] view_path = child['props']['params']['view']
path_parts = view_path.split('/') path_parts = view_path.split('/')
if path_parts: if len(path_parts) >= 2:
path_parts[-1] = dpm_name path_parts[-2] = mcm_name # Replace MCM name
path_parts[-1] = dpm_name # Replace DPM name
child['props']['params']['view'] = '/'.join(path_parts) child['props']['params']['view'] = '/'.join(path_parts)
child['meta']['name'] = dpm_name child['meta']['name'] = dpm_name
dpm_index += 1 dpm_index += 1
elif child.get('type') == 'ia.display.label': elif child.get('type') == 'ia.display.label' and label_index < len(dpms):
label_index = dpm_index - 1 dpm_name, dpm_ip = dpms[label_index]
if 0 <= label_index < len(dpms): child['props']['text'] = f"{dpm_name} {dpm_ip}"
dpm_name, dpm_ip = dpms[label_index] label_index += 1
child['props']['text'] = f"{dpm_name} {dpm_ip}"
# Write view.json # Write view.json
with open(os.path.join(mcm_folder, "view.json"), 'w') as f: with open(os.path.join(mcm_folder, "view.json"), 'w') as f:

View File

@ -1,3 +1,7 @@
# RESET IGNITION
# This script is used to reset the ignition
# Reset is ran every 1 minute in headless mode
import time import time
import schedule import schedule
from selenium import webdriver from selenium import webdriver

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,675 +0,0 @@
{
"name": "MCM03",
"tagType": "Folder",
"tags": [
{
"name": "MCM03",
"typeId": "MCM",
"tagType": "UdtInstance",
"tags": []
},
{
"name": "IO_BLOCK",
"tagType": "Folder",
"tags": [
{
"name": "FIO",
"tagType": "Folder",
"tags": [
{
"folder": "IO_BLOCK/FIO",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_8_FIO1"
},
{
"folder": "IO_BLOCK/FIO",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "PDP5_FIO1"
},
{
"folder": "IO_BLOCK/FIO",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_3_FIO1"
},
{
"folder": "IO_BLOCK/FIO",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_2_FIO1"
},
{
"folder": "IO_BLOCK/FIO",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_1_FIO1"
}
]
},
{
"name": "SIO",
"tagType": "Folder",
"tags": []
},
{
"name": "DPM",
"tagType": "Folder",
"tags": [
{
"folder": "IO_BLOCK/DPM",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_1_DPM1"
},
{
"folder": "IO_BLOCK/DPM",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_2_DPM1"
},
{
"folder": "IO_BLOCK/DPM",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_3_DPM1"
},
{
"folder": "IO_BLOCK/DPM",
"typeId": "IO_BLOCK",
"tagType": "UdtInstance",
"name": "NCP1_5_DPM1"
}
]
},
{
"name": "HUB",
"tagType": "Folder",
"tags": []
}
]
},
{
"name": "Station",
"tagType": "Folder",
"tags": [
{
"name": "JR",
"tagType": "Folder",
"tags": [
{
"folder": "Station/JR",
"typeId": "Station/JR",
"tagType": "UdtInstance",
"name": "NCP1_3_JR3"
},
{
"folder": "Station/JR",
"typeId": "Station/JR",
"tagType": "UdtInstance",
"name": "NCP1_3_JR2"
},
{
"folder": "Station/JR",
"typeId": "Station/JR",
"tagType": "UdtInstance",
"name": "NCP1_3_JR1"
},
{
"folder": "Station/JR",
"typeId": "Station/JR",
"tagType": "UdtInstance",
"name": "NCP1_2_JR1"
},
{
"folder": "Station/JR",
"typeId": "Station/JR",
"tagType": "UdtInstance",
"name": "NCP1_1_JR1"
}
]
},
{
"name": "Chute_JR",
"tagType": "Folder",
"tags": []
},
{
"name": "SS_PB",
"tagType": "Folder",
"tags": []
},
{
"name": "EPC",
"tagType": "Folder",
"tags": [
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_1_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_2_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_2_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_8_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_8_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL1_14_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL1_14_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL4_14_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL4_14_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL7_14_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL7_14_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL11_14_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL11_14_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL13_13_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL13_13_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL18_17_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL18_17_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL21_18_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "UL21_18_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_3_EPC2"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_3_EPC1"
},
{
"folder": "Station/EPC",
"typeId": "Station/EPC",
"tagType": "UdtInstance",
"name": "NCP1_1_EPC1"
}
]
}
]
},
{
"name": "Chute",
"tagType": "Folder",
"tags": [
{
"name": "Chute",
"tagType": "Folder",
"tags": []
},
{
"name": "PalletBuild",
"tagType": "Folder",
"tags": []
},
{
"name": "D2C",
"tagType": "Folder",
"tags": []
},
{
"name": "FL_CHUTE",
"tagType": "Folder",
"tags": []
}
]
},
{
"name": "Conveyor",
"tagType": "Folder",
"tags": [
{
"name": "VFD",
"tagType": "Folder",
"tags": [
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_1_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_2_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_3_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_4_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_5_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_6_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_7_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "NCP1_8_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_20_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_17_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_16_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_15_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL1_14_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_20_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_17_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_16_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_15_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL4_14_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_20_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_17_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_16_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_15_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL7_14_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_20_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_17_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_16_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_15_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL11_14_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_17_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_16_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_15_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_14_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL13_13_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_22_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_23_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_21_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_20_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL18_17_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_23_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_24_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_22_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_21_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_20_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_19_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "UL21_18_VFD1"
},
{
"folder": "Conveyor/VFD",
"typeId": "Conveyor/VFD",
"tagType": "UdtInstance",
"name": "MCM03_VFD1"
}
]
},
{
"name": "APF",
"tagType": "Folder",
"tags": []
}
]
}
]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,107 +2,163 @@ import json
import os import os
import re import re
# Helper to check rules and determine folder and tagProps def clean_device_name(name):
"""Remove _Line and _END suffixes from device name for tag path"""
# Remove _Line, _Line_1, _Line_2, etc.
name = re.sub(r'_Line(_\d+)?$', '', name)
# Remove _END
name = re.sub(r'_END$', '', name)
return name
def clean_line_end(name): # Use the same classification logic as generate-tags.py with modifications for PR/GS/EX
# Remove _Line, _Line_{number}, or _END from the end def classify_device(name):
return re.sub(r'(_Line(_\d+)?|_END)$', '', name) skip_keywords = ["Image", "Button", "Camera", "image", "ERSC", "DIV"]
def is_ioblock(name): # Handle EX (EXTENDO) devices first
return any(kw in name for kw in ["DPM", "FIO", "SIO", "HUB"]) if "EX" in name:
return {"folder": "Conveyor/EXTENDO", "typeId": "Conveyor/EXTENDO", "tagType": "UdtInstance", "name": name}
def is_station(name): # Always IO_BLOCK if ends with FIO{num}, SIO{num}, DPM{num}
# _Line or _Line_{number} if any(re.search(rf'{kw}\d+$', name) for kw in ["FIO", "SIO", "DPM"]):
if re.search(r'_Line(_?\d+)?$', name): for kw in ["FIO", "SIO", "DPM"]:
return True if re.search(rf'{kw}\d+$', name):
# EPC{number} at end return {"folder": f"IO_BLOCK/{kw}", "typeId": "IO_BLOCK", "tagType": "UdtInstance", "name": name}
if re.search(r'EPC\d+$', name):
return True # Handle PR and GS suffixes - remove them for tag path but keep original name for classification
# _END original_name = name
if name.endswith('_END'): if "_PR1" in name:
return True name = name.replace("_PR1", "")
# SS{number} at end elif "_GS1" in name:
if re.search(r'SS\d+$', name): name = name.replace("_GS1", "")
return True
# _S{number} at end if any(kw in name for kw in skip_keywords):
if re.search(r'_S\d+$', name): return None
return True
# PR{number}, GS{number}, DIV{number} anywhere # EPC goes to Station/EPC
if re.search(r'PR\d+', name): if "EPC" in name or "Line" in name or "END" in name:
return True return {"folder": "Station/EPC", "typeId": "Station/EPC", "tagType": "UdtInstance", "name": name}
if re.search(r'GS\d+', name):
return True # SS1 and SS2 go to Station/SS_PB
if re.search(r'DIV\d+', name): if "SS1" in name or "SS2" in name:
return True return {"folder": "Station/SS_PB", "typeId": "Station/SS_PB", "tagType": "UdtInstance", "name": name}
# JR1, JR2, JR3, JR4 at end
if re.search(r'JR[1-4]$', name): # _S1 and _S2 go to Station/S_PB
return True if "_S1" in name or "_S2" in name:
return False return {"folder": "Station/S_PB", "typeId": "Station/S_PB", "tagType": "UdtInstance", "name": name}
# S01...JR is Station/Chute_JR
if name.startswith("S01") and "JR" in name:
return {"folder": "Station/Chute_JR", "typeId": "Station/Chute_JR", "tagType": "UdtInstance", "name": name}
# JR always goes to Station/JR
if "JR" in name:
return {"folder": "Station/JR", "typeId": "Station/JR", "tagType": "UdtInstance", "name": name}
# IO_BLOCK (priority over CH)
if any(kw in name for kw in ["DPM", "FIO", "SIO", "HUB"]):
for kw in ["DPM", "FIO", "SIO", "HUB"]:
if kw in name:
return {"folder": f"IO_BLOCK/{kw}", "typeId": "IO_BLOCK", "tagType": "UdtInstance", "name": name}
# New rules for Chute (only if not PR or JR)
if "FL" in name and "CH" in name:
return {"folder": "Chute/FL_CHUTE", "typeId": "Chute/FL_CHUTE", "tagType": "UdtInstance", "name": name}
if "CH" in name:
return {"folder": "Chute/Chute", "typeId": "Chute/Chute", "tagType": "UdtInstance", "name": name}
if name.startswith("S01") and name[-1].isdigit():
if int(name[-1]) % 2 == 0:
return {"folder": "Chute/PalletBuild", "typeId": "Chute/PalletBuild", "tagType": "UdtInstance", "name": name}
else:
return {"folder": "Chute/D2C", "typeId": "Chute/D2C", "tagType": "UdtInstance", "name": name}
# Conveyor rules - everything else is VFD
return {"folder": "Conveyor/VFD", "typeId": "Conveyor/VFD", "tagType": "UdtInstance", "name": name + "_VFD1"}
def main(): def main():
print("Enter path to view.json:") # Path to the Detailed-Views directory
view_path = input(" >>> ").strip() base_path = r"C:\Program Files\Inductive Automation\Ignition\data\projects\SAT9_SCADA\com.inductiveautomation.perspective\views\Detailed-Views"
# Get parent folder name and use first 5 characters as MCM if not os.path.exists(base_path):
parent_folder = os.path.basename(os.path.dirname(view_path)) print(f"Error: Path not found: {base_path}")
mcm = parent_folder[:5] return
with open(view_path, encoding="utf-8") as f: # Find all MCM folders
view = json.load(f) mcm_folders = []
for item in os.listdir(base_path):
item_path = os.path.join(base_path, item)
if os.path.isdir(item_path) and item.startswith("MCM"):
mcm_folders.append(item)
children = view.get("root", {}).get("children", []) if not mcm_folders:
for child in children: print("No MCM folders found in the specified directory.")
meta = child.get("meta", {}) return
name = meta.get("name")
if not name: print(f"Found {len(mcm_folders)} MCM folders: {', '.join(mcm_folders)}")
# Process each MCM folder
for mcm_folder in sorted(mcm_folders):
mcm_path = os.path.join(base_path, mcm_folder)
view_json_path = os.path.join(mcm_path, "view.json")
if not os.path.exists(view_json_path):
print(f"Warning: view.json not found in {mcm_folder}")
continue continue
# Skip if name contains Button or Camera
if "Button" in name or "Camera" in name:
continue
props = child.setdefault("props", {})
params = props.setdefault("params", {})
tagProps = params.setdefault("tagProps", [])
# If name ends with _Line, _Line_{number}, or _END, clean it and assign to Station
if re.search(r'(_Line(_\d+)?|_END)$', name):
cleaned = clean_line_end(name)
folder = "Station"
tag_path = f"System/{mcm}/{folder}/{cleaned}"
elif is_ioblock(name):
folder = "IO_BLOCK"
tag_path = f"System/{mcm}/{folder}/{name}"
elif "ERSC" in name:
folder = "Conveyor"
tag_path = f"System/{mcm}/{folder}/{name}"
elif name.startswith("S01") and (re.search(r'GS\d+$', name) or re.search(r'PR\d+$', name)):
folder = "Station"
tag_path = f"System/{mcm}/{folder}/{name}"
elif "CH" in name:
if is_station(name):
folder = "Station"
tag_path = f"System/{mcm}/{folder}/{name}"
else:
folder = "Chute"
tag_path = f"System/{mcm}/{folder}/{name}"
elif name.startswith("S01"):
folder = "Chute"
tag_path = f"System/{mcm}/{folder}/{name}"
elif is_station(name):
folder = "Station"
tag_path = f"System/{mcm}/{folder}/{name}"
else:
folder = "Conveyor"
tag_path = f"System/{mcm}/{folder}/{name}_VFD1"
# Set tagProps at first place
if tagProps:
tagProps[0] = tag_path
else:
tagProps.append(tag_path)
# Save as view.json (overwrite) # Extract just the MCM number (e.g., "MCM01" from "MCM01 Fluid Inbound Merges 1-4")
out_path = os.path.join(os.path.dirname(view_path), "view.json") mcm_number = mcm_folder.split()[0] # Take the first part before any space
with open(out_path, "w", encoding="utf-8") as f:
json.dump(view, f, indent=2) print(f"Processing {mcm_folder} (using {mcm_number})...")
print(f"Updated view saved to {out_path}")
try:
with open(view_json_path, encoding="utf-8") as f:
view = json.load(f)
children = view.get("root", {}).get("children", [])
processed_count = 0
for child in children:
meta = child.get("meta", {})
name = meta.get("name")
if not name:
continue
# Use the same classification logic as generate-tags.py
classified = classify_device(name)
if not classified:
continue # Skip devices that don't match any classification
props = child.setdefault("props", {})
params = props.setdefault("params", {})
tagProps = params.setdefault("tagProps", [])
# Build tag path using the same folder structure as generate-tags.py
folder_path = classified["folder"]
device_name = classified["name"]
# Clean the device name for tag path (remove _Line and _END suffixes)
clean_name = clean_device_name(device_name)
tag_path = f"System/{mcm_number}/{folder_path}/{clean_name}"
# Set tagProps at first place
if tagProps:
tagProps[0] = tag_path
else:
tagProps.append(tag_path)
processed_count += 1
# Save as view.json (overwrite)
with open(view_json_path, "w", encoding="utf-8") as f:
json.dump(view, f, indent=2)
print(f" ✓ Updated {mcm_folder}: {processed_count} devices processed")
except Exception as e:
print(f" ✗ Error processing {mcm_folder}: {str(e)}")
print("All MCM folders processed successfully!")
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View File

@ -8,7 +8,7 @@ import os
import re import re
import copy import copy
default_view_path = r"c:\Program Files\Inductive Automation\Ignition\data\projects\MTN6_SCADA\com.inductiveautomation.perspective\views\Detailed-Views" default_view_path = r"c:\Program Files\Inductive Automation\Ignition\data\projects\SAT9_SCADA\com.inductiveautomation.perspective\views\Detailed-Views"
def merge_tags(t1, t2): def merge_tags(t1, t2):
""" """
@ -40,7 +40,7 @@ def merge_tags(t1, t2):
# Filtering and classification rules # Filtering and classification rules
def classify_device(name): def classify_device(name):
skip_keywords = ["Line", "Image", "Button", "Camera", "END", "_S1", "_S2", "image", "PR", "GS", "ERSC", "DIV"] skip_keywords = ["Line", "Image", "Button", "Camera", "END", "image", "PR", "GS", "ERSC", "DIV"]
# Always IO_BLOCK if ends with FIO{num}, SIO{num}, DPM{num} # Always IO_BLOCK if ends with FIO{num}, SIO{num}, DPM{num}
if any(re.search(rf'{kw}\d+$', name) for kw in ["FIO", "SIO", "DPM"]): if any(re.search(rf'{kw}\d+$', name) for kw in ["FIO", "SIO", "DPM"]):
for kw in ["FIO", "SIO", "DPM"]: for kw in ["FIO", "SIO", "DPM"]:
@ -57,6 +57,9 @@ def classify_device(name):
# SS1 and SS2 go to Station/SS_PB # SS1 and SS2 go to Station/SS_PB
if "SS1" in name or "SS2" in name: if "SS1" in name or "SS2" in name:
return {"folder": "Station/SS_PB", "typeId": "Station/SS_PB", "tagType": "UdtInstance", "name": name} return {"folder": "Station/SS_PB", "typeId": "Station/SS_PB", "tagType": "UdtInstance", "name": name}
# _S1 and _S2 go to Station/S_PB
if "_S1" in name or "_S2" in name:
return {"folder": "Station/S_PB", "typeId": "Station/S_PB", "tagType": "UdtInstance", "name": name}
# S01...JR is Station/Chute_JR # S01...JR is Station/Chute_JR
if name.startswith("S01") and "JR" in name: if name.startswith("S01") and "JR" in name:
return {"folder": "Station/Chute_JR", "typeId": "Station/Chute_JR", "tagType": "UdtInstance", "name": name} return {"folder": "Station/Chute_JR", "typeId": "Station/Chute_JR", "tagType": "UdtInstance", "name": name}
@ -132,6 +135,7 @@ def main():
"JR": [], "JR": [],
"Chute_JR": [], "Chute_JR": [],
"SS_PB": [], "SS_PB": [],
"S_PB": [],
"EPC": [] "EPC": []
}, },
"Chute": { "Chute": {
@ -216,6 +220,11 @@ def main():
"tagType": "Folder", "tagType": "Folder",
"tags": folders["Station"]["SS_PB"] "tags": folders["Station"]["SS_PB"]
}, },
{
"name": "S_PB",
"tagType": "Folder",
"tags": folders["Station"]["S_PB"]
},
{ {
"name": "EPC", "name": "EPC",
"tagType": "Folder", "tagType": "Folder",