def __init__(self, controller, **kwargs): """ Initialize an instance of the Switch assessment result view. :param controller: the hardware data controller instance. :type controller: :class:`ramstk.hardware.Controller.HardwareBoMDataController` """ AssessmentResults.__init__(self, controller, **kwargs) # Initialize private dictionary attributes. # Initialize private list attributes. self._lst_labels.append(u"\u03C0<sub>CYC</sub>:") self._lst_labels.append(u"\u03C0<sub>L</sub>:") self._lst_labels.append(u"\u03C0<sub>C</sub>:") self._lst_labels.append(u"\u03C0<sub>N</sub>:") self._lst_labels.append(u"\u03C0<sub>U</sub>:") # Initialize private scalar attributes. self._lblModel.set_tooltip_markup( _(u"The assessment model used to calculate the switch failure " u"rate.")) # Initialize public dictionary attributes. # Initialize public list attributes. # Initialize public scalar attributes. self.txtPiCYC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The cycling factor for the switch.")) self.txtPiL = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The load stress factor for the switch.")) self.txtPiC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The contact form and quantity factor for the switch.")) self.txtPiN = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The number of active contacts factor for the switch.")) self.txtPiU = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The use factor for the breaker.")) self._make_page() self.show_all() pub.subscribe(self._do_load_page, 'calculatedHardware')
def __init__(self, controller, **kwargs): """ Initialize an instance of the Capacitor assessment result view. :param controller: the Hardware data controller instance. :type controller: :class:`ramstk.hardware.Controller.HardwareBoMDataController` """ AssessmentResults.__init__(self, controller, **kwargs) # Initialize private dictionary attributes. # Initialize private list attributes. self._lst_labels.append(u"\u03C0<sub>CV</sub>:") self._lst_labels.append(u"\u03C0<sub>CF</sub>:") self._lst_labels.append(u"\u03C0<sub>C</sub>:") # Initialize private scalar attributes. self._lblModel.set_tooltip_markup( _(u"The assessment model used to calculate the capacitor failure " u"rate.")) # Initialize public dictionary attributes. # Initialize public list attributes. # Initialize public scalar attributes. self.txtPiCV = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The capacitance factor for the capacitor.")) self.txtPiCF = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The configuration factor for the capacitor.")) self.txtPiC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The construction factor for the capacitor.")) self._make_page() self.show_all() pub.subscribe(self._do_load_page, 'calculatedHardware')
def __init__(self, controller, **kwargs): """ Initialize an instance of the Inductor assessment result view. :param controller: the hardware data controller instance. :type controller: :class:`ramstk.hardware.Controller.HardwareBoMDataController` :param int hardware_id: the hardware ID of the currently selected inductor. :param int subcategory_id: the ID of the inductor subcategory. """ AssessmentResults.__init__(self, controller, **kwargs) # Initialize private dictionary attributes. # Initialize private list attributes. self._lst_labels.append(u"\u03C0<sub>C</sub>:") # Initialize private scalar attributes. self._lblModel.set_tooltip_markup( _(u"The assessment model used to calculate the inductive device's " u"failure rate.")) # Initialize public dictionary attributes. # Initialize public list attributes. # Initialize public scalar attributes. self.txtPiC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The construction factor for the coil.")) self._make_page() self.show_all() pub.subscribe(self._do_load_page, 'calculatedHardware')
def __init__(self, controller, **kwargs): """ Initialize an instance of the Integrated Circuit assessment result view. :param controller: the hardware data controller instance. :type controller: :class:`ramstk.hardware.IntegratedCircuitBoMDataController` """ AssessmentResults.__init__(self, controller, **kwargs) # Initialize private dictionary attributes. # Initialize private list attributes. self._lst_labels.append(u"C1:") self._lst_labels.append(u"\u03C0<sub>T</sub>:") self._lst_labels.append(u"C2:") self._lst_labels.append(u"\u03C0<sub>L</sub>:") self._lst_labels.append(u"\u03BB<sub>CYC</sub>:") self._lst_labels.append(u"\u03BB<sub>BD</sub>") self._lst_labels.append(u"\u03C0<sub>MFG</sub>") self._lst_labels.append(u"\u03C0<sub>CD</sub>") self._lst_labels.append(u"\u03BB<sub>BP</sub>") self._lst_labels.append(u"\u03C0<sub>PT</sub>") self._lst_labels.append(u"\u03BB<sub>EOS</sub>") self._lst_labels.append(u"\u03C0<sub>A</sub>") # Initialize private scalar attributes. self._lblModel.set_tooltip_markup( _(u"The assessment model used to calculate the integrated circuit " u"failure rate.")) # Initialize public dictionary attributes. # Initialize public list attributes. # Initialize public scalar attributes. self.txtC1 = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The die complexity hazard rate of the integrated " u"circuit.")) self.txtPiT = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The temperature factor for the integrated circuit.")) self.txtC2 = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The package hazard rate for the integrated circuit.")) self.txtPiC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The construction factor for the integrated circuit.")) self.txtPiL = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The learning factor for the integrated circuit.")) self.txtLambdaCYC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The read/write cycling induced hazard rate for the " u"EEPROM.")) self.txtLambdaBD = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The die base hazard rate for the VLSI device.")) self.txtPiMFG = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The manufacturing process correction factor for the " u"VLSI device.")) self.txtPiCD = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The die complexity correction factor for the VLSI " u"device.")) self.txtLambdaBP = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The package base hazard rate for the VLSI device.")) self.txtPiPT = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The package type correction factor for the VLSI " u"device.")) self.txtLambdaEOS = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The electrical overstress hazard rate for the VLSI " u"device.")) self.txtPiA = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The application correction factor for the GaAs " u"device.")) self._make_page() self.show_all() pub.subscribe(self._do_load_page, 'calculatedHardware')
def __init__(self, controller, **kwargs): """ Initialize an instance of the Semiconductor assessment result view. :param controller: the hardware data controller instance. :type controller: :class:`ramstk.hardware.Controller.HardwareBoMDataController` """ AssessmentResults.__init__(self, controller, **kwargs) # Initialize private dictionary attributes. # Initialize private list attributes. self._lst_labels.append(u"\u03C0<sub>T</sub>:") self._lst_labels.append(u"\u03C0<sub>A</sub>:") self._lst_labels.append(u"\u03C0<sub>C</sub>:") self._lst_labels.append(u"\u03C0<sub>R</sub>:") self._lst_labels.append(u"\u03C0<sub>M</sub>:") self._lst_labels.append(u"\u03C0<sub>I</sub>:") self._lst_labels.append(u"\u03C0<sub>P</sub>:") self._lst_labels.append(u"\u03C0<sub>S</sub>:") # Initialize private scalar attributes. self._lblModel.set_tooltip_markup( _(u"The assessment model used to calculate the semiconductor " u"failure rate.")) # Initialize public dictionary attributes. # Initialize public list attributes. # Initialize public scalar attributes. self.txtPiT = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The temperature factor for the semiconductor.")) self.txtPiA = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The application factor for the semiconductor.")) self.txtPiC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The construction factor for the semiconductor.")) self.txtPiR = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The power rating factor for the semiconductor.")) self.txtPiM = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The matching network factor for the semiconductor.")) self.txtPiI = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The forward current factor for the semiconductor.")) self.txtPiP = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The power degradation factor for the semiconductor.")) self.txtPiS = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The electrical stress factor for the semiconductor.")) self._make_page() self.show_all() pub.subscribe(self._do_load_page, 'calculatedHardware')
def __init__(self, controller, **kwargs): """ Initialize an instance of the Resistor assessment result view. :param controller: the hardware data controller instance. :type controller: :class:`ramstk.hardware.Controller.HardwareBoMDataController` """ AssessmentResults.__init__(self, controller, **kwargs) # Initialize private dictionary attributes. # Initialize private list attributes. self._lst_labels.append(u"\u03C0<sub>R</sub>:") self._lst_labels.append(u"\u03C0<sub>T</sub>:") self._lst_labels.append(u"\u03C0<sub>NR</sub>:") self._lst_labels.append(u"\u03C0<sub>TAPS</sub>") self._lst_labels.append(u"\u03C0<sub>V</sub>:") self._lst_labels.append(u"\u03C0<sub>C</sub>:") # Initialize private scalar attributes. self._lblModel.set_tooltip_markup( _(u"The assessment model used to calculate the resistor " u"failure rate.")) # Initialize public dictionary attributes. # Initialize public list attributes. # Initialize public scalar attributes. self.txtPiR = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The resistance factor for the resistor.")) self.txtPiT = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The temperature factor for the resistor.")) self.txtPiNR = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The number of resistors factor for the resistor.")) self.txtPiTAPS = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The potentiometer taps factor for the resistor.")) self.txtPiV = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The voltage factor for the resistor.")) self.txtPiC = ramstk.RAMSTKEntry( width=125, editable=False, bold=True, tooltip=_(u"The construction class factor for the resistor.")) self._make_page() self.show_all() pub.subscribe(self._do_load_page, 'calculatedHardware')