Merge remote-tracking branch 'origin/master'

This commit is contained in:
Husky
2019-10-10 16:43:38 +02:00
49 changed files with 1092 additions and 435 deletions

View File

@@ -47,7 +47,7 @@ namespace SanSystem
dr["vorbereitet"] = "am " + objekt.HaltungGemessen.ToShortDateString();
int schachtanbindungen = 0;
foreach (Sanieren mainsan in objekt.Sanierung)
foreach (AbstractSanieren mainsan in objekt.Sanierung)
{
if (
mainsan.Datum.Day == targetDatum.Day &&
@@ -173,7 +173,7 @@ namespace SanSystem
add = true;
}
foreach(Sanieren san in objekt.Sanierung)
foreach(AbstractSanieren san in objekt.Sanierung)
{
if (san.Fertig &&

View File

@@ -22,7 +22,8 @@
<DefineConstants>TRACE;DEBUG;LAPTOP</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\SanSystem.xml</DocumentationFile>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -130,6 +131,18 @@
<Compile Include="frmExceptionWindow.Designer.cs">
<DependentUpon>frmExceptionWindow.cs</DependentUpon>
</Compile>
<Compile Include="frmImprägnierBerichtEdit.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmImprägnierBerichtEdit.Designer.cs">
<DependentUpon>frmImprägnierBerichtEdit.cs</DependentUpon>
</Compile>
<Compile Include="frmImprägnierBerichtList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmImprägnierBerichtList.Designer.cs">
<DependentUpon>frmImprägnierBerichtList.cs</DependentUpon>
</Compile>
<Compile Include="frmKalibrierungFestlegung.cs">
<SubType>Form</SubType>
</Compile>
@@ -225,6 +238,12 @@
<EmbeddedResource Include="frmExceptionWindow.resx">
<DependentUpon>frmExceptionWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmImprägnierBerichtEdit.resx">
<DependentUpon>frmImprägnierBerichtEdit.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmImprägnierBerichtList.resx">
<DependentUpon>frmImprägnierBerichtList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmKalibrierungFestlegung.resx">
<DependentUpon>frmKalibrierungFestlegung.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -0,0 +1,444 @@
namespace SanSystem
{
partial class frmImprägnierBerichtEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.txt_harzmenge = new System.Windows.Forms.TextBox();
this.txt_harzTemperatur = new System.Windows.Forms.TextBox();
this.txt_mischungtyp = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.txt_imprägniernr = new System.Windows.Forms.TextBox();
this.txt_vakuum = new System.Windows.Forms.TextBox();
this.txt_schlauchnummer = new System.Windows.Forms.TextBox();
this.txt_wanddicke = new System.Windows.Forms.TextBox();
this.txt_walzenabstand = new System.Windows.Forms.TextBox();
this.txt_bediener = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.label14 = new System.Windows.Forms.Label();
this.txt_laengeCode = new System.Windows.Forms.TextBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(131, 25);
this.label1.TabIndex = 0;
this.label1.Text = "Imprägnier-Nr";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(14, 45);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(85, 25);
this.label2.TabIndex = 1;
this.label2.Text = "Vakuum";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(14, 81);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(136, 25);
this.label3.TabIndex = 2;
this.label3.Text = "Schlauch - Nr.";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(14, 117);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(111, 25);
this.label4.TabIndex = 3;
this.label4.Text = "Wanddicke";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.Location = new System.Drawing.Point(14, 153);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(149, 25);
this.label5.TabIndex = 4;
this.label5.Text = "Walzenabstand";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.Location = new System.Drawing.Point(11, 31);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(46, 25);
this.label6.TabIndex = 5;
this.label6.Text = "Typ";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label7.Location = new System.Drawing.Point(11, 68);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(113, 25);
this.label7.TabIndex = 6;
this.label7.Text = "Harzmenge";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.txt_harzmenge);
this.groupBox1.Controls.Add(this.txt_harzTemperatur);
this.groupBox1.Controls.Add(this.txt_mischungtyp);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.label12);
this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupBox1.Location = new System.Drawing.Point(23, 186);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(411, 203);
this.groupBox1.TabIndex = 7;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Mischung";
//
// txt_harzmenge
//
this.txt_harzmenge.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_harzmenge.Location = new System.Drawing.Point(192, 65);
this.txt_harzmenge.Name = "txt_harzmenge";
this.txt_harzmenge.Size = new System.Drawing.Size(150, 30);
this.txt_harzmenge.TabIndex = 8;
//
// txt_harzTemperatur
//
this.txt_harzTemperatur.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_harzTemperatur.Location = new System.Drawing.Point(192, 101);
this.txt_harzTemperatur.Name = "txt_harzTemperatur";
this.txt_harzTemperatur.Size = new System.Drawing.Size(150, 30);
this.txt_harzTemperatur.TabIndex = 17;
//
// txt_mischungtyp
//
this.txt_mischungtyp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_mischungtyp.Location = new System.Drawing.Point(192, 29);
this.txt_mischungtyp.Name = "txt_mischungtyp";
this.txt_mischungtyp.Size = new System.Drawing.Size(150, 30);
this.txt_mischungtyp.TabIndex = 7;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(11, 104);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(159, 25);
this.label12.TabIndex = 10;
this.label12.Text = "Harz Temperatur";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.textBox9);
this.groupBox2.Controls.Add(this.textBox8);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupBox2.Location = new System.Drawing.Point(460, 9);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(315, 203);
this.groupBox2.TabIndex = 8;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Imprägnier Anfang";
//
// textBox9
//
this.textBox9.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox9.Location = new System.Drawing.Point(117, 79);
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(192, 30);
this.textBox9.TabIndex = 3;
//
// textBox8
//
this.textBox8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox8.Location = new System.Drawing.Point(117, 43);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(192, 30);
this.textBox8.TabIndex = 2;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label9.Location = new System.Drawing.Point(15, 79);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(73, 25);
this.label9.TabIndex = 1;
this.label9.Text = "Uhrzeit";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label8.Location = new System.Drawing.Point(15, 44);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(69, 25);
this.label8.TabIndex = 0;
this.label8.Text = "Datum";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.textBox11);
this.groupBox3.Controls.Add(this.textBox10);
this.groupBox3.Controls.Add(this.label10);
this.groupBox3.Controls.Add(this.label11);
this.groupBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupBox3.Location = new System.Drawing.Point(460, 218);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(315, 203);
this.groupBox3.TabIndex = 9;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Imprägnier Ende";
//
// textBox11
//
this.textBox11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox11.Location = new System.Drawing.Point(117, 64);
this.textBox11.Name = "textBox11";
this.textBox11.Size = new System.Drawing.Size(192, 30);
this.textBox11.TabIndex = 3;
//
// textBox10
//
this.textBox10.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox10.Location = new System.Drawing.Point(117, 28);
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(192, 30);
this.textBox10.TabIndex = 2;
//
// label10
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label10.Location = new System.Drawing.Point(6, 67);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(73, 25);
this.label10.TabIndex = 1;
this.label10.Text = "Uhrzeit";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.Location = new System.Drawing.Point(6, 33);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(69, 25);
this.label11.TabIndex = 0;
this.label11.Text = "Datum";
//
// label13
//
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label13.Location = new System.Drawing.Point(14, 458);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(90, 25);
this.label13.TabIndex = 11;
this.label13.Text = "Bediener";
//
// txt_imprägniernr
//
this.txt_imprägniernr.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_imprägniernr.Location = new System.Drawing.Point(215, 6);
this.txt_imprägniernr.Name = "txt_imprägniernr";
this.txt_imprägniernr.Size = new System.Drawing.Size(219, 30);
this.txt_imprägniernr.TabIndex = 12;
//
// txt_vakuum
//
this.txt_vakuum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_vakuum.Location = new System.Drawing.Point(215, 42);
this.txt_vakuum.Name = "txt_vakuum";
this.txt_vakuum.Size = new System.Drawing.Size(219, 30);
this.txt_vakuum.TabIndex = 13;
//
// txt_schlauchnummer
//
this.txt_schlauchnummer.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_schlauchnummer.Location = new System.Drawing.Point(215, 78);
this.txt_schlauchnummer.Name = "txt_schlauchnummer";
this.txt_schlauchnummer.Size = new System.Drawing.Size(219, 30);
this.txt_schlauchnummer.TabIndex = 14;
//
// txt_wanddicke
//
this.txt_wanddicke.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_wanddicke.Location = new System.Drawing.Point(215, 114);
this.txt_wanddicke.Name = "txt_wanddicke";
this.txt_wanddicke.Size = new System.Drawing.Size(219, 30);
this.txt_wanddicke.TabIndex = 15;
//
// txt_walzenabstand
//
this.txt_walzenabstand.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_walzenabstand.Location = new System.Drawing.Point(215, 150);
this.txt_walzenabstand.Name = "txt_walzenabstand";
this.txt_walzenabstand.Size = new System.Drawing.Size(219, 30);
this.txt_walzenabstand.TabIndex = 16;
//
// txt_bediener
//
this.txt_bediener.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_bediener.Location = new System.Drawing.Point(215, 458);
this.txt_bediener.Name = "txt_bediener";
this.txt_bediener.Size = new System.Drawing.Size(219, 30);
this.txt_bediener.TabIndex = 18;
//
// button1
//
this.button1.Location = new System.Drawing.Point(827, 36);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(209, 384);
this.button1.TabIndex = 19;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
//
// label14
//
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label14.Location = new System.Drawing.Point(14, 411);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(122, 25);
this.label14.TabIndex = 20;
this.label14.Text = "Länge-Code";
//
// txt_laengeCode
//
this.txt_laengeCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_laengeCode.Location = new System.Drawing.Point(215, 411);
this.txt_laengeCode.Name = "txt_laengeCode";
this.txt_laengeCode.Size = new System.Drawing.Size(219, 30);
this.txt_laengeCode.TabIndex = 21;
//
// frmImprägnierBerichtEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1056, 558);
this.Controls.Add(this.txt_laengeCode);
this.Controls.Add(this.label14);
this.Controls.Add(this.button1);
this.Controls.Add(this.txt_bediener);
this.Controls.Add(this.txt_walzenabstand);
this.Controls.Add(this.txt_wanddicke);
this.Controls.Add(this.txt_schlauchnummer);
this.Controls.Add(this.txt_vakuum);
this.Controls.Add(this.txt_imprägniernr);
this.Controls.Add(this.label13);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "frmImprägnierBerichtEdit";
this.Text = "frmImprägnierBerichtEdit";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txt_harzmenge;
private System.Windows.Forms.TextBox txt_mischungtyp;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.TextBox textBox11;
private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.TextBox txt_imprägniernr;
private System.Windows.Forms.TextBox txt_vakuum;
private System.Windows.Forms.TextBox txt_schlauchnummer;
private System.Windows.Forms.TextBox txt_wanddicke;
private System.Windows.Forms.TextBox txt_walzenabstand;
private System.Windows.Forms.TextBox txt_harzTemperatur;
private System.Windows.Forms.TextBox txt_bediener;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TextBox txt_laengeCode;
}
}

View File

@@ -0,0 +1,33 @@
using KlassenBIB;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SanSystem
{
public partial class frmImprägnierBerichtEdit : Form
{
WerkseitigImprägniert werkseitigImprägniert = null;
public frmImprägnierBerichtEdit(WerkseitigImprägniert werkseitigImprägniert)
{
InitializeComponent();
this.werkseitigImprägniert = werkseitigImprägniert;
txt_imprägniernr.DataBindings.Add("Text", werkseitigImprägniert, "Imprägniernummer");
txt_laengeCode.DataBindings.Add("Text", werkseitigImprägniert, "LängeCode");
txt_schlauchnummer.DataBindings.Add("Text", werkseitigImprägniert, "Schlauchnummer");
txt_wanddicke.DataBindings.Add("Text", werkseitigImprägniert, "Wanddicke");
txt_harzmenge.DataBindings.Add("Text", werkseitigImprägniert, "Harzmenge");
txt_harzTemperatur.DataBindings.Add("Text", werkseitigImprägniert, "HarzTemperatur");
txt_bediener.DataBindings.Add("Text", werkseitigImprägniert, "Bediener");
txt_mischungtyp.DataBindings.Add("Text", werkseitigImprägniert, "HarzTyp");
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,73 @@
namespace SanSystem
{
partial class frmImprägnierBerichtList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.lst_imprägnierBerichtNr = new System.Windows.Forms.ListBox();
this.btn_add = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lst_imprägnierBerichtNr
//
this.lst_imprägnierBerichtNr.FormattingEnabled = true;
this.lst_imprägnierBerichtNr.ItemHeight = 16;
this.lst_imprägnierBerichtNr.Location = new System.Drawing.Point(12, 12);
this.lst_imprägnierBerichtNr.Name = "lst_imprägnierBerichtNr";
this.lst_imprägnierBerichtNr.Size = new System.Drawing.Size(700, 276);
this.lst_imprägnierBerichtNr.TabIndex = 0;
this.lst_imprägnierBerichtNr.DoubleClick += new System.EventHandler(this.Lst_imprägnierBerichtNr_DoubleClick);
//
// btn_add
//
this.btn_add.Location = new System.Drawing.Point(60, 315);
this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(296, 74);
this.btn_add.TabIndex = 1;
this.btn_add.Text = "Neue Hinzufügen";
this.btn_add.UseVisualStyleBackColor = true;
this.btn_add.Click += new System.EventHandler(this.Btn_add_Click);
//
// frmImprägnierBerichtList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.btn_add);
this.Controls.Add(this.lst_imprägnierBerichtNr);
this.Name = "frmImprägnierBerichtList";
this.Text = "frmImprägnierBerichtList";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.ListBox lst_imprägnierBerichtNr;
private System.Windows.Forms.Button btn_add;
}
}

View File

@@ -0,0 +1,48 @@
using KlassenBIB;
using KlassenBIB.Collections;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SanSystem
{
public partial class frmImprägnierBerichtList : Form
{
public frmImprägnierBerichtList()
{
InitializeComponent();
lst_imprägnierBerichtNr.DataSource = null;
List<string> imprägnierberichte = Database.Datenbank.Instance.MainDatenbank.ImprägnierBerichtListe.Select(x => x.Imprägniernummer).ToList();
lst_imprägnierBerichtNr.DataSource = imprägnierberichte;
}
private void Btn_add_Click(object sender, EventArgs e)
{
WerkseitigImprägniert werkseitigImprägnierts = new WerkseitigImprägniert();
Database.Datenbank.Instance.MainDatenbank.ImprägnierBerichtListe.Add(werkseitigImprägnierts);
}
private void Lst_imprägnierBerichtNr_DoubleClick(object sender, EventArgs e)
{
if ((sender as ListBox).SelectedItem == null) return;
string selectedImprägnierung = (sender as ListBox).SelectedItem.ToString();
if (selectedImprägnierung == null) return;
WerkseitigImprägniert imprägnierung = Database.Datenbank.Instance.MainDatenbank.ImprägnierBerichtListe.Find(x => x.Imprägniernummer.Equals(selectedImprägnierung));
if (imprägnierung == null) return;
frmImprägnierBerichtEdit frmImprägnierBerichtEdit = new frmImprägnierBerichtEdit(imprägnierung);
frmImprägnierBerichtEdit.ShowDialog();
/*frmObjekteList frmObjekteList = new frmObjekteList(selectedStreetName);
frmObjekteList.MdiParent = this.MdiParent;
//frmObjekteList.FormClosed += FrmObjekt_FormClosed;
frmObjekteList.Show();
*/
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -39,9 +39,11 @@
this.auftraggeberToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.speichernToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.massenstatistikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.projektordnerÖffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatus_projekt_Label = new System.Windows.Forms.ToolStripStatusLabel();
this.projektordnerÖffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.imprägnierberichteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mainmenu.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
@@ -54,7 +56,9 @@
this.projektToolStripMenuItem,
this.speichernToolStripMenuItem,
this.massenstatistikToolStripMenuItem,
this.projektordnerÖffnenToolStripMenuItem});
this.projektordnerÖffnenToolStripMenuItem,
this.toolStripMenuItem1,
this.imprägnierberichteToolStripMenuItem});
this.mainmenu.Location = new System.Drawing.Point(0, 0);
this.mainmenu.Name = "mainmenu";
this.mainmenu.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
@@ -115,6 +119,18 @@
this.massenstatistikToolStripMenuItem.Text = "Massenstatistik";
this.massenstatistikToolStripMenuItem.Click += new System.EventHandler(this.massenstatistikToolStripMenuItem_Click);
//
// projektordnerÖffnenToolStripMenuItem
//
this.projektordnerÖffnenToolStripMenuItem.Name = "projektordnerÖffnenToolStripMenuItem";
this.projektordnerÖffnenToolStripMenuItem.Size = new System.Drawing.Size(211, 32);
this.projektordnerÖffnenToolStripMenuItem.Text = "Projektordner Öffnen";
this.projektordnerÖffnenToolStripMenuItem.Click += new System.EventHandler(this.ProjektordnerÖffnenToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(14, 32);
//
// statusStrip1
//
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
@@ -133,12 +149,12 @@
this.toolStripStatus_projekt_Label.Size = new System.Drawing.Size(55, 20);
this.toolStripStatus_projekt_Label.Text = "Projekt";
//
// projektordnerÖffnenToolStripMenuItem
// imprägnierberichteToolStripMenuItem
//
this.projektordnerÖffnenToolStripMenuItem.Name = "projektordnerÖffnenToolStripMenuItem";
this.projektordnerÖffnenToolStripMenuItem.Size = new System.Drawing.Size(211, 32);
this.projektordnerÖffnenToolStripMenuItem.Text = "Projektordner Öffnen";
this.projektordnerÖffnenToolStripMenuItem.Click += new System.EventHandler(this.ProjektordnerÖffnenToolStripMenuItem_Click);
this.imprägnierberichteToolStripMenuItem.Name = "imprägnierberichteToolStripMenuItem";
this.imprägnierberichteToolStripMenuItem.Size = new System.Drawing.Size(193, 32);
this.imprägnierberichteToolStripMenuItem.Text = "Imprägnierberichte";
this.imprägnierberichteToolStripMenuItem.Click += new System.EventHandler(this.ImprägnierberichteToolStripMenuItem_Click);
//
// frmMain
//
@@ -176,6 +192,8 @@
private System.Windows.Forms.ToolStripMenuItem stammdatenImportierenToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem auftraggeberToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem projektordnerÖffnenToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem imprägnierberichteToolStripMenuItem;
}
}

View File

@@ -187,5 +187,11 @@ namespace SanSystem
MessageBox.Show("Es ist ein fehler aufgetreten beim öffnen vom Baustellenordner " + ex.Message);
}
}
private void ImprägnierberichteToolStripMenuItem_Click(object sender, EventArgs e)
{
frmImprägnierBerichtList frmImprägnierBerichtList = new frmImprägnierBerichtList();
frmImprägnierBerichtList.ShowDialog();
}
}
}

View File

@@ -234,7 +234,7 @@ namespace SanSystem
Inspektionskuerzeln kuerzel = (dgvr.DataBoundItem as Inspektionskuerzeln);
if (kuerzel == null) return;
if (kuerzel.Sanierungskonzepts == null)
kuerzel.Sanierungskonzepts = new SanierungskonzeptCollection();
kuerzel.Sanierungskonzepts = new KlassenBIB.Collections.Sanierungskonzept();
frmSanKonzeptList frmSanKonzept = new frmSanKonzeptList(kuerzel.Sanierungskonzepts);

View File

@@ -50,7 +50,7 @@ namespace SanSystem
int counter = 0;
foreach(Sanierung san in tmp.Sanierung)
{
Sanieren _san = (san as Sanieren);
AbstractSanieren _san = (san as AbstractSanieren);
if (_san.Fertig) anzahlfertig++;
counter++;
}