blob: 036090ad8c10aa33c65f485ab1480c27e737bac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* autogenerated from "macros/Electrical/PotentialSensor.sci" */
function PotentialSensor() {
PotentialSensor.prototype.define = function PotentialSensor() {
model = scicos_model();
model.in1 = [1];
model.out = [1];
model.rpar = [];
model.sim = "PotentialSensor";
model.blocktype = "c";
model.dep_ut = [true,false];
mo = modelica();
mo.model = "PotentialSensor";
mo.inputs = "p";
mo.outputs = ["v"];
model.equations = mo;
gr_i = [];
this.x = standard_define([2,2],model,"",list(gr_i,0));
this.x.graphics.in_implicit = ["I"];
this.x.graphics.out_implicit = ["E"];
}
PotentialSensor.prototype.details = function PotentialSensor() {
return this.x;
}
PotentialSensor.prototype.get = function PotentialSensor() {
}
PotentialSensor.prototype.set = function PotentialSensor() {
this.x = arg1;
}
}
|