예제 #1
0
 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], []))
예제 #2
0
 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())
         ]))
예제 #3
0
 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], [])
예제 #4
0
 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], [])
예제 #5
0
 def set_recipe_number(self, number):
     number_input = Input(number, Parameter.Recipe.NumberOf())
     return self._protocol.execute(Command(19, [number_input], []))
예제 #6
0
 def set_control_mode(self, control_mode):
     control_input = Input(control_mode, Parameter.ControlMode())
     return self._protocol.execute(Command(14, [control_input], []))
예제 #7
0
 def set_time_limit(self, time_limit):
     time_input = Input(time_limit, Parameter.OnTimeLimit())
     return self._protocol.execute(Command(10, [time_input], []))
예제 #8
0
 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],
                 []))
예제 #9
0
 def set_user_port_scaling(self, voltage_scaling):
     voltage_input = Input(voltage_scaling, Parameter.VoltageScaling())
     return self._protocol.execute(Command(30, [voltage_input], []))
예제 #10
0
 def set_forward_power_limit(self, power_limit):
     power_input = Input(power_limit, Parameter.ForwardPower())
     return self._protocol.execute(Command(4, [power_input], []))
예제 #11
0
 def set_regulation_mode(self, mode):
     mode_input = Input(mode, Parameter.Regulation())
     return self._protocol.execute(Command(3, [mode_input], []))
예제 #12
0
 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())]))
예제 #13
0
 def set_pulsing_duty_cycle(self, duty_cycle):
     cycle_input = Input(duty_cycle, Parameter.PulsingDutyCycle())
     return self._protocol.execute(Command(96, [cycle_input], []))
예제 #14
0
 def set_pulsing_frequency(self, frequency):
     frequency_input = Input(frequency, Parameter.PulsingFrequency())
     return self._protocol.execute(Command(93, [frequency_input], []))
예제 #15
0
 def restore(self, preset_number):
     preset_input = Input(preset_number, Parameter.Preset())
     return self._protocol.execute(Command(25, [preset_input], []))
예제 #16
0
 def set_remote_control(self, control_mode):
     control_input = Input(control_mode, Parameter.ControlOverride())
     return self._protocol.execute(Command(29, [control_input], []))
예제 #17
0
 def set_reflected_power_limit(self, power_limit):
     power_input = Input(power_limit, Parameter.ReflectedPower())
     return self._protocol.execute(Command(5, [power_input], []))
예제 #18
0
 def set_ramping_rise_time(self, time):
     time_input = Input(time, Parameter.RampTime())
     return self._protocol.execute(Command(31, [time_input], []))
예제 #19
0
 def set_setpoint(self, power_or_voltage):
     power_input = Input(power_or_voltage, Parameter.Setpoint())
     return self._protocol.execute(Command(8, [power_input], []))