Güteschutzbericht angefangen

This commit is contained in:
Husky
2020-06-02 18:38:55 +02:00
parent 3430be0245
commit 4d5d5082a7
22 changed files with 1092 additions and 5 deletions

View 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;
}
}
}

View 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(); }
}
}

View File

@@ -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"
}) ;
}
}
}
}