VirtualLabBuilder.VLabModels

Classes to describe the virtual-lab view and to set-up the virtual-lab

Information


 

VLabModels package

VLabModels package includes the PartialView and the VirtualLab classes. These two classes are required to describe the virtual-lab view and to set-up the virtual-lab, respectively.

Package Content

NameDescription
VirtualLab Class containing instances of the model and view description
VirtualLabBuilder.VLabModels.PartialView PartialView Super-class of the model describing the virtual-lab view


VirtualLabBuilder.VLabModels.VirtualLab

Class containing instances of the model and view description

VirtualLabBuilder.VLabModels.VirtualLab

Information


                        

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.


Parameters

TypeNameDefaultDescription
RealTcom0.1Communication interval
StringfileName"gui.java"Name of the java file
replaceable model ViewINULLClass describing the virtual-lab view
replaceable model ModelINULLClass describing the virtual-lab model
StringsourceCodePath"C:/Dymola60/Source/VirtualL...Path where the C-functions, graphics.jar and delayrun.exe are located

Modelica definition

model VirtualLab 
  "Class containing instances of the model and view description" 
  extends src.VLabModel.VirtualLab;
end VirtualLab;

VirtualLabBuilder.VLabModels.PartialView VirtualLabBuilder.VLabModels.PartialView

Super-class of the model describing the virtual-lab view

Information


                        

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.


Parameters

TypeNameDefaultDescription
RealTcom0.1Communication interval
IntegerserverPort4242Server Port number
StringsourceCodePath"C:/Program Files/Dymola/Sou...Path where the C-functions, graphics.jar and delayrun.exe are located
StringfileName"gui.java"Java file name

Modelica definition

model PartialView 
  "Super-class of the model describing the virtual-lab view" 
   extends src.VLabModel.PartialView;
end PartialView;

HTML-documentation generated by Dymola Tue Jul 24 18:58:09 2007.