Added 3D models to project

Edited C# application, general functionality established

git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@96 9fe90eed-be63-e94b-8204-d34ff4c2ff93
This commit is contained in:
Matthias
2009-01-08 16:08:49 +00:00
parent 624d086907
commit e24bc9d1ad
17 changed files with 1172 additions and 28 deletions
@@ -1,4 +1,27 @@
using System;
/* ---------------------------------------------------------------------------
* MainWindow.cs (c) 2009 Micro-key bv
* ---------------------------------------------------------------------------
* Micro-key bv
* Industrieweg 28, 9804 TG Noordhorn
* Postbus 92, 9800 AB Zuidhorn
* The Netherlands
* Tel: +31 594 503020
* Fax: +31 594 505825
* Email: support@microkey.nl
* Web: www.microkey.nl
* ---------------------------------------------------------------------------
* Description: Main Form file. Bootup and Initialisation of the whole form
* ---------------------------------------------------------------------------
* Version(s): 0.1, Jan 08, 2008, MMi
* Creation.
* ---------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------
* System use files
* ---------------------------------------------------------------------------
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -6,6 +29,13 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
using System.Threading;
/* ---------------------------------------------------------------------------
* Local function definitions
* ---------------------------------------------------------------------------
*/
namespace QUA_2475_designtest
{
@@ -14,11 +44,34 @@ namespace QUA_2475_designtest
public mainWindow()
{
InitializeComponent();
initialise(); /* Init Variables, Arrays etc */
}
private void exit_Click(object sender, EventArgs e)
{
/* Quit Window Session */
Master_receiveMessages = false;
this.Close();
}
/* TimeOut Function
* This runs always in an own Thread
* Functrion is called directly before a Test is started. When Time
* is over and the Test is still active, then call TimeOut Procedure
*/
private void TimeoutThread()
{
Thread.Sleep(20000);
if (activeTest == true)
{
TestIsTimeout(actualTest);
}
}
private void B_conf_removeMB_Click(object sender, EventArgs e)
{
}
}
}