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>
|
||||
26
KanSan/UI/Güteschutz/UCGüteschutzBerichtEdit.xaml.cs
Normal file
26
KanSan/UI/Güteschutz/UCGüteschutzBerichtEdit.xaml.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace KanSan.UI
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für UCGüteschutzBerichtEdit.xaml
|
||||
/// </summary>
|
||||
public partial class UCGüteschutzBerichtEdit : UserControl
|
||||
{
|
||||
public UCGüteschutzBerichtEdit()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800" Background="LightGray">
|
||||
<d:UserControl.DataContext>
|
||||
<sd:ObjekteEditViewModelSampleData GenehmigungErforderlich="True" />
|
||||
<sd:ObjekteEditViewModelSampleData/>
|
||||
</d:UserControl.DataContext>
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
@@ -6,8 +6,12 @@
|
||||
xmlns:self="clr-namespace:KanSan.ViewModel;assembly=KanSan.ViewModel"
|
||||
xmlns:model="clr-namespace:KanSan.Base.Models;assembly=KanSan.Base"
|
||||
xmlns:local="clr-namespace:KanSan.UI"
|
||||
xmlns:sd="clr-namespace:KanSan.SampleData"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<d:UserControl.DataContext>
|
||||
<sd:SanierungskonzeptListViewModelSampleData />
|
||||
</d:UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
@@ -18,7 +22,7 @@
|
||||
<TreeView.Resources>
|
||||
<DataTemplate DataType="{x:Type model:Taetigkeiten}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding GuidNr}" />
|
||||
<TextBlock Text="{Binding LeistungsverzeichnisPosition.Beschreibung}" />
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</TreeView.Resources>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</Setter>
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<Grid Margin="0,0,0,-26">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
@@ -38,6 +38,7 @@
|
||||
<RowDefinition Height="39" />
|
||||
<RowDefinition Height="39" />
|
||||
<RowDefinition Height="39" />
|
||||
<RowDefinition Height="39" />
|
||||
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Mitarbeiter" />
|
||||
@@ -61,6 +62,7 @@
|
||||
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding Anzahl}" />
|
||||
<TextBox Grid.Row="5" Grid.Column="1" Text="{Binding Bemerkung}"/>
|
||||
<Button Grid.Row="6" Grid.ColumnSpan="2" Content="Speichern" Name="Speichern" Click="Speichern_Click" />
|
||||
<Button Grid.Row="7" Grid.ColumnSpan="2" Content="Güteschutzprotokoll" IsEnabled="{Binding HatGueteschutzProtokoll}" />
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
60
KanSan/UI/UCHarzSanierung.xaml
Normal file
60
KanSan/UI/UCHarzSanierung.xaml
Normal file
@@ -0,0 +1,60 @@
|
||||
<UserControl x:Class="KanSan.UI.UCHarzSanierung"
|
||||
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:local="clr-namespace:KanSan.UI"
|
||||
mc:Ignorable="d"
|
||||
xmlns:sd="clr-namespace:KanSan.SampleData"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="./../my_controls.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<d:UserControl.DataContext>
|
||||
<sd:HarzSanierungEditViewModelSampleData />
|
||||
</d:UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
|
||||
</Grid.RowDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Harz Hersteller" />
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Trägermaterial Hersteller" />
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Komponente A Charge" />
|
||||
<Label Grid.Row="3" Grid.Column="0" Content="Komponente B Charge" />
|
||||
<Label Grid.Row="4" Grid.Column="0" Content="Trägermaterial Charge" />
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="Anfang Mischen" />
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="Anfang anpressen vom Packer" />
|
||||
<Label Grid.Row="7" Grid.Column="0" Content="Entlüften vom Packer" />
|
||||
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding HarzMaterialHersteller }" />
|
||||
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding TrägerHersteller }" />
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding KompACharge }" />
|
||||
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding KompBCharge }" />
|
||||
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding TrägerCharge }" />
|
||||
<TextBox Grid.Row="5" Grid.Column="1" Text="{Binding MischZeit }" />
|
||||
<TextBox Grid.Row="6" Grid.Column="1" Text="{Binding AnpressenPacker }" />
|
||||
<TextBox Grid.Row="7" Grid.Column="1" Text="{Binding EntlüftenPacker}" />
|
||||
|
||||
<StackPanel Grid.Row="8" Grid.ColumnSpan="2">
|
||||
<CheckBox IsChecked="{Binding FixierungAufPacker}" Style="{StaticResource checkBoxCircleSmall}" Content="Fixierung auf Packer OK" />
|
||||
<CheckBox IsChecked="{Binding Auffälligkeit}" Style="{StaticResource checkBoxCircleSmall}" Content="Auffälligkeiten bei der Verarbeitung" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
26
KanSan/UI/UCHarzSanierung.xaml.cs
Normal file
26
KanSan/UI/UCHarzSanierung.xaml.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace KanSan.UI
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für UCHarzSanierung.xaml
|
||||
/// </summary>
|
||||
public partial class UCHarzSanierung : UserControl
|
||||
{
|
||||
public UCHarzSanierung()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user