summaryrefslogtreecommitdiff
path: root/js/Electrical
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical')
-rw-r--r--js/Electrical/CCS.js4
-rw-r--r--js/Electrical/CVS.js4
-rw-r--r--js/Electrical/Capacitor.js4
-rw-r--r--js/Electrical/ConstantVoltage.js4
-rw-r--r--js/Electrical/CurrentSensor.js4
-rw-r--r--js/Electrical/Diode.js4
-rw-r--r--js/Electrical/Ground.js4
-rw-r--r--js/Electrical/Gyrator.js4
-rw-r--r--js/Electrical/IdealTransformer.js4
-rw-r--r--js/Electrical/Inductor.js4
-rw-r--r--js/Electrical/MOTOR.js4
-rw-r--r--js/Electrical/NMOS.js4
-rw-r--r--js/Electrical/NPN.js4
-rw-r--r--js/Electrical/OpAmp.js4
-rw-r--r--js/Electrical/PMOS.js4
-rw-r--r--js/Electrical/PNP.js4
-rw-r--r--js/Electrical/PotentialSensor.js4
-rw-r--r--js/Electrical/Resistor.js4
-rw-r--r--js/Electrical/SineVoltage.js4
-rw-r--r--js/Electrical/Switch.js4
-rw-r--r--js/Electrical/VVsourceAC.js4
-rw-r--r--js/Electrical/VariableResistor.js4
-rw-r--r--js/Electrical/VoltageSensor.js4
-rw-r--r--js/Electrical/VsourceAC.js4
24 files changed, 96 insertions, 0 deletions
diff --git a/js/Electrical/CCS.js b/js/Electrical/CCS.js
index 6cad5711..19deb542 100644
--- a/js/Electrical/CCS.js
+++ b/js/Electrical/CCS.js
@@ -59,4 +59,8 @@ function CCS() {
var exprs = this.graphics.exprs;
return new BasicBlock(this.x);
}
+ CCS.prototype.get_popup_title = function CCS() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/CVS.js b/js/Electrical/CVS.js
index 8e535c69..6e1767c3 100644
--- a/js/Electrical/CVS.js
+++ b/js/Electrical/CVS.js
@@ -59,4 +59,8 @@ function CVS() {
var exprs = this.graphics.exprs;
return new BasicBlock(this.x);
}
+ CVS.prototype.get_popup_title = function CVS() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Capacitor.js b/js/Electrical/Capacitor.js
index 2344fab7..3ed863b5 100644
--- a/js/Electrical/Capacitor.js
+++ b/js/Electrical/Capacitor.js
@@ -51,4 +51,8 @@ function Capacitor() {
}
return new BasicBlock(this.x);
}
+ Capacitor.prototype.get_popup_title = function Capacitor() {
+ var set_param_popup_title = "Set Capacitor block parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js
index 86be0b91..5d01e389 100644
--- a/js/Electrical/ConstantVoltage.js
+++ b/js/Electrical/ConstantVoltage.js
@@ -48,4 +48,8 @@ function ConstantVoltage() {
}
return new BasicBlock(this.x);
}
+ ConstantVoltage.prototype.get_popup_title = function ConstantVoltage() {
+ var set_param_popup_title = "Set ConstantVoltage block parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js
index 0c16c782..1f63e923 100644
--- a/js/Electrical/CurrentSensor.js
+++ b/js/Electrical/CurrentSensor.js
@@ -28,4 +28,8 @@ function CurrentSensor() {
CurrentSensor.prototype.set = function CurrentSensor() {
return new BasicBlock(this.x);
}
+ CurrentSensor.prototype.get_popup_title = function CurrentSensor() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js
index 36080edd..6e2bb7b1 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -57,4 +57,8 @@ function Diode() {
}
return new BasicBlock(this.x);
}
+ Diode.prototype.get_popup_title = function Diode() {
+ var set_param_popup_title = "Set Diode block parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js
index 492e4b7f..6422b54e 100644
--- a/js/Electrical/Ground.js
+++ b/js/Electrical/Ground.js
@@ -27,4 +27,8 @@ function Ground() {
Ground.prototype.set = function Ground() {
return new GroundBlock(this.x);
}
+ Ground.prototype.get_popup_title = function Ground() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index e212c6b6..eb1b9948 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -75,4 +75,8 @@ function Gyrator() {
}
return new BasicBlock(this.x);
}
+ Gyrator.prototype.get_popup_title = function Gyrator() {
+ var set_param_popup_title = "Set Gyrator block parameters:";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/IdealTransformer.js b/js/Electrical/IdealTransformer.js
index 4d081dff..2cce2946 100644
--- a/js/Electrical/IdealTransformer.js
+++ b/js/Electrical/IdealTransformer.js
@@ -73,4 +73,8 @@ function IdealTransformer() {
}
return new BasicBlock(this.x);
}
+ IdealTransformer.prototype.get_popup_title = function IdealTransformer() {
+ var set_param_popup_title = "Set Transformer block parameters:";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js
index f2690705..06af6722 100644
--- a/js/Electrical/Inductor.js
+++ b/js/Electrical/Inductor.js
@@ -48,4 +48,8 @@ function Inductor() {
}
return new BasicBlock(this.x);
}
+ Inductor.prototype.get_popup_title = function Inductor() {
+ var set_param_popup_title = "Set Inductor block parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js
index 3aa96510..85fea4fa 100644
--- a/js/Electrical/MOTOR.js
+++ b/js/Electrical/MOTOR.js
@@ -23,4 +23,8 @@ function MOTOR() {
MOTOR.prototype.set = function MOTOR() {
return new BasicBlock(this.x);
}
+ MOTOR.prototype.get_popup_title = function MOTOR() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/NMOS.js b/js/Electrical/NMOS.js
index c6d59869..e0e6e9b6 100644
--- a/js/Electrical/NMOS.js
+++ b/js/Electrical/NMOS.js
@@ -70,4 +70,8 @@ function NMOS() {
}
return new BasicBlock(this.x);
}
+ NMOS.prototype.get_popup_title = function NMOS() {
+ var set_param_popup_title = "Set NMOS Transistor block parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/NPN.js b/js/Electrical/NPN.js
index 3cd75e98..3b3a61db 100644
--- a/js/Electrical/NPN.js
+++ b/js/Electrical/NPN.js
@@ -105,4 +105,8 @@ function NPN() {
}
return new BasicBlock(this.x);
}
+ NPN.prototype.get_popup_title = function NPN() {
+ var set_param_popup_title = "Set NPN block parameters:";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 23c00bc2..f00cdbd1 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -52,4 +52,8 @@ function OpAmp() {
}
return new BasicBlock(this.x);
}
+ OpAmp.prototype.get_popup_title = function OpAmp() {
+ var set_param_popup_title = "Set the Operational Amplifier parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js
index 1737d2a2..ee9c7b03 100644
--- a/js/Electrical/PMOS.js
+++ b/js/Electrical/PMOS.js
@@ -70,4 +70,8 @@ function PMOS() {
}
return new BasicBlock(this.x);
}
+ PMOS.prototype.get_popup_title = function PMOS() {
+ var set_param_popup_title = "Set PMOS Transistor parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js
index 57f66d43..b0390168 100644
--- a/js/Electrical/PNP.js
+++ b/js/Electrical/PNP.js
@@ -105,4 +105,8 @@ function PNP() {
}
return new BasicBlock(this.x);
}
+ PNP.prototype.get_popup_title = function PNP() {
+ var set_param_popup_title = "Set PNP block parameters:";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/PotentialSensor.js b/js/Electrical/PotentialSensor.js
index 301e60c9..e291c457 100644
--- a/js/Electrical/PotentialSensor.js
+++ b/js/Electrical/PotentialSensor.js
@@ -28,4 +28,8 @@ function PotentialSensor() {
PotentialSensor.prototype.set = function PotentialSensor() {
return new BasicBlock(this.x);
}
+ PotentialSensor.prototype.get_popup_title = function PotentialSensor() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js
index 5a7e80c9..044e7253 100644
--- a/js/Electrical/Resistor.js
+++ b/js/Electrical/Resistor.js
@@ -48,4 +48,8 @@ function Resistor() {
}
return new BasicBlock(this.x);
}
+ Resistor.prototype.get_popup_title = function Resistor() {
+ var set_param_popup_title = "Set Resistor block parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js
index ce87c9ae..ecfed966 100644
--- a/js/Electrical/SineVoltage.js
+++ b/js/Electrical/SineVoltage.js
@@ -60,4 +60,8 @@ function SineVoltage() {
}
return new BasicBlock(this.x);
}
+ SineVoltage.prototype.get_popup_title = function SineVoltage() {
+ var set_param_popup_title = "Set voltage source parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js
index 9252c037..a8e8edaf 100644
--- a/js/Electrical/Switch.js
+++ b/js/Electrical/Switch.js
@@ -52,4 +52,8 @@ function Switch() {
}
return new BasicBlock(this.x);
}
+ Switch.prototype.get_popup_title = function Switch() {
+ var set_param_popup_title = "Set non-ideal electrical switch parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/VVsourceAC.js b/js/Electrical/VVsourceAC.js
index 6ddeff62..7b75d485 100644
--- a/js/Electrical/VVsourceAC.js
+++ b/js/Electrical/VVsourceAC.js
@@ -49,4 +49,8 @@ function VVsourceAC() {
}
return new BasicBlock(this.x);
}
+ VVsourceAC.prototype.get_popup_title = function VVsourceAC() {
+ var set_param_popup_title = "Set voltage source parameter";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/VariableResistor.js b/js/Electrical/VariableResistor.js
index 75f36590..1a29fb02 100644
--- a/js/Electrical/VariableResistor.js
+++ b/js/Electrical/VariableResistor.js
@@ -28,4 +28,8 @@ function VariableResistor() {
VariableResistor.prototype.set = function VariableResistor() {
return new BasicBlock(this.x);
}
+ VariableResistor.prototype.get_popup_title = function VariableResistor() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/VoltageSensor.js b/js/Electrical/VoltageSensor.js
index de661de1..16bc8373 100644
--- a/js/Electrical/VoltageSensor.js
+++ b/js/Electrical/VoltageSensor.js
@@ -28,4 +28,8 @@ function VoltageSensor() {
VoltageSensor.prototype.set = function VoltageSensor() {
return new VoltageSensorBlock(this.x);
}
+ VoltageSensor.prototype.get_popup_title = function VoltageSensor() {
+ var set_param_popup_title = "Set parameters";
+ return set_param_popup_title;
+ }
}
diff --git a/js/Electrical/VsourceAC.js b/js/Electrical/VsourceAC.js
index b14581f4..9ef55b31 100644
--- a/js/Electrical/VsourceAC.js
+++ b/js/Electrical/VsourceAC.js
@@ -51,4 +51,8 @@ function VsourceAC() {
}
return new BasicBlock(this.x);
}
+ VsourceAC.prototype.get_popup_title = function VsourceAC() {
+ var set_param_popup_title = "Set voltage source parameter";
+ return set_param_popup_title;
+ }
}