26 QObject::tr(
"saturation current")));
28 QObject::tr(
"emission coefficient")));
30 QObject::tr(
"zero-bias junction capacitance")));
32 QObject::tr(
"grading coefficient")));
34 QObject::tr(
"junction potential")));
36 QObject::tr(
"forward-bias depletion capacitance coefficient")));
38 QObject::tr(
"linear capacitance")));
40 QObject::tr(
"recombination current parameter")));
42 QObject::tr(
"emission coefficient for Isr")));
44 QObject::tr(
"ohmic series resistance")));
46 QObject::tr(
"transit time")));
48 QObject::tr(
"high-injection knee current (0=infinity)")));
50 QObject::tr(
"flicker noise coefficient")));
52 QObject::tr(
"flicker noise exponent")));
54 QObject::tr(
"flicker noise frequency exponent")));
56 QObject::tr(
"reverse breakdown voltage")));
58 QObject::tr(
"current at reverse breakdown voltage")));
60 QObject::tr(
"simulation temperature in degree Celsius")));
62 QObject::tr(
"saturation current temperature exponent")));
64 QObject::tr(
"energy bandgap in eV")));
66 QObject::tr(
"Bv linear temperature coefficient")));
68 QObject::tr(
"Rs linear temperature coefficient")));
70 QObject::tr(
"Tt linear temperature coefficient")));
72 QObject::tr(
"Tt quadratic temperature coefficient")));
74 QObject::tr(
"M linear temperature coefficient")));
76 QObject::tr(
"M quadratic temperature coefficient")));
78 QObject::tr(
"temperature at which parameters were extracted")));
80 QObject::tr(
"default area for diode")));
82 QObject::tr(
"schematic symbol")+
" [normal, US, Schottky, Zener, Varactor]"));
98 Name = QObject::tr(
"Diode");
99 BitmapFile = (
char *)
"diode";
101 if(getNewOne)
return new Diode();
108 if(
Props.getLast()->Value.at(0) ==
'V') {
109 Lines.append(
new Line(-30, 0, -9, 0,QPen(QPen::darkBlue,2)));
110 Lines.append(
new Line( -6, 0, 30, 0,QPen(QPen::darkBlue,2)));
111 Lines.append(
new Line( -9, -9, -9, 9,QPen(QPen::darkBlue,2)));
113 else if(
Props.getLast()->Value.at(0) ==
'U') {
114 Lines.append(
new Line(-30, 0, -6, 0,QPen(QPen::darkBlue,2)));
115 Lines.append(
new Line( 6, 0, 30, 0,QPen(QPen::darkBlue,2)));
118 Lines.append(
new Line(-30, 0, 30, 0,QPen(QPen::darkBlue,2)));
120 Lines.append(
new Line( -6, -9, -6, 9,QPen(QPen::darkBlue,2)));
121 Lines.append(
new Line( 6, -9, 6, 9,QPen(QPen::darkBlue,2)));
122 Lines.append(
new Line( -6, 0, 6, -9,QPen(QPen::darkBlue,2)));
123 Lines.append(
new Line( -6, 0, 6, 9,QPen(QPen::darkBlue,2)));
125 if(
Props.getLast()->Value.at(0) ==
'S') {
126 Lines.append(
new Line( -6, -9,-12,-12,QPen(QPen::darkBlue,2)));
127 Lines.append(
new Line( -6, 9, 0, 12,QPen(QPen::darkBlue,2)));
129 else if(
Props.getLast()->Value.at(0) ==
'Z') {
130 Lines.append(
new Line( -6, 9, -1, 9,QPen(QPen::darkBlue,2)));