Name | Description |
---|---|
VirtualLab | Class containing instances of the model and view description |
![]() | Super-class of the model describing the virtual-lab view |
The class describing the complete virtual-lab has to contain an instance of VirtualLab class. The virtual-lab designer has to set the name of the model and the view classes.
Type | Name | Default | Description |
---|---|---|---|
Real | Tcom | 0.1 | Communication interval |
String | fileName | "gui.java" | Name of the java file |
replaceable model ViewI | NULL | Class describing the virtual-lab view | |
replaceable model ModelI | NULL | Class describing the virtual-lab model | |
String | sourceCodePath | "C:/Dymola60/Source/VirtualL... | Path where the C-functions, graphics.jar and delayrun.exe are located |
model VirtualLab "Class containing instances of the model and view description" extends src.VLabModel.VirtualLab; end VirtualLab;
PartialView class has to be the super-class of the model describing the virtual-lab view. The communication interval (i.e., time interval between to consecutive model-view communications) is a parameter of this class (Tcom), that can be set by the virtual-lab developer. PartialView class contains a pre-defined component: the root element for the view description.
Type | Name | Default | Description |
---|---|---|---|
Real | Tcom | 0.1 | Communication interval |
Integer | serverPort | 4242 | Server Port number |
String | sourceCodePath | "C:/Program Files/Dymola/Sou... | Path where the C-functions, graphics.jar and delayrun.exe are located |
String | fileName | "gui.java" | Java file name |
model PartialView "Super-class of the model describing the virtual-lab view" extends src.VLabModel.PartialView; end PartialView;