Objektname wird hinzugefügt
This commit is contained in:
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace KlassenBIB
|
||||
{
|
||||
public sealed class InlinerSanierung : Sanierung
|
||||
public sealed class InlinerSanierung : Sanieren
|
||||
{
|
||||
double kalibrierUnterdruck = -0.5;
|
||||
double kalibierWalzenAbstand = 0.9;
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<Compile Include="InspektionskuerzelnCollection.cs" />
|
||||
<Compile Include="Inspektionsobjekt.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Sanieren.cs" />
|
||||
<Compile Include="Sanierung.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
19
KlassenBIB/Sanieren.cs
Normal file
19
KlassenBIB/Sanieren.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KlassenBIB
|
||||
{
|
||||
public abstract class Sanieren : Sanierung
|
||||
{
|
||||
Guid guid;
|
||||
DateTime datum;
|
||||
bool fertig = false;
|
||||
|
||||
public Guid Guid { get => guid; set => guid = value; }
|
||||
public DateTime Datum { get => datum; set => datum = value; }
|
||||
public bool Fertig { get => fertig; set => fertig = value; }
|
||||
}
|
||||
}
|
||||
@@ -2,15 +2,18 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KlassenBIB
|
||||
{
|
||||
//
|
||||
// Zusammenfassung:
|
||||
// Bietet die grundlegene Struktur für eine Sanierung
|
||||
public abstract class Sanierung : INotifyPropertyChanged
|
||||
{
|
||||
Guid guid;
|
||||
|
||||
//Guid guid;
|
||||
double tempAusen;
|
||||
double tempKanal;
|
||||
string wetter;
|
||||
@@ -20,8 +23,9 @@ namespace KlassenBIB
|
||||
bool hDReinigung;
|
||||
DateTime hDReinigungDatum;
|
||||
DateTime sanierungsDatum;
|
||||
|
||||
|
||||
public Guid Guid { get => guid; set => guid = value; }
|
||||
//public Guid Guid { get => guid; set => guid = value; }
|
||||
public double TempAusen
|
||||
{
|
||||
get => tempAusen;
|
||||
@@ -30,7 +34,7 @@ namespace KlassenBIB
|
||||
if(tempAusen != value)
|
||||
{
|
||||
tempAusen = value;
|
||||
NotifyPropertyChanged("");
|
||||
NotifyPropertyChanged();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -43,9 +47,9 @@ namespace KlassenBIB
|
||||
public bool HDReinigung { get => hDReinigung; set => hDReinigung = value; }
|
||||
public DateTime HDReinigungDatum { get => hDReinigungDatum; set => hDReinigungDatum = value; }
|
||||
public DateTime SanierungsDatum { get => sanierungsDatum; set => sanierungsDatum = value; }
|
||||
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
private void NotifyPropertyChanged(string propertyName)
|
||||
private void NotifyPropertyChanged([CallerMemberName] string propertyName = null)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
|
||||
Reference in New Issue
Block a user