- Todo:
- {Descripion DrumRegulator}
The main program:
- VTCCBallon.gpk (graphical form)
- VTCCBallon.SIG (textual form)
- VTCCBallon.PAR contains parameters.
it uses the following libraries (graphical form/textual form)
- debitVapeur.gpk debitVapeur.SIG
- General.gpk general.SIG
- interface.gpk interface.SIG
- loideCommande.gpk loideCommande.SIG
- niveauBallon.gpk niveauBallon.SIG
- processusBallon.gpk processusBallon.SIG
- regulateur.gpk regulateur.SIG
The compiling of the example is done by the following command
signal -tra -java VTCCBallon.SIG -par=VTCCBallon.PAR
It produces the results in the VTCCBallon subdirectory. It contains
- Types Generation : RegulatorState.java
- Types Generation : Direction.java
- Main Program : VTCCBallon_main.java
- Header file (body) : VTCCBallon.java
- Input/Output procedures : VTCCBallon_io.java
- You must modify the java generated code. In the file VTCCBallon.java,
- add the following line
import Signal.lib.Java.graphical.*;
- add the following line after the declaration area (before "public VTCCBallon()") In the file VTCCBallon_externalsProc.java, add the following line
import Signal.lib.Java.graphical.*;
- then goto the cmake subdirectory, and execute the command If it is necessary to rebuild the makefiles (the utility cmake is required), execute the command The build process of a project for cmake is given in the file with the name CMakeLists.txt (please, don't delete it) .
Note: for the simulation, the following files are used (please, don't delete them) : button.txt checkbox.txt frame.txt label.txt panel.txt textarea.txt