def set_reflected_power_parameters(self, turn_off_time, power_limit_trigger): time_input = Input(turn_off_time, Parameter.ReflectedPowerParameter.TimeLimit()) power_input = Input(power_limit_trigger, Parameter.ReflectedPowerParameter.PowerTrigger()) return self._protocol.execute( Command(33, [time_input, power_input], []))
def get_recipe_setpoint_and_time(self, recipe_number): number_input = Input(recipe_number, Parameter.Recipe.Number()) return self._protocol.execute( Command(188, [number_input], [ Output(Parameter.Recipe.Setpoint()), Output(Parameter.Recipe.RunTime()) ]))
def set_recipe_run_time(self, recipe_number, time): number_input = Input(recipe_number, Parameter.Recipe.Number()) time_input = Input(time, Parameter.Recipe.RunTime()) return self._protocol.execute(23, [number_input, time_input], [])
def set_recipe_power(self, recipe_number, power): number_input = Input(recipe_number, Parameter.Recipe.Number()) power_input = Input(power, Parameter.Recipe.Setpoint()) return self._protocol.execute(22, [number_input, power_input], [])
def set_recipe_number(self, number): number_input = Input(number, Parameter.Recipe.NumberOf()) return self._protocol.execute(Command(19, [number_input], []))
def set_control_mode(self, control_mode): control_input = Input(control_mode, Parameter.ControlMode()) return self._protocol.execute(Command(14, [control_input], []))
def set_time_limit(self, time_limit): time_input = Input(time_limit, Parameter.OnTimeLimit()) return self._protocol.execute(Command(10, [time_input], []))
def set_serial_baud_rate(self, baudrate): baudrate_input = Input(baudrate, Parameter.BaudRate()) return self._protocol.execute( Command(69, [Input(0, Parameter.IgnoredByte()), baudrate_input], []))
def set_user_port_scaling(self, voltage_scaling): voltage_input = Input(voltage_scaling, Parameter.VoltageScaling()) return self._protocol.execute(Command(30, [voltage_input], []))
def set_forward_power_limit(self, power_limit): power_input = Input(power_limit, Parameter.ForwardPower()) return self._protocol.execute(Command(4, [power_input], []))
def set_regulation_mode(self, mode): mode_input = Input(mode, Parameter.Regulation()) return self._protocol.execute(Command(3, [mode_input], []))
def get_recipe_ramp_time(self, recipe_number): number_input = Input(recipe_number, Parameter.Recipe.Number()) return self._protocol.execute( Command(191, [number_input], [Output(Parameter.Recipe.RampTime())]))
def set_pulsing_duty_cycle(self, duty_cycle): cycle_input = Input(duty_cycle, Parameter.PulsingDutyCycle()) return self._protocol.execute(Command(96, [cycle_input], []))
def set_pulsing_frequency(self, frequency): frequency_input = Input(frequency, Parameter.PulsingFrequency()) return self._protocol.execute(Command(93, [frequency_input], []))
def restore(self, preset_number): preset_input = Input(preset_number, Parameter.Preset()) return self._protocol.execute(Command(25, [preset_input], []))
def set_remote_control(self, control_mode): control_input = Input(control_mode, Parameter.ControlOverride()) return self._protocol.execute(Command(29, [control_input], []))
def set_reflected_power_limit(self, power_limit): power_input = Input(power_limit, Parameter.ReflectedPower()) return self._protocol.execute(Command(5, [power_input], []))
def set_ramping_rise_time(self, time): time_input = Input(time, Parameter.RampTime()) return self._protocol.execute(Command(31, [time_input], []))
def set_setpoint(self, power_or_voltage): power_input = Input(power_or_voltage, Parameter.Setpoint()) return self._protocol.execute(Command(8, [power_input], []))