Commit 2cdaacc8 authored by Lee McCuller's avatar Lee McCuller
Browse files

added db entry for the hostname and views in main/compact screens

parent 4ed2b4ff
guardian.egg-info
\ No newline at end of file
......@@ -5,6 +5,7 @@ from ezca import __version__ as ezca__version__
from . import version
from ._version import __version__
from . import const
import socket
DAEMON_STATUS = ('ENTER', 'MAIN', 'RUN', 'DONE', 'JUMP', 'REDIRECT', 'EDGE', 'INIT')
WORKER_STATUS = ('INIT', 'COMMAND', 'CONTINUE', 'DONE', 'JUMP', 'CERROR', 'ERROR')
......@@ -206,6 +207,10 @@ guarddb = {
'type': 'str',
'value': __version__,
},
'HOSTNAME': {
'type': 'str',
'value': socket.gethostname(),
},
# ezca version
'EZCA': {
'type': 'int',
......
file {
name="GRD_COMPACT.adl"
version=030107
name="/home/mcculler/projects/guardian/lib/guardian/medm/screens/GRD_COMPACT.adl"
version=030109
}
display {
object {
......@@ -191,7 +192,7 @@ rectangle {
}
text {
object {
x=184
x=106
y=2
width=80
height=12
......@@ -207,7 +208,7 @@ text {
}
text {
object {
x=266
x=188
y=2
width=80
height=12
......@@ -248,7 +249,6 @@ text {
clr=14
bclr=28
}
align="horiz. left"
limits {
}
}
......@@ -265,7 +265,7 @@ text {
"dynamic attribute" {
chan="BLAH"
}
textix="archive id:"
textix="archive"
align="horiz. right"
}
"text update" {
......@@ -1227,3 +1227,50 @@ composite {
}
}
}
"text update" {
object {
x=283
y=2
width=110
height=13
}
monitor {
chan="$(IFO):GRD-$(SYSTEM)_HOSTNAME"
clr=14
bclr=28
}
limits {
}
}
text {
object {
x=235
y=3
width=48
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="host:"
align="horiz. right"
}
text {
object {
x=410
y=8
width=30
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="id:"
align="horiz. right"
}
file {
name="GRD_MAIN.adl"
version=030107
name="/home/mcculler/projects/guardian/lib/guardian/medm/screens/GRD_MAIN.adl"
version=030109
}
display {
object {
......@@ -189,101 +190,6 @@ rectangle {
chan="BLAH"
}
}
text {
object {
x=184
y=2
width=80
height=12
}
"basic attribute" {
clr=4
}
"dynamic attribute" {
chan="BLAH"
}
textix="GUARDIAN:"
align="horiz. right"
}
text {
object {
x=266
y=2
width=80
height=12
}
"basic attribute" {
clr=0
}
"dynamic attribute" {
chan="BLAH"
}
textix="$(SYSTEM)"
}
text {
object {
x=10
y=1
width=48
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="version:"
align="horiz. right"
}
"text update" {
object {
x=58
y=2
width=65
height=13
}
monitor {
chan="$(IFO):GRD-$(SYSTEM)_VERSION_S"
clr=14
bclr=28
}
align="horiz. left"
limits {
}
}
text {
object {
x=410
y=1
width=30
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="archive id:"
align="horiz. right"
}
"text update" {
object {
x=441
y=2
width=65
height=13
}
monitor {
chan="$(IFO):GRD-$(SYSTEM)_ARCHIVE_ID"
clr=14
bclr=28
}
align="horiz. centered"
limits {
}
}
polyline {
object {
x=0
......@@ -1974,3 +1880,144 @@ composite {
}
}
}
text {
object {
x=106
y=2
width=80
height=12
}
"basic attribute" {
clr=4
}
"dynamic attribute" {
chan="BLAH"
}
textix="GUARDIAN:"
align="horiz. right"
}
text {
object {
x=188
y=2
width=80
height=12
}
"basic attribute" {
clr=0
}
"dynamic attribute" {
chan="BLAH"
}
textix="$(SYSTEM)"
}
text {
object {
x=10
y=1
width=48
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="version:"
align="horiz. right"
}
"text update" {
object {
x=58
y=2
width=65
height=13
}
monitor {
chan="$(IFO):GRD-$(SYSTEM)_VERSION_S"
clr=14
bclr=28
}
limits {
}
}
text {
object {
x=410
y=1
width=30
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="archive"
align="horiz. right"
}
"text update" {
object {
x=441
y=2
width=65
height=13
}
monitor {
chan="$(IFO):GRD-$(SYSTEM)_ARCHIVE_ID"
clr=14
bclr=28
}
align="horiz. centered"
limits {
}
}
"text update" {
object {
x=283
y=2
width=110
height=13
}
monitor {
chan="$(IFO):GRD-$(SYSTEM)_HOSTNAME"
clr=14
bclr=28
}
limits {
}
}
text {
object {
x=235
y=3
width=48
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="host:"
align="horiz. right"
}
text {
object {
x=410
y=8
width=30
height=10
}
"basic attribute" {
clr=14
}
"dynamic attribute" {
chan="BLAH"
}
textix="id:"
align="horiz. right"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment