This commit is contained in:
beka makharadze 2025-07-16 12:47:45 +04:00
parent 6edf75483a
commit fcb24c6040
2 changed files with 18 additions and 11 deletions

View File

@ -42,7 +42,7 @@
"params": {
"forceFaultStatus": null,
"tagProps": [
"/System/Station/EPC/UL1_3_EPC1",
"System/MCM01/Station/EPC/UL1_3_EPC1",
"value",
"value",
"value",
@ -75,7 +75,7 @@
"params": {
"forceFaultStatus": null,
"tagProps": [
"/System/Station/EPC/UL1_3_EPC2",
"System/MCM01/Station/EPC/UL1_3_EPC2",
"value",
"value",
"value",
@ -108,7 +108,7 @@
"params": {
"forceFaultStatus": null,
"tagProps": [
"/System/Station/EPC/UL1_3_EPC2",
"System/MCM01/Station/EPC/UL1_3_EPC2",
"value",
"value",
"value",
@ -141,7 +141,7 @@
"params": {
"forceFaultStatus": null,
"tagProps": [
"/System/Station/EPC/UL1_3_EPC1",
"System/MCM01/Station/EPC/UL1_3_EPC1",
"value",
"value",
"value",
@ -174,7 +174,7 @@
"params": {
"forceFaultStatus": null,
"tagProps": [
"/System/Station/EPC/UL1_3_EPC1",
"System/MCM01/Station/EPC/UL1_3_EPC1",
"value",
"value",
"value",
@ -207,7 +207,7 @@
"params": {
"forceFaultStatus": null,
"tagProps": [
"/System/Station/EPC/UL1_3_EPC2",
"System/MCM01/Station/EPC/UL1_3_EPC2",
"value",
"value",
"value",
@ -239,7 +239,7 @@
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"/System/Conveyor/UL1_3_VFD1",
"System/Conveyor/UL1_3_VFD1",
"value",
"value",
"value",

View File

@ -7,7 +7,7 @@
},
"params": {
"tagProps": [
"/System/Station/Buttons/UL1_3_JR_PB2",
"System/MCM01/Station/EPC/UL1_3_EPC1",
"value",
"value",
"value",
@ -457,11 +457,11 @@
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/PR_PB_Pressed"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
"expression": "if(\r\n indexOf({view.params.tagProps[0]}, \"EPC\") \u003e\u003d 0,\r\n coalesce(\r\n if({value} \u003d 0, 1, {value}),\r\n {view.params.forceFaultStatus},\r\n \"UNKNOWN\"\r\n ),\r\n coalesce({value}, {view.params.forceFaultStatus}, \"UNKNOWN\")\r\n)\r\n",
"type": "expression"
},
{
@ -475,6 +475,14 @@
{
"input": 0,
"output": "OFF"
},
{
"input": 2,
"output": "ON"
},
{
"input": 3,
"output": "ON"
}
],
"outputType": "scalar",
@ -569,7 +577,6 @@
"grow": 1
},
"props": {
"currentTabIndex": 1,
"menuType": "modern",
"tabSize": {
"width": 1000