MainWindow geändert, dynamische Menu erzeugt

This commit is contained in:
Husky
2020-03-23 13:20:59 +01:00
parent 902e8f5712
commit 38a22e3803
11 changed files with 374 additions and 23 deletions

View File

@@ -0,0 +1,50 @@
using KanSan.Base.Interfaces.UI;
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.SampleData
{
class ObjekteEditViewModelSampleData : IObjekteEditViewModel
{
string strasseName;
string objektnummer;
string punktOben;
string punktUnten;
int durchmesser;
string material;
bool rohrleitungInBetrieb;
bool wasserHaltungdurchgefuehrt;
bool haltungGespuelt;
bool genehmigungErforderlich;
bool baustellenAbsicherung;
public string StrasseName { get => strasseName; set => throw new NotImplementedException(); }
public string Objektnummer { get => objektnummer; set => throw new NotImplementedException(); }
public string PunktOben { get => punktOben; set => throw new NotImplementedException(); }
public string PunktUnten { get => punktUnten; set => throw new NotImplementedException(); }
public int Durchmesser { get => durchmesser; set => throw new NotImplementedException(); }
public string Material { get => material; set => throw new NotImplementedException(); }
public bool RohrleitungInBetrieb { get => rohrleitungInBetrieb; set => throw new NotImplementedException(); }
public bool WasserHaltungDurchgefuehrt { get => wasserHaltungdurchgefuehrt; set => throw new NotImplementedException(); }
public bool HaltungGespuelt { get => haltungGespuelt; set => throw new NotImplementedException(); }
public bool GenehmigungErforderlich { get => genehmigungErforderlich; set => throw new NotImplementedException(); }
public bool BaustellenAbsicherung { get => baustellenAbsicherung; set => throw new NotImplementedException(); }
public ObjekteEditViewModelSampleData()
{
strasseName = "Grader Weg";
objektnummer = "SW01";
punktOben = objektnummer;
punktUnten = "SW02";
durchmesser = 150;
material = "Steinzeug";
rohrleitungInBetrieb = false;
wasserHaltungdurchgefuehrt = true;
haltungGespuelt = true;
genehmigungErforderlich = false;
baustellenAbsicherung = true;
}
}
}