MainWindow geändert, dynamische Menu erzeugt
This commit is contained in:
50
KanSan/SampleData/ObjekteEditViewModelSampleData.cs
Normal file
50
KanSan/SampleData/ObjekteEditViewModelSampleData.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user