Beispiel #1
0
def eetext(s):
    return col('{autored}%s{/autored}' % s)
Beispiel #2
0
def oktext(s):
    return col('{autoblue}%s{/autoblue}' % s)
Beispiel #3
0
def wwtext(s):
    return col('{autoyellow}%s{/autoyellow}' % s)
Beispiel #4
0
from optparse import OptionParser

#global variables
global gvalarm
global ccgalarm
global gvlist
global ccglist
global igvlist
global iccglist
global flowlist
global iflowlist
global flowalarm
global pending_update
global tobj
tobj = tempdev.EPSTemperature()
ok_str = col('{autoblue}OK{/autoblue}')
ee_str = col('{autored}EE{/autored}')
ww_str = col('{autoyellow}WW{/autoyellow}')


def oktext(s):
    return col('{autoblue}%s{/autoblue}' % s)


def wwtext(s):
    return col('{autoyellow}%s{/autoyellow}' % s)


def eetext(s):
    return col('{autored}%s{/autored}' % s)