예제 #1
0
    def __init__(self, powerswitchNode):
        """\brief Initializes the class
            \param powerswitchNode (\c PowerswitchNode) A PowerswitchNode object containing information to instantiate the class with
        """
        Powerswitch.__init__(self, powerswitchNode)

        #self.__theURL = "http://"+str(self.getUsername())+":"+str(self.getPassword())+"@"+str(self.getIPAddress())+"/Set.cmd?CMD="
        self.__theURL = "http://" + str(self.getIPAddress())
예제 #2
0
파일: aviosys.py 프로젝트: benroeder/HEN
    def __init__(self, powerswitchNode):
        """\brief Initializes the class
            \param powerswitchNode (\c PowerswitchNode) A PowerswitchNode object containing information to instantiate the class with
        """
        Powerswitch.__init__(self, powerswitchNode)
        
	
        #self.__theURL = "http://"+str(self.getUsername())+":"+str(self.getPassword())+"@"+str(self.getIPAddress())+"/Set.cmd?CMD="
	self.__theURL = "http://"+str(self.getIPAddress())
예제 #3
0
파일: blackbox.py 프로젝트: sohonet/HEN
    def __init__(self, powerswitchNode):
        """\brief Initializes the class
        \param powerswitchNode (\c PowerswitchNode) A PowerswitchNode object containing information to instantiate the class with
        """
        Powerswitch.__init__(self, powerswitchNode)

        self.__theURL = "http://" + str(self.getIPAddress()) + "/"
        self.__postURL = "http://" + str(self.getIPAddress()) + "/rack.html"
        # Slave id of 1 is the master device.
        self.slaveID = 1
예제 #4
0
파일: blackbox.py 프로젝트: benroeder/HEN
    def __init__(self, powerswitchNode):
        """\brief Initializes the class
        \param powerswitchNode (\c PowerswitchNode) A PowerswitchNode object containing information to instantiate the class with
        """
        Powerswitch.__init__(self, powerswitchNode)

	self.__theURL = "http://" + str(self.getIPAddress()) + "/"
	self.__postURL = "http://" + str(self.getIPAddress()) + "/rack.html"
        # Slave id of 1 is the master device.
        self.slaveID = 1
예제 #5
0
파일: apc.py 프로젝트: benroeder/HEN
 def __init__(self, powerswitchNode):
     """\brief Initializes the class
     \param powerswitchNode (\c PowerswitchNode) A PowerswitchNode object containing information to instantiate the class with
     """
     Powerswitch.__init__(self, powerswitchNode)