removed print statemnts and fixes in the overview and vfd

This commit is contained in:
Salijoghli 2025-10-03 13:48:34 +04:00
parent c8fdca44c3
commit c9f8b6b125
12 changed files with 73 additions and 66 deletions

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-10-02T12:31:04Z"
"timestamp": "2025-10-03T09:45:22Z"
},
"lastModificationSignature": "317589570c65563b4a902b51f8a5c7661f84554c4c7519c89e7f6d1244c2d59a"
"lastModificationSignature": "7fe17e529022dcd9e09d6550db673ce198cb45ee1a3dcbcaf2b5aeac52ccade9"
}
}

View File

@ -16,7 +16,7 @@
"props": {
"defaultSize": {
"height": 1080,
"width": 1920
"width": 1850
}
},
"root": {
@ -145,19 +145,23 @@
}
},
"meta": {
"name": "Button_0"
"name": "Button_0",
"tooltip": {
"enabled": true,
"text": "Navigate to MCM02"
}
},
"position": {
"height": 0.0333,
"width": 0.0646,
"x": 0.8781,
"y": 0.7509
"height": 0.0509,
"width": 0.0932,
"x": 0.8234,
"y": 0.7333
},
"props": {
"primary": false,
"text": "MCM02 - NC SORTER",
"text": "MCM02 - NON CON SORTER",
"textStyle": {
"fontSize": "value"
"fontSize": "1.5vmin"
}
},
"type": "ia.input.button"
@ -238,9 +242,9 @@
"rotate": {
"angle": "90deg"
},
"width": 0.1078,
"x": 0.7633,
"y": 0.4196
"width": 0.113,
"x": 0.7606,
"y": 0.4184
},
"props": {
"params": {
@ -308,9 +312,9 @@
"rotate": {
"angle": "90deg"
},
"width": 0.0177,
"x": 0.8086,
"y": 0.5319
"width": 0.0195,
"x": 0.8073,
"y": 0.534
},
"props": {
"params": {
@ -448,8 +452,8 @@
"angle": "90deg"
},
"width": 0.099,
"x": 0.1003,
"y": 0.5207
"x": 0.1004,
"y": 0.5172
},
"props": {
"params": {
@ -516,7 +520,7 @@
"height": 0.0269,
"width": 0.0688,
"x": 0.0012,
"y": 0.4619
"y": 0.4583
},
"props": {
"params": {
@ -657,7 +661,7 @@
"height": 0.0741,
"width": 0.0318,
"x": 0.8093,
"y": 0.5582
"y": 0.5591
},
"props": {
"params": {
@ -890,8 +894,8 @@
"position": {
"height": 0.0185,
"width": 0.0182,
"x": 0.0323,
"y": 0.5433
"x": 0.0263,
"y": 0.5361
},
"props": {
"params": {
@ -923,8 +927,8 @@
"position": {
"height": 0.0185,
"width": 0.0182,
"x": 0.1401,
"y": 0.6414
"x": 0.1406,
"y": 0.6198
},
"props": {
"params": {
@ -1055,7 +1059,7 @@
"position": {
"height": 0.0185,
"width": 0.0104,
"x": 0.0536,
"x": 0.0481,
"y": 0.5102
},
"props": {
@ -1187,8 +1191,8 @@
"position": {
"height": 0.0185,
"width": 0.0104,
"x": 0.1266,
"y": 0.6056
"x": 0.1281,
"y": 0.5966
},
"props": {
"params": {
@ -1221,7 +1225,7 @@
"height": 0.0185,
"width": 0.0104,
"x": 0.1609,
"y": 0.6065
"y": 0.5975
},
"props": {
"params": {
@ -1806,7 +1810,7 @@
},
"width": 0.0286,
"x": 0.8054,
"y": 0.5203
"y": 0.5212
},
"props": {
"params": {
@ -1841,7 +1845,7 @@
"angle": "90deg"
},
"width": 0.0286,
"x": 0.8278,
"x": 0.8273,
"y": 0.6018
},
"props": {
@ -4993,7 +4997,7 @@
},
"width": 0.0286,
"x": 0.8057,
"y": 0.5509
"y": 0.5518
},
"props": {
"params": {

View File

@ -9,8 +9,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-10-01T15:57:54Z"
"timestamp": "2025-10-03T09:36:21Z"
},
"lastModificationSignature": "6d5f2d712312f23effb7497f3b23e44d06c574093ca1104877bc4b14a1c81fb3"
"lastModificationSignature": "055868f49a69b4189e7eaedc05a9ee10925403517569daf6d9333d5fd5802c9d"
}
}

View File

@ -16,7 +16,7 @@
"props": {
"defaultSize": {
"height": 1080,
"width": 1920
"width": 1850
}
},
"root": {
@ -10192,9 +10192,7 @@
"position": {
"height": 1,
"rotate": {},
"width": 1,
"x": -0.0042,
"y": 0.0093
"width": 1
},
"propConfig": {
"custom.isVerticalRotation": {
@ -10276,19 +10274,23 @@
}
},
"meta": {
"name": "Button"
"name": "Button",
"tooltip": {
"enabled": true,
"text": "Navigate to MCM01"
}
},
"position": {
"height": 0.0333,
"width": 0.0646,
"height": 0.0528,
"width": 0.087,
"x": 0.0177,
"y": 0.6167
"y": 0.5972
},
"props": {
"primary": false,
"text": "MCM01 - FLUID INBOUND",
"textStyle": {
"fontSize": "1vmin"
"fontSize": "1.5vmin"
}
},
"type": "ia.input.button"

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-10-03T09:15:02Z"
"timestamp": "2025-10-03T09:25:46Z"
},
"lastModificationSignature": "d6820e62016ca69dd9b1e61e2c5360cf91c111ea26eb3dd84f3254eafc815be3"
"lastModificationSignature": "eb43d754f240ac3de7c606852e496eb5506868c5987a68c0af307f4532595ca5"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-26T13:14:19Z"
"timestamp": "2025-10-03T09:46:51Z"
},
"lastModificationSignature": "b453efe1b997ec05e042543a08bddd4660092afb59b5dcf45d08a5badb1d8769"
"lastModificationSignature": "dfe5a9863725c52d1919ab8ce232cdcca6e82a8867aea15a516170d6b481666e"
}
}

View File

@ -104,7 +104,7 @@
"mappings": [
{
"input": 0,
"output": "CLOSED"
"output": "Closed"
},
{
"input": 50,
@ -232,7 +232,7 @@
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-VFD\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps, \"tags\":tags_table_dataset})\n\n\tsystem.perspective.print(tags_table_dataset)\n\t\n\tdata \u003d []\n\tfor r in range(tags_table_dataset.getRowCount()):\n\t row \u003d {}\n\t for c in range(tags_table_dataset.getColumnCount()):\n\t row[tags_table_dataset.getColumnName(c)] \u003d tags_table_dataset.getValueAt(r, c)\n\t data.append(row)\n\t\n\tprint(data)"
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-VFD\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"

View File

@ -4,13 +4,14 @@
"restricted": false,
"overridable": true,
"files": [
"view.json"
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-10-03T09:13:52Z"
"timestamp": "2025-10-03T09:34:53Z"
},
"lastModificationSignature": "8e9e422ea91181ce72663a77be2889e5514aea0d7fddf774c7058bac42e6ed2e"
"lastModificationSignature": "40aa2fffad1bb8f31ea135149a9899907361e301b4adbb241e44f5e00b546085"
}
}

View File

@ -4,7 +4,7 @@
"props": {
"defaultSize": {
"height": 1080,
"width": 1920
"width": 1850
}
},
"root": {
@ -6565,6 +6565,7 @@
"type": "group"
}
],
"preserveAspectRatio": "none",
"viewBox": "0 0 507.99999 285.75"
},
"type": "ia.shapes.svg"
@ -6589,16 +6590,16 @@
}
},
"position": {
"height": 0.0333,
"width": 0.0646,
"height": 0.0593,
"width": 0.137,
"x": 0.0616,
"y": 0.6633
"y": 0.6373
},
"props": {
"primary": false,
"text": "MCM01 - FLUID INBOUND",
"textStyle": {
"fontSize": "1vmin"
"fontSize": "1.5vmin"
}
},
"type": "ia.input.button"
@ -6623,16 +6624,16 @@
}
},
"position": {
"height": 0.0333,
"width": 0.0646,
"x": 0.5479,
"y": 0.6722
"height": 0.062,
"width": 0.1536,
"x": 0.513,
"y": 0.6435
},
"props": {
"primary": false,
"text": "MCM02 - NC SORTER",
"text": "MCM02 - NON CON SORTER",
"textStyle": {
"fontSize": "1vmin"
"fontSize": "1.5vmin"
}
},
"type": "ia.input.button"
@ -6786,7 +6787,7 @@
"mode": "percent",
"style": {
"margin": "auto",
"overflow": "auto"
"overflow": "visible"
}
},
"type": "ia.container.coord"

View File

@ -8,7 +8,6 @@ def deviceType(self, path, props):
if "Conveyor" in path:
docked_view += "Conv"
system.perspective.print(path)
autStand.devices.build_device_mapping(prop)
devices = autStand.devices.build_device_table(self)

View File

@ -9,9 +9,9 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-10-02T14:24:19Z"
"timestamp": "2025-10-03T09:43:58Z"
},
"hintScope": 2,
"lastModificationSignature": "bcb8d8e7a9940f99c75876afd34a4fe807da4f611bfddc4e62d13f0acf9f8dff"
"lastModificationSignature": "41b0e78e6e7ad59299d01afeae51a8408293d2709e15b48f72e3d25b7735a893"
}
}