def get_target_voltage(self): return self._query(SimpleMessage(self._target_voltage)).get_data()
def set_target_power(self, power): if power < 0 or power > 1000: raise ValueError("power must be in range [0, 1000] Watt") self._write(SimpleMessage(self._target_power, power))
def set_target_voltage(self, voltage): if voltage < 0 or voltage > 1000: raise ValueError("voltage must be in range [0, 1000] voltage") self._write(SimpleMessage(self._target_voltage, voltage))
def reset(self): self._write(SimpleMessage(self._reset))
def get_target_power(self): return self._query(SimpleMessage(self._target_power)).get_data()
def get_limit(self): return self._query(SimpleMessage(self._limit)).get_data()
def get_actual_power_backward(self): return self._query(SimpleMessage( self._actual_power_backward)).get_data()
def get_actual_voltage(self): return self._query(SimpleMessage(self._actual_voltage)).get_data()
def get_actual_power(self): return self._query(SimpleMessage(self._actual_power)).get_data()
def get_operating_status(self): return self._query(SimpleMessage(self._operatingstatus)).get_data()