Tranfer to net core
This commit is contained in:
@@ -11,12 +11,12 @@ using KlassenBIB;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using SanShared;
|
||||
using FluentFTP;
|
||||
|
||||
using System.Collections;
|
||||
using CSVParser;
|
||||
using BerichtGen;
|
||||
using SanShared.Exceptions;
|
||||
using Dichtheitsprüfung;
|
||||
//using Dichtheitsprüfung;
|
||||
using System.Threading;
|
||||
|
||||
namespace SanSystem
|
||||
@@ -144,6 +144,7 @@ namespace SanSystem
|
||||
txt_temp_aussen.Update();
|
||||
}
|
||||
|
||||
/*
|
||||
private void DownloadFromUV()
|
||||
{
|
||||
Progress<double> progress = new Progress<double>(x =>
|
||||
@@ -159,7 +160,7 @@ namespace SanSystem
|
||||
});
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
FtpClient client = new FtpClient("192.168.250.2");
|
||||
client.Port = 21;
|
||||
client.DataConnectionType = FtpDataConnectionType.AutoActive;
|
||||
@@ -199,6 +200,7 @@ namespace SanSystem
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
private void btn_transfer_ftp_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -221,12 +223,12 @@ namespace SanSystem
|
||||
filenames.Clear();
|
||||
if (MessageBox.Show("Bitte stellen Sie sicher, dass der Server antwortet und dass nur die Dateien vorhanden sind!, Bitte beachten Sie, dass das fenster einfrieren kann", "WARNUNG", MessageBoxButtons.OKCancel, MessageBoxIcon.Stop) == DialogResult.OK)
|
||||
{
|
||||
DownloadFromUV();
|
||||
//DownloadFromUV();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ListFiles(FtpClient client, string directory)
|
||||
/*private void ListFiles(FtpClient client, string directory)
|
||||
{
|
||||
client.ListingParser = FtpParser.Unix;
|
||||
foreach (FtpListItem item in client.GetListing(directory, FtpListOption.ForceNameList))
|
||||
@@ -241,6 +243,7 @@ namespace SanSystem
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
private bool AccessCSV()
|
||||
{
|
||||
@@ -347,6 +350,7 @@ namespace SanSystem
|
||||
options.ShowDialog();
|
||||
}
|
||||
|
||||
/*
|
||||
private void GeneriereDP()
|
||||
{
|
||||
#if DEBUG
|
||||
@@ -382,6 +386,7 @@ namespace SanSystem
|
||||
}
|
||||
#endif
|
||||
}
|
||||
*/
|
||||
|
||||
private void Btn_gen_dp_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -399,9 +404,9 @@ namespace SanSystem
|
||||
|
||||
}
|
||||
|
||||
Thread generateDichtheitsprüfung = new Thread(GeneriereDP);
|
||||
generateDichtheitsprüfung.IsBackground = true;
|
||||
generateDichtheitsprüfung.Start();
|
||||
//Thread generateDichtheitsprüfung = new Thread(GeneriereDP);
|
||||
//generateDichtheitsprüfung.IsBackground = true;
|
||||
//generateDichtheitsprüfung.Start();
|
||||
|
||||
}
|
||||
|
||||
@@ -412,5 +417,15 @@ namespace SanSystem
|
||||
txt_besatzung.Text = Global.Instance.AktuelleBesatzung;
|
||||
}
|
||||
}
|
||||
|
||||
private void label7_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user