Merge pull request 'MTN6-244' (#124) from beka-branch into main
Reviewed-on: #124
This commit is contained in:
commit
d288346069
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"scope": "G",
|
||||||
|
"version": 1,
|
||||||
|
"restricted": false,
|
||||||
|
"overridable": true,
|
||||||
|
"files": [
|
||||||
|
"view.json",
|
||||||
|
"thumbnail.png"
|
||||||
|
],
|
||||||
|
"attributes": {
|
||||||
|
"lastModification": {
|
||||||
|
"actor": "admin",
|
||||||
|
"timestamp": "2025-06-12T13:48:51Z"
|
||||||
|
},
|
||||||
|
"lastModificationSignature": "23c3f4cb026862ccb37102727dc2295231da49571d74535a75f068bdc3966348"
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"custom": {
|
"custom": {
|
||||||
|
"alarm_message": null,
|
||||||
"disconnected": true,
|
"disconnected": true,
|
||||||
"plc": "value",
|
"plc": "value",
|
||||||
"priority": 0,
|
"priority": 0,
|
||||||
"priority_string": "No Active Alarms",
|
"priority_string": "Medium",
|
||||||
"searchId": "value",
|
"searchId": "PLC01",
|
||||||
"state": 0,
|
"state": 0,
|
||||||
"state_string": "Disabled"
|
"state_string": "Disabled"
|
||||||
},
|
},
|
||||||
@ -113,11 +114,11 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 0,
|
"input": 0,
|
||||||
"output": "No Active Alarms"
|
"output": "Medium"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "High"
|
"output": "No Active Alarms"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": 2,
|
"input": 2,
|
||||||
@ -173,7 +174,7 @@
|
|||||||
"custom.state_string": {
|
"custom.state_string": {
|
||||||
"binding": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
"expression": "case({view.custom.state},\r\n0, \"Disabled\",\r\n1, \"Enabled\",\r\n2, \"Half Full\",\r\n3, \"Full\",\r\n4, \"Jam\",\r\n\"Unknown\")"
|
"expression": "case({view.custom.state},\r\n0, \"Disabled\",\r\n1, \"Enabled\",\r\n2, \"Half Full\",\r\n3, \"Full\",\r\n4, \"Jammed\",\r\n\"Unknown\")"
|
||||||
},
|
},
|
||||||
"type": "expr"
|
"type": "expr"
|
||||||
},
|
},
|
||||||
@ -290,7 +291,7 @@
|
|||||||
"dom": {
|
"dom": {
|
||||||
"onClick": {
|
"onClick": {
|
||||||
"config": {
|
"config": {
|
||||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
"script": "\tsystem.perspective.openDock(\u0027Docked-East-SNP\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||||
},
|
},
|
||||||
"scope": "G",
|
"scope": "G",
|
||||||
"type": "script"
|
"type": "script"
|
||||||
@ -333,7 +334,7 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "Alarms-Styles/High"
|
"output": "Alarms-Styles/NoAlarm"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": 2,
|
"input": 2,
|
||||||
@ -346,6 +347,10 @@
|
|||||||
{
|
{
|
||||||
"input": 4,
|
"input": 4,
|
||||||
"output": "Alarms-Styles/High"
|
"output": "Alarms-Styles/High"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "Alarms-Styles/Medium"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "style-list",
|
"outputType": "style-list",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user