Güteschutzbericht angefangen
This commit is contained in:
90
KanSan/UI/Güteschutz/UCGüteschutzBerichtEdit.xaml
Normal file
90
KanSan/UI/Güteschutz/UCGüteschutzBerichtEdit.xaml
Normal file
@@ -0,0 +1,90 @@
|
||||
<UserControl x:Class="KanSan.UI.UCGüteschutzBerichtEdit"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:self="clr-namespace:KanSan.ViewModel;assembly=KanSan.ViewModel"
|
||||
xmlns:model="clr-namespace:KanSan.Base.Models;assembly=KanSan.Base"
|
||||
xmlns:sd="clr-namespace:KanSan.SampleData"
|
||||
xmlns:local="clr-namespace:KanSan.UI"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="700" d:DesignWidth="800">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="./../../my_controls.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<d:UserControl.DataContext>
|
||||
<sd:GüteschutzEditViewModelSampleData />
|
||||
</d:UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0" Grid.Column="0">
|
||||
<!-- Leitung Stammdaten-->
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Label Content="Ort" />
|
||||
<Label Grid.Row="1" Content="Strassename" />
|
||||
<Label Grid.Row="2" Content="Haltungsnummer" />
|
||||
<Label Grid.Row="3" Content="Von Schacht" />
|
||||
<Label Grid.Row="4" Content="Nach Schacht" />
|
||||
<Label Grid.Row="5" Content="Fließrichtung" />
|
||||
<Label Grid.Row="6" Content="Durchmesser" />
|
||||
<Label Grid.Row="7" Content="Material" />
|
||||
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding OrtTeilName}"/>
|
||||
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding StrasseName}" />
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Haltungsnummer}" />
|
||||
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding VonSchacht}" />
|
||||
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding BisSchacht}" />
|
||||
<Label Grid.Row="5" Grid.Column="1" Content="{Binding Fließrichtung}" />
|
||||
<TextBox Grid.Row="6" Grid.Column="1" Text="{Binding Durchmesser}" />
|
||||
<TextBox Grid.Row="7" Grid.Column="1" Text="{Binding Material}" />
|
||||
</Grid>
|
||||
<StackPanel Grid.Row="0" Grid.Column="1">
|
||||
|
||||
|
||||
<CheckBox Style="{StaticResource checkBoxCircle}" IsChecked="{Binding HaltungGespült }" Grid.Row="0" Grid.Column="0" Content="Haltung Gespült"/>
|
||||
<CheckBox Style="{StaticResource checkBoxCircle}" IsChecked="{Binding WasserHaltungdurchgeführt }" Grid.Row="1" Grid.Column="0" Content="Wasserhaltung Durchgeführt" />
|
||||
<CheckBox Style="{StaticResource checkBoxCircle}" IsChecked="{Binding GenehmigungErforderlich }" Grid.Row="2" Grid.Column="0" Content="Baustellenabsicherung Erforderlich" />
|
||||
<CheckBox Style="{StaticResource checkBoxCircle}" IsChecked="{Binding RohrleitungInBetrieb }" Grid.Row="3" Grid.Column="0" Content="Rohrleitung in Betrieb"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Grid.Column="0">
|
||||
<CheckBox IsChecked="{Binding RissBruchScherbe}" Style="{StaticResource checkBoxCircleSmall}" Content="RissBruchScherbe" />
|
||||
<CheckBox IsChecked="{Binding WurzelInkrustationAblagerungen}" Style="{StaticResource checkBoxCircleSmall}" Content="WurzelInkrustationAblagerungen" />
|
||||
<CheckBox IsChecked="{Binding StutzenEinragend }" Style="{StaticResource checkBoxCircleSmall}" Content="StutzenEinragend" />
|
||||
<CheckBox IsChecked="{Binding Infiltration}" Style="{StaticResource checkBoxCircleSmall}" Content="Infiltration" />
|
||||
<CheckBox IsChecked="{Binding VorbehandeltHD }" Style="{StaticResource checkBoxCircleSmall}" Content="VorbehandeltHD" />
|
||||
<CheckBox IsChecked="{Binding VorbehandeltMechanisch }" Style="{StaticResource checkBoxCircleSmall}" Content="VorbehandeltMechanisch" />
|
||||
<CheckBox IsChecked="{Binding VorbehandeltFräser }" Style="{StaticResource checkBoxCircleSmall}" Content="VorbehandeltFräser" />
|
||||
<CheckBox IsChecked="{Binding SchadStelleIstFäkalienFrei }" Style="{StaticResource checkBoxCircleSmall}" Content="SchadStelleIstFäkalienFrei" />
|
||||
<CheckBox IsChecked="{Binding SichtKontrolleErforderlich}" Style="{StaticResource checkBoxCircleSmall}" Content="SichtKontrolleErforderlich" />
|
||||
<CheckBox IsChecked="{Binding BerichtErforderlich}" Style="{StaticResource checkBoxCircleSmall}" Content="BerichtErforderlich" />
|
||||
<CheckBox IsChecked="{Binding FilmErforderlich }" Style="{StaticResource checkBoxCircleSmall}" Content="FilmErforderlich" />
|
||||
<CheckBox IsChecked="{Binding VideoErforderlich}" Style="{StaticResource checkBoxCircleSmall}" Content="VideoErforderlich" />
|
||||
<CheckBox IsChecked="{Binding DichtheitErforderlich }" Style="{StaticResource checkBoxCircleSmall}" Content="DichtheitErforderlich" />
|
||||
</StackPanel>
|
||||
<ContentControl Grid.Row="1" Content="{Binding Path=HarzSanierung}" ContentTemplate="{StaticResource SanierungViewModelDataTemplate}" Grid.ColumnSpan="2" Margin="365,0,0,0" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user