Esempio n. 1
0
class Actuators():

    def __init__(self, client_address, client_port):
        self.actuators_modbus = ActuatorsModbus(client_address, client_port)

    def set_valve_position(self,opening_level):
        return self.actuators_modbus.set_ex9024(opening_level)

    def get_valve_position(self):
        return self.actuators_modbus.get_ex9024()       
Esempio n. 2
0
 def __init__(self, client_address, client_port):
     self.actuators_modbus = ActuatorsModbus(client_address, client_port)