Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10453 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Jens Frenkel
committed
Nov 11, 2011
1 parent
eaba349
commit 679f18d
Showing
4 changed files
with
144 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
/* | ||
* This file is part of OpenModelica. | ||
* | ||
* Copyright (c) 1998-2010, Linköpings University, | ||
* Department of Computer and Information Science, | ||
* SE-58183 Linköping, Sweden. | ||
* | ||
* All rights reserved. | ||
* | ||
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THIS OSMC PUBLIC | ||
* LICENSE (OSMC-PL). ANY USE, REPRODUCTION OR DISTRIBUTION OF | ||
* THIS PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THE OSMC | ||
* PUBLIC LICENSE. | ||
* | ||
* The OpenModelica software and the Open Source Modelica | ||
* Consortium (OSMC) Public License (OSMC-PL) are obtained | ||
* from Linköpings University, either from the above address, | ||
* from the URL: http://www.ida.liu.se/projects/OpenModelica | ||
* and in the OpenModelica distribution. | ||
* | ||
* This program is distributed WITHOUT ANY WARRANTY; without | ||
* even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH | ||
* IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS | ||
* OF OSMC-PL. | ||
* | ||
* See the full OSMC Public License conditions for more details. | ||
* | ||
* | ||
* For more information about the Qt-library visit TrollTech:s webpage regarding | ||
* licence: http://www.trolltech.com/products/qt/licensing.html | ||
* | ||
*/ | ||
|
||
|
||
#include "sendData.h" | ||
|
||
|
||
|
||
bool ellipse(double x0, double y0, double x1, double y1, const char* color, int colorR, int colorG, int colorB, const char* fillColor, int fillColorR, int fillColorG, int fillColorB) | ||
{ | ||
return true; | ||
} | ||
|
||
bool rect(double x0, double y0, double x1, double y1, const char* color, int colorR, int colorG, int colorB, const char* fillColor, int fillColorR, int fillColorG, int fillColorB) | ||
{ | ||
return true; | ||
} | ||
|
||
bool line(double x0, double y0, double x1, double y1, const char* color, int colorR, int colorG, int colorB, const char* fillColor, int fillColorR, int fillColorG, int fillColorB) | ||
{ | ||
return true; | ||
} | ||
|
||
|
||
bool hold(int status) | ||
{ | ||
return true; | ||
} | ||
|
||
bool pltWait(unsigned long msecs) | ||
{ | ||
return true; | ||
} | ||
|
||
bool pltTable(double* table, size_t r, size_t c) //, const char* legend, int size) | ||
{ | ||
return false; | ||
} | ||
|
||
|
||
void setDataPort(int port) | ||
{ | ||
} | ||
|
||
void enableSendData(int enable) | ||
{ | ||
} | ||
|
||
void initSendData(int variableCount, const struct omc_varInfo** names) | ||
{ | ||
} | ||
|
||
|
||
void sendPacket(const char* data) | ||
{ | ||
} | ||
|
||
void closeSendData() | ||
{ | ||
} | ||
|
||
void emulateStreamData(const char* data, const char* title, const char* xLabel, const char* yLabel, const char* interpolation5, int legend, int grid, int logX, int logY, int drawPoints, const char* range) | ||
{ | ||
} | ||
|
||
|
||
|
||
bool plt(const char* var, const char* model, const char* title, const char* xLabel, const char* yLabel, bool legend, bool grid, bool logX, bool logY, const char* interpolation, bool drawPoints, const char* range) | ||
{ | ||
return true; | ||
} | ||
|
||
|
||
int getVariableListSize(const char* model) | ||
{ | ||
return 0; | ||
} | ||
|
||
bool getVariableList(const char* model, char* lst) | ||
{ | ||
return true; | ||
} | ||
|
||
|
||
void emulateStreamData2(const char *info, const char* data, int port) | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters