Tätigkeiten überarbeitet.
This commit is contained in:
@@ -11,10 +11,12 @@ namespace KanSan.SampleData
|
||||
string beschreibung;
|
||||
string einheit;
|
||||
string tag;
|
||||
bool hatGüteschutzprotokoll;
|
||||
public string Positionsnummer { get => positionnummer; set => throw new NotImplementedException(); }
|
||||
public string Beschreibung { get => beschreibung; set => throw new NotImplementedException(); }
|
||||
public string Einheit { get => einheit; set => throw new NotImplementedException(); }
|
||||
public string Tag { get => tag; set => throw new NotImplementedException(); }
|
||||
public bool HatGüteschutzProtokoll { get => hatGüteschutzprotokoll; set => throw new NotImplementedException(); }
|
||||
|
||||
public LeistungsverzeichnisPositionViewModelSampleData()
|
||||
{
|
||||
@@ -22,6 +24,7 @@ namespace KanSan.SampleData
|
||||
beschreibung = "TV Inspektion DN200";
|
||||
einheit = "M";
|
||||
tag = "JMStandard";
|
||||
hatGüteschutzprotokoll = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using KanSan.Base.Enums;
|
||||
using KanSan.Base.Interfaces.UI;
|
||||
using KanSan.Base.Models;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
@@ -20,11 +21,27 @@ namespace KanSan.SampleData
|
||||
{
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
DateTime timestamp;
|
||||
if (i % 2 == 0)
|
||||
{
|
||||
timestamp = DateTime.Now;
|
||||
}
|
||||
else
|
||||
{
|
||||
timestamp = DateTime.MinValue;
|
||||
}
|
||||
taetigkeiten.Add(new Base.Models.Taetigkeiten()
|
||||
{
|
||||
|
||||
GuidNr = Guid.NewGuid(),
|
||||
Anzahl = 2m,
|
||||
Bemerkung = "Test"
|
||||
ZeitStempel = timestamp,
|
||||
Bemerkung = "Test",
|
||||
LeistungsverzeichnisPosition = new LeistungsverzeichnisPosition()
|
||||
{
|
||||
Beschreibung = "TV Inspektion"
|
||||
}
|
||||
|
||||
|
||||
}) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user