web_object module

class web_object.WebObject(name, obj_type='b', start_status=0, styleDictionary={}, htmlDictionary={}, cmdDictionary={}, note=' ', hardware_pin=[9999], HwNodeSerialNumber=0, spareDict={})[source]

Bases: object

HwNodeSerialNumber
InitFunction()[source]
addToGroup(username)[source]
attachScenario(scenario)[source]
baz
changeCommand(status, cmd)[source]
changeCommand0(f0)[source]
changeCommand1(f1)[source]
checkPermissions(user, action, priority)[source]
checkRequiredPriority(agent_priority)[source]
cmdDict
getAttachedPinList()[source]
Return a list containing the object pins used in the hardware and if the webobject is a is a digital_obj
or an analog_obj or ...obj it will return the address of this object in the node,
example: 0 means first object in the node, 1 means second object in the node ...

getCommand0()[source]
getCommand1()[source]
getGroup()[source]
getHtml()[source]
getHtml0()[source]
getHtml1()[source]
getHtmlDict()[source]
getHwNodeSerialNumber()[source]
getInitCommand()[source]
getListAttachedScenarios()[source]
getMailReport()[source]
getName()[source]
getNotes()[source]
getObjActivity()[source]
getObjectDictionary()[source]
getOtherHtml()[source]
getOtherStyle()[source]
getOwner()[source]
getPermissions()[source]
getPreviousStatus()[source]
getPreviousStatusForScenario()[source]
getRequiredPriority()[source]
getStartStatus()[source]
getStatus()[source]
getStatusForScenario()[source]
getStyle()[source]
getStyle0()[source]
getStyle1()[source]
getType()[source]
hardware_pin
htmlDict
name
note
object_type
removeAttachedScenario(scenario)[source]
removeFromGroup(username)[source]
replaceAttachedScenario(previous_scenario_name, new_scenario_name)[source]
setAttachedPin(pin)[source]
setCommand0(command0)[source]
setCommand1(command1)[source]
setHtml0(html0)[source]
setHtml1(html1)[source]
setHtmlDict(htmlDict)[source]
setHtmlDictValue(key, value)[source]
setHtmlWait(html_w)[source]
setHwNodeSerialNumber(HwNodeSerialNumber)[source]
setInitCommand(init_command)[source]
setMailReport(mail_to_add_to_list)[source]
setName(new_name)[source]
setNotes(note)[source]
setObjActivity(value)[source]
setOwner(owner)[source]
setPermissions(perm)[source]
setRequiredPriority(priority)[source]
setStatus(status)[source]
setStyle0(style)[source]
setStyle1(style1)[source]
setType(current_type)[source]
spareDict
start_status
styleDict
validateStatusToSetObj(status)[source]