def input_voltage(self, text): value = static.input_to_float(text) if type(value) == float: self.capacitor_v = value print("v=" + str(self.capacitor_v)) else: self.capacitor_v = var.capacitor_v
def input_thickness_layer(self, text): value = static.input_to_float(text) if type(value) == float: self.capacitor_d0 = value print("d0=" + str(self.capacitor_d0)) else: self.capacitor_d0 = var.capacitor_d0
def current_carrying_capacity(self, text): value = static.input_to_float(text) if type(value) == float: self.resistor_j = value print("j=" + str(self.resistor_j)) else: self.resistor_j = var.resistor_j
def input_capacity(self, text): value = static.input_to_float(text) if type(value) == float: self.capacitor_c = value print("C=" + str(self.capacitor_c)) else: self.capacitor_c = var.capacitor_c
def resistance_corection(self, text): value = static.input_to_float(text) if type(value) == float: self.resistor_korekta = value print("korekta=" + str(self.resistor_korekta)) else: self.resistor_korekta = var.resistor_korekta
def safety_factor_power(self, text): value = static.input_to_float(text) if type(value) == float: self.resistor_k_p = value print("k_p=" + str(self.resistor_k_p)) else: self.resistor_k_p = var.resistor_k_p
def input_power_max(self, text): value = static.input_to_float(text) if type(value) == float: self.resistor_p_max = value print("Pmax=" + str(self.resistor_p_max)) else: self.resistor_p_max = var.resistor_p_max
def input_current_max(self, text): value = static.input_to_float(text) if type(value) == float: self.resistor_i_max = value print("Imax=" + str(self.resistor_i_max)) else: self.resistor_i_max = var.resistor_i_max
def input_final_resistance(self, text): value = static.input_to_float(text) if type(value) == float: self.resistor_r = value print("R=" + str(self.resistor_r)) else: self.resistor_r = var.resistor_r
def input_new_paste_r(self, text): value = static.input_to_float(text) if type(value) == float: self.new_paste_r = value var.new_paste_r = value print("new_paste_r=" + str(self.new_paste_r)) else: self.new_paste_r = var.new_paste_r
def input_new_paste_przenikalnosc(self, text): value = static.input_to_float(text) if type(value) == float: self.new_paste_przenikalnosc = value var.new_paste_przenikalnosc = value print("new_paste_przenikalnosc=" + str(self.new_paste_przenikalnosc)) else: self.new_paste_przenikalnosc = var.new_paste_przenikalnosc