Änderung der Linergrundlagen angefangen

This commit is contained in:
Husky
2019-09-06 17:20:40 +02:00
parent 7f4db67209
commit 9a4335f81a
4 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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 uint DN { get; set; }
/// <summary>
///
/// </summary>
public double Wanddicke { get; set; }
/// <summary>
///
/// </summary>
public double Länge { get; set; }
}
}

View File

@@ -43,6 +43,7 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="AbstractImprägnier.cs" />
<Compile Include="AbwasserTechnischeAnlageCollection.cs" /> <Compile Include="AbwasserTechnischeAnlageCollection.cs" />
<Compile Include="AnlagenType.cs" /> <Compile Include="AnlagenType.cs" />
<Compile Include="Auftraggeber.cs" /> <Compile Include="Auftraggeber.cs" />
@@ -75,6 +76,8 @@
<Compile Include="SavedBilder.cs" /> <Compile Include="SavedBilder.cs" />
<Compile Include="SchachtAnbindung.cs" /> <Compile Include="SchachtAnbindung.cs" />
<Compile Include="StructChargeNummern.cs" /> <Compile Include="StructChargeNummern.cs" />
<Compile Include="VorOrtImprägnier.cs" />
<Compile Include="WerkseitigImprägniert.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\SanShared\SanShared.csproj"> <ProjectReference Include="..\SanShared\SanShared.csproj">

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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
{
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

@@ -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 sealed class WerkseitigImprägniert : AbstractImprägnier
{
/// <summary>
///
/// </summary>
public string Imprägniernummer { get; set; }
/// <summary>
///
/// </summary>
public bool LagerungKorrekt { get; set; }
}
}