Haltungslänge hinzugefügt

This commit is contained in:
Husky
2020-03-30 19:48:20 +02:00
parent 5bc8c58fa6
commit 3ba7aa3168
8 changed files with 645 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ namespace KanSan.SampleData
bool haltungGespuelt;
bool genehmigungErforderlich;
bool baustellenAbsicherung;
decimal haltungslaenge;
public string StrasseName { get => strasseName; set => throw new NotImplementedException(); }
@@ -31,7 +32,7 @@ namespace KanSan.SampleData
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 decimal Haltungslaenge { get => haltungslaenge; set => throw new NotImplementedException(); }
public ObjekteEditViewModelSampleData()
{
strasseName = "Grader Weg";
@@ -40,6 +41,7 @@ namespace KanSan.SampleData
punktUnten = "SW02";
durchmesser = 150;
material = "Steinzeug";
haltungslaenge = 10.3m;
rohrleitungInBetrieb = false;
wasserHaltungdurchgefuehrt = true;
haltungGespuelt = true;

View File

@@ -48,20 +48,23 @@
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Strassename"/>
<Label Grid.Row="1" Grid.Column="0" Content="Obere Punkt" />
<Label Grid.Row="2" Grid.Column="0" Content="Untere Punkt" />
<Label Grid.Row="3" Grid.Column="0" Content="Objektbezeichnung" />
<Label Grid.Row="4" Grid.Column="0" Content="Durchmesser" />
<Label Grid.Row="5" Grid.Column="0" Content="Material" />
<Label Grid.Row="5" Grid.Column="0" Content="Haltungslänge" />
<Label Grid.Row="6" Grid.Column="0" Content="Material" />
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=(iself:IObjekteEditViewModel.StrasseName)}" />
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=(iself:IObjekteEditViewModel.PunktOben)}" />
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=(iself:IObjekteEditViewModel.PunktUnten)}" />
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding Path=(iself:IObjekteEditViewModel.Objektnummer)}" />
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding Path=(iself:IObjekteEditViewModel.Durchmesser)}" />
<ComboBox Grid.Row="5" Grid.Column="1">
<TextBox Grid.Row="5" Grid.Column="1" Text="{Binding Path=(iself:IObjekteEditViewModel.Haltungslaenge)}" />
<ComboBox Grid.Row="6" Grid.Column="1">
<ComboBoxItem Content="Lala" />
<ComboBoxItem Content="Haha" />
</ComboBox>