Exemple #1
0
def eetext(s):
    return col('{autored}%s{/autored}' % s)
Exemple #2
0
def oktext(s):
    return col('{autoblue}%s{/autoblue}' % s)
Exemple #3
0
def wwtext(s):
    return col('{autoyellow}%s{/autoyellow}' % s)
Exemple #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)