Güteschutzbericht angefangen
This commit is contained in:
59
KanSan/SampleData/GüteschutzEditViewModelSampleData.cs
Normal file
59
KanSan/SampleData/GüteschutzEditViewModelSampleData.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using KanSan.Base.Interfaces.UI;
|
||||
using KanSan.Base.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace KanSan.SampleData
|
||||
{
|
||||
class GüteschutzEditViewModelSampleData : IGüteschutzEditViewModel
|
||||
{
|
||||
GueteschutzProtokoll sanierungsart;
|
||||
public string StrasseName { get => "Nussbaumweg"; set => throw new NotImplementedException(); }
|
||||
public string OrtTeilName { get => "Friesoythe"; set => throw new NotImplementedException(); }
|
||||
public string Haltungsnummer { get => "SW01"; set => throw new NotImplementedException(); }
|
||||
public string VonSchacht { get => "SW01"; set => throw new NotImplementedException(); }
|
||||
public string Fließrichtung {
|
||||
get
|
||||
{
|
||||
if (Haltungsnummer.Equals(VonSchacht)) return "IN";
|
||||
if (Haltungsnummer.Equals(BisSchacht)) return "GEGEN";
|
||||
return "Nicht Bekannt, eventuell Hochpunkt?";
|
||||
}
|
||||
}
|
||||
public string BisSchacht { get => "SW02"; set => throw new NotImplementedException(); }
|
||||
public int Durchmesser { get => 300; set => throw new NotImplementedException(); }
|
||||
public bool RohrleitungInBetrieb { get => true; set => throw new NotImplementedException(); }
|
||||
public bool HaltungGespült { get => true; set => throw new NotImplementedException(); }
|
||||
public bool WasserHaltungdurchgeführt { get => false; set => throw new NotImplementedException(); }
|
||||
public bool GenehmigungErforderlich { get => false; set => throw new NotImplementedException(); }
|
||||
public bool BaustellenabsicherungErforderlich { get => true; set => throw new NotImplementedException(); }
|
||||
public bool RissBruchScherbe { get => true; set => throw new NotImplementedException(); }
|
||||
public bool WurzelInkrustationAblagerungen { get => false; set => throw new NotImplementedException(); }
|
||||
public bool StutzenEinragend { get => false; set => throw new NotImplementedException(); }
|
||||
public bool Infiltration { get => true; set => throw new NotImplementedException(); }
|
||||
public bool VorbehandeltHD { get => true; set => throw new NotImplementedException(); }
|
||||
public bool VorbehandeltMechanisch { get => false; set => throw new NotImplementedException(); }
|
||||
public bool VorbehandeltFräser { get => true; set => throw new NotImplementedException(); }
|
||||
public bool SchadStelleIstFäkalienFrei { get => true; set => throw new NotImplementedException(); }
|
||||
public int AussenTemperatur { get => 11; set => throw new NotImplementedException(); }
|
||||
public int KanalTemperatur { get => 12; set => throw new NotImplementedException(); }
|
||||
public bool SichtKontrolleErforderlich { get => true; set => throw new NotImplementedException(); }
|
||||
public bool BerichtErforderlich { get => true; set => throw new NotImplementedException(); }
|
||||
public bool FilmErforderlich { get => false; set => throw new NotImplementedException(); }
|
||||
public bool VideoErforderlich { get => false; set => throw new NotImplementedException(); }
|
||||
public bool DichtheitErforderlich { get => false; set => throw new NotImplementedException(); }
|
||||
public GueteschutzProtokoll Sanierungsart { get => sanierungsart; set => throw new NotImplementedException(); }
|
||||
|
||||
public IHarzSanierungViewModel HarzSanierung { get => harzSanierung; }
|
||||
|
||||
IHarzSanierungViewModel harzSanierung;
|
||||
public GüteschutzEditViewModelSampleData()
|
||||
{
|
||||
HarzSanierungEditViewModelSampleData sample = new HarzSanierungEditViewModelSampleData();
|
||||
|
||||
harzSanierung = sample;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
22
KanSan/SampleData/HarzSanierungEditViewModelSampleData.cs
Normal file
22
KanSan/SampleData/HarzSanierungEditViewModelSampleData.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using KanSan.Base.Interfaces.UI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace KanSan.SampleData
|
||||
{
|
||||
class HarzSanierungEditViewModelSampleData : IHarzSanierungViewModel
|
||||
{
|
||||
public string HarzMaterialHersteller { get => "Fluvius"; set => throw new NotImplementedException(); }
|
||||
public string HarzMaterialArt { get => "02"; set => throw new NotImplementedException(); }
|
||||
public string KompACharge { get => "2020202392"; set => throw new NotImplementedException(); }
|
||||
public string KompBCharge { get => "29Z-3030"; set => throw new NotImplementedException(); }
|
||||
public string TrägerHersteller { get => "Fluvius"; set => throw new NotImplementedException(); }
|
||||
public string TrägerCharge { get => "3929292"; set => throw new NotImplementedException(); }
|
||||
public bool Auffälligkeit { get => false; set => throw new NotImplementedException(); }
|
||||
public bool FixierungAufPacker { get => true; set => throw new NotImplementedException(); }
|
||||
public DateTime MischZeit { get => new DateTime(2020,05,09,15,09,00); set => throw new NotImplementedException(); }
|
||||
public DateTime AnpressenPacker { get => new DateTime(2020,05,09,15,17,00); set => throw new NotImplementedException(); }
|
||||
public DateTime EntlüftenPacker { get => new DateTime(2020,05,09,17,30,00); set => throw new NotImplementedException(); }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using KanSan.Base.Enums;
|
||||
using KanSan.Base.Interfaces.UI;
|
||||
using KanSan.Base.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace KanSan.SampleData
|
||||
{
|
||||
class SanierungskonzeptListViewModelSampleData : ISanierungskonzeptListViewModel
|
||||
{
|
||||
List<Taetigkeiten> taetigkeiten = new List<Taetigkeiten>();
|
||||
public ESanierung Sanierung => throw new NotImplementedException();
|
||||
|
||||
public List<Taetigkeiten> Taetigkeiten => taetigkeiten;
|
||||
|
||||
public bool CanAddNewSan => throw new NotImplementedException();
|
||||
|
||||
public SanierungskonzeptListViewModelSampleData()
|
||||
{
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
taetigkeiten.Add(new Base.Models.Taetigkeiten()
|
||||
{
|
||||
GuidNr = Guid.NewGuid(),
|
||||
Anzahl = 2m,
|
||||
Bemerkung = "Test"
|
||||
|
||||
}) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user