Mutex hinzugefügt.

Imprägnierprotokoll weitergeführt
This commit is contained in:
HuskyTeufel
2019-09-20 11:02:54 +02:00
parent 9a4335f81a
commit 8d089a7905
7 changed files with 53 additions and 46 deletions

View File

@@ -6,30 +6,24 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public abstract class AbstractImprägnier
{
/// <summary>
///
/// </summary>
public string Schlauchnummer { get; set; }
/// <summary>
///
/// </summary>
public DateTime Imprägnierdatum { get; set; }
/// <summary>
///
/// </summary>
public ImprägnierungStrukture ImprägnierungBeginn { get; set; }
public ImprägnierungStrukture ImprägnierungEnde { get; set; }
public string ImprägnierDatum
{
get
{
if (ImprägnierungBeginn == null) return "Nicht definiert";
return ImprägnierungBeginn.Zeitstempel.ToShortDateString();
}
}
public uint DN { get; set; }
/// <summary>
///
/// </summary>
public double Wanddicke { get; set; }
/// <summary>
///
/// </summary>
public double Länge { get; set; }
public double Harzmenge { get; set; }
public string Bediener { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class ImprägnierungStrukture
{
/// <summary>
///
/// </summary>
public DateTime Zeitstempel { get; set; }
/// <summary>
///
/// </summary>
public double Temperature { get; set; }
}
}

View File

@@ -21,7 +21,8 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\KlassenBIB.xml</DocumentationFile>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -54,6 +55,7 @@
<Compile Include="ChargeNummerCollection.cs" />
<Compile Include="Hutprofil.cs" />
<Compile Include="IImportedObjekte.cs" />
<Compile Include="ImprägnierungStrukture.cs" />
<Compile Include="InlinerSanierung.cs" />
<Compile Include="Kurzliner.cs" />
<Compile Include="LeistungsVerzeichnis.cs" />

View File

@@ -6,14 +6,8 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public sealed class VorOrtImprägnier : AbstractImprägnier
{
/// <summary>
/// Gibt den Soll Walzenabstand zurück
/// </summary>
public double WalzenAbstandSoll
{
get
@@ -21,17 +15,8 @@ namespace KlassenBIB
return 2*Wanddicke + 1.0;
}
}
/// <summary>
///
/// </summary>
public double WalzenAbstandIst { get; set; }
/// <summary>
///
/// </summary>
public bool VakuumKorrekt { get; set; }
/// <summary>
///
/// </summary>
public bool EinbautempKorrekt { get; set; }
}
}

View File

@@ -6,18 +6,12 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public sealed class WerkseitigImprägniert : AbstractImprägnier
public class WerkseitigImprägniert : AbstractImprägnier
{
/// <summary>
///
/// </summary>
public string Imprägniernummer { get; set; }
/// <summary>
///
/// </summary>
public bool LagerungKorrekt { get; set; }
public int LängeCode { get; set; }
}
}