BlueM.Opt Development: Difference between revisions

From BlueM
Jump to navigation Jump to search
m (restructure)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BlueM.Opt_nav}}
{{BlueM.Opt_nav}}
<div style="float:right; margin-left:10px;">__TOC__</div>


==Code-Dokumentation==
==Source code==
Dokumentation der Dateistruktur: [[BlueM.Opt Code]]
BlueM.Opt is written in VB.NET and C#. The source code and issues are managed on GitHub: https://github.com/bluemodel/BlueM.Opt


==Anleitungen/Dokus==
[[BlueM.Sim]] and [[BlueM.DLLAdapter]] as well as [[TALSIM|Talsim-NG]] and [[SWMM]] are included in the repository as precompiled binaries, and [[BlueM.Wave]] is included as a submodule.
* [[BlueM.Opt Multithreading|Multithreading]]
 
* [[BlueM.Opt Monitor]]
==Compilation==
* [[BlueM.Opt Evaluierung]]
When compiling BlueM.Opt, a [https://www.steema.com/product/net TeeChart .NET] Pro license is required.


==Quellcode-Zugriff==
For testing purposes, you can use the evaluation version of TeeChart by removing the files <code>My Project\TeeChart.licenses</code> from the project within Visual Studio or by adding a files in their place. This will allow you to compile, but any charts will be displayed with a watermark.
[[Bild:Meta wc layout.png|thumb|300px|Layout der working copy nach checkout von der Meta-Repository mit Beschriftung der Repository-Zugehörigkeiten]]


<div style="float:right;">{{SERVER}}/BlueM/wiki/images/icons/information.png <small>[[Subversion|Hilfe zu SVN]]</small></div>
<div class="info">
Es gibt zwei Möglichkeiten, um sich den erforderlichen Code zusammenzustellen:
'''Note:'''
* Man nutzt per SVN die 'Meta'-Repository, die bereits eine Projektmappendatei enthält und in der die erforderlichen Projekte mittels svn:externals bereits vordefiniert sind: <br/>http://130.83.196.154/svn/Meta/BlueM.Opt/trunk
:''oder''
* Die einzelnen Projekte müssen manuell heruntergeladen/ausgecheckt werden (Zugriff siehe Tabelle) und dann in einer Projektmappe integriert werden.


:{| cellpadding="5" cellspacing="0" border="0" class="standard stripes"
BlueM.Wave is set up to be output to a subdirectory <code>BlueM.Wave</code>. For this to work, the following settings have been made:
! Projekt !! SVN-Zugriff !! WebSVN
* set <code><probing privatePath="BlueM.Wave"/></code> in <code>app.config</code>
|-
* set the "Copy Local" property of all project references to Wave to False (corresponds to <code><Private>False</Private></code> in the project files).
| BlueM.Opt || http://130.83.196.154/svn/BlueM.Opt/ || [http://130.83.196.154/websvn/listing.php?repname=BlueM.Opt&path=%2F&sc=1# BlueM.Opt]
* the main Wave assembly output is copied to the subdirectory in the post-build event
|-
* additional assemblies used by Wave that are unfortunately automatically output to the main output folder (no idea why?) are moved to the subdirectory individually, also in the post-build event
| IHA.Win || http://130.83.196.154/svn/IHA.Win/ || [http://130.83.196.154/websvn/listing.php?repname=IHA.Win&path=%2F&sc=1# IHA.Win]
|-
| Wave || http://130.83.196.154/svn/Wave/ || [http://130.83.196.154/websvn/listing.php?repname=Wave&path=%2F&sc=1# Wave]
|}


==Compilation==
This could probably be done better, but that's the way it is right now.
BlueM.Opt is written in VB.NET and C#.
</div>


Requirements for compiling BlueM.Opt:
===Documentation===
* [http://www.microsoft.com/visualstudio/en-us/products/professional/default.mspx Microsoft Visual Studio 2008 Professional] (the Standard Edition may be enough, but has not been tested)
* [[BlueM.Opt Code|Code]]
* [http://www.steema.com/products/teechart/net/overview.html TeeChart for .NET (v3) developer license]
* [[BlueM.Opt Multithreading|Multithreading]]
* [[BlueM.Opt Monitor|Monitor]]
* [[BlueM.Opt Evaluierung|Evaluation]]


[[Kategorie:BlueM.Opt Development]]
[[Kategorie:BlueM.Opt Development]]

Latest revision as of 10:12, 11 February 2024

EVO.png BlueM.Opt | Download | Usage | Development

Source code

BlueM.Opt is written in VB.NET and C#. The source code and issues are managed on GitHub: https://github.com/bluemodel/BlueM.Opt

BlueM.Sim and BlueM.DLLAdapter as well as Talsim-NG and SWMM are included in the repository as precompiled binaries, and BlueM.Wave is included as a submodule.

Compilation

When compiling BlueM.Opt, a TeeChart .NET Pro license is required.

For testing purposes, you can use the evaluation version of TeeChart by removing the files My Project\TeeChart.licenses from the project within Visual Studio or by adding a files in their place. This will allow you to compile, but any charts will be displayed with a watermark.

Note:

BlueM.Wave is set up to be output to a subdirectory BlueM.Wave. For this to work, the following settings have been made:

  • set <probing privatePath="BlueM.Wave"/> in app.config
  • set the "Copy Local" property of all project references to Wave to False (corresponds to <Private>False</Private> in the project files).
  • the main Wave assembly output is copied to the subdirectory in the post-build event
  • additional assemblies used by Wave that are unfortunately automatically output to the main output folder (no idea why?) are moved to the subdirectory individually, also in the post-build event

This could probably be done better, but that's the way it is right now.

Documentation