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

View File

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

View File

@ -10,8 +10,8 @@
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "admin", "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": { "attributes": {
"lastModification": { "lastModification": {
"actor": "admin", "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": [ "mappings": [
{ {
"input": 0, "input": 0,
"output": "CLOSED" "output": "Closed"
}, },
{ {
"input": 50, "input": 50,
@ -232,7 +232,7 @@
"dom": { "dom": {
"onClick": { "onClick": {
"config": { "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", "scope": "G",
"type": "script" "type": "script"

View File

@ -4,13 +4,14 @@
"restricted": false, "restricted": false,
"overridable": true, "overridable": true,
"files": [ "files": [
"view.json" "view.json",
"thumbnail.png"
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "admin", "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": { "props": {
"defaultSize": { "defaultSize": {
"height": 1080, "height": 1080,
"width": 1920 "width": 1850
} }
}, },
"root": { "root": {
@ -6565,6 +6565,7 @@
"type": "group" "type": "group"
} }
], ],
"preserveAspectRatio": "none",
"viewBox": "0 0 507.99999 285.75" "viewBox": "0 0 507.99999 285.75"
}, },
"type": "ia.shapes.svg" "type": "ia.shapes.svg"
@ -6589,16 +6590,16 @@
} }
}, },
"position": { "position": {
"height": 0.0333, "height": 0.0593,
"width": 0.0646, "width": 0.137,
"x": 0.0616, "x": 0.0616,
"y": 0.6633 "y": 0.6373
}, },
"props": { "props": {
"primary": false, "primary": false,
"text": "MCM01 - FLUID INBOUND", "text": "MCM01 - FLUID INBOUND",
"textStyle": { "textStyle": {
"fontSize": "1vmin" "fontSize": "1.5vmin"
} }
}, },
"type": "ia.input.button" "type": "ia.input.button"
@ -6623,16 +6624,16 @@
} }
}, },
"position": { "position": {
"height": 0.0333, "height": 0.062,
"width": 0.0646, "width": 0.1536,
"x": 0.5479, "x": 0.513,
"y": 0.6722 "y": 0.6435
}, },
"props": { "props": {
"primary": false, "primary": false,
"text": "MCM02 - NC SORTER", "text": "MCM02 - NON CON SORTER",
"textStyle": { "textStyle": {
"fontSize": "1vmin" "fontSize": "1.5vmin"
} }
}, },
"type": "ia.input.button" "type": "ia.input.button"
@ -6786,7 +6787,7 @@
"mode": "percent", "mode": "percent",
"style": { "style": {
"margin": "auto", "margin": "auto",
"overflow": "auto" "overflow": "visible"
} }
}, },
"type": "ia.container.coord" "type": "ia.container.coord"

View File

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

View File

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