Reparaturen zur Schadenskürzeln hinzugefügt
This commit is contained in:
15
KlassenBIB/Hutprofil.cs
Normal file
15
KlassenBIB/Hutprofil.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace KlassenBIB
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Zulaufeinbindung
|
||||||
|
/// </summary>
|
||||||
|
public class Hutprofil : Reparatur
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -59,5 +59,9 @@ namespace KlassenBIB
|
|||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Anmerkung { get; set; }
|
public string Anmerkung { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public Reparatur Reparatur { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
KlassenBIB/Kurzliner.cs
Normal file
15
KlassenBIB/Kurzliner.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace KlassenBIB
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Partielle Reparatur
|
||||||
|
/// </summary>
|
||||||
|
public class Kurzliner : Reparatur
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
15
KlassenBIB/Quicklock.cs
Normal file
15
KlassenBIB/Quicklock.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace KlassenBIB
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Quicklock manschette
|
||||||
|
/// </summary>
|
||||||
|
public class Quicklock : Reparatur
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
25
KlassenBIB/Reparatur.cs
Normal file
25
KlassenBIB/Reparatur.cs
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace KlassenBIB
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Abstrakte Klasse zur Darstellung einer Partielle Reparatur
|
||||||
|
/// </summary>
|
||||||
|
public abstract class Reparatur : Sanieren
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projektpfad"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public override string CheckVerzeichnisse(string projektpfad)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
78
SanSystem/frmObjektEdit.Designer.cs
generated
78
SanSystem/frmObjektEdit.Designer.cs
generated
@@ -30,6 +30,8 @@
|
|||||||
{
|
{
|
||||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||||
|
this.cb_objekname_man = new System.Windows.Forms.CheckBox();
|
||||||
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
this.txt_ort = new System.Windows.Forms.TextBox();
|
this.txt_ort = new System.Windows.Forms.TextBox();
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
this.txt_bemerkung = new System.Windows.Forms.TextBox();
|
this.txt_bemerkung = new System.Windows.Forms.TextBox();
|
||||||
@@ -60,24 +62,25 @@
|
|||||||
this.btn_close = new System.Windows.Forms.Button();
|
this.btn_close = new System.Windows.Forms.Button();
|
||||||
this.btn_add_san = new System.Windows.Forms.Button();
|
this.btn_add_san = new System.Windows.Forms.Button();
|
||||||
this.btn_delete = new System.Windows.Forms.Button();
|
this.btn_delete = new System.Windows.Forms.Button();
|
||||||
this.label8 = new System.Windows.Forms.Label();
|
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||||
this.cb_objekname_man = new System.Windows.Forms.CheckBox();
|
this.dgv_schadenkuerzel = new System.Windows.Forms.DataGridView();
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.tabPage1.SuspendLayout();
|
this.tabPage1.SuspendLayout();
|
||||||
this.groupBox2.SuspendLayout();
|
this.groupBox2.SuspendLayout();
|
||||||
|
this.tabPage2.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dgv_schadenkuerzel)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// tabControl1
|
// tabControl1
|
||||||
//
|
//
|
||||||
this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.tabControl1.Controls.Add(this.tabPage1);
|
this.tabControl1.Controls.Add(this.tabPage1);
|
||||||
this.tabControl1.Location = new System.Drawing.Point(13, 14);
|
this.tabControl1.Controls.Add(this.tabPage2);
|
||||||
|
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.tabControl1.Name = "tabControl1";
|
this.tabControl1.Name = "tabControl1";
|
||||||
this.tabControl1.SelectedIndex = 0;
|
this.tabControl1.SelectedIndex = 0;
|
||||||
this.tabControl1.Size = new System.Drawing.Size(1264, 612);
|
this.tabControl1.Size = new System.Drawing.Size(1290, 702);
|
||||||
this.tabControl1.TabIndex = 0;
|
this.tabControl1.TabIndex = 0;
|
||||||
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
|
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
@@ -112,11 +115,32 @@
|
|||||||
this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.tabPage1.Name = "tabPage1";
|
this.tabPage1.Name = "tabPage1";
|
||||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.tabPage1.Size = new System.Drawing.Size(1256, 579);
|
this.tabPage1.Size = new System.Drawing.Size(1282, 669);
|
||||||
this.tabPage1.TabIndex = 0;
|
this.tabPage1.TabIndex = 0;
|
||||||
this.tabPage1.Text = "Grunddaten";
|
this.tabPage1.Text = "Grunddaten";
|
||||||
this.tabPage1.UseVisualStyleBackColor = true;
|
this.tabPage1.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
|
// cb_objekname_man
|
||||||
|
//
|
||||||
|
this.cb_objekname_man.AutoSize = true;
|
||||||
|
this.cb_objekname_man.Location = new System.Drawing.Point(108, 70);
|
||||||
|
this.cb_objekname_man.Name = "cb_objekname_man";
|
||||||
|
this.cb_objekname_man.Size = new System.Drawing.Size(60, 20);
|
||||||
|
this.cb_objekname_man.TabIndex = 29;
|
||||||
|
this.cb_objekname_man.Text = "man?";
|
||||||
|
this.cb_objekname_man.UseVisualStyleBackColor = true;
|
||||||
|
this.cb_objekname_man.CheckedChanged += new System.EventHandler(this.cb_objekname_man_CheckedChanged);
|
||||||
|
//
|
||||||
|
// 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(725, 276);
|
||||||
|
this.label8.Name = "label8";
|
||||||
|
this.label8.Size = new System.Drawing.Size(91, 20);
|
||||||
|
this.label8.TabIndex = 28;
|
||||||
|
this.label8.Text = "Bemerkung";
|
||||||
|
//
|
||||||
// txt_ort
|
// txt_ort
|
||||||
//
|
//
|
||||||
this.txt_ort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.txt_ort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
@@ -456,26 +480,26 @@
|
|||||||
this.btn_delete.UseVisualStyleBackColor = true;
|
this.btn_delete.UseVisualStyleBackColor = true;
|
||||||
this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
|
this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
|
||||||
//
|
//
|
||||||
// label8
|
// tabPage2
|
||||||
//
|
//
|
||||||
this.label8.AutoSize = true;
|
this.tabPage2.Controls.Add(this.dgv_schadenkuerzel);
|
||||||
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.tabPage2.Location = new System.Drawing.Point(4, 29);
|
||||||
this.label8.Location = new System.Drawing.Point(725, 276);
|
this.tabPage2.Name = "tabPage2";
|
||||||
this.label8.Name = "label8";
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||||
this.label8.Size = new System.Drawing.Size(91, 20);
|
this.tabPage2.Size = new System.Drawing.Size(1282, 669);
|
||||||
this.label8.TabIndex = 28;
|
this.tabPage2.TabIndex = 1;
|
||||||
this.label8.Text = "Bemerkung";
|
this.tabPage2.Text = "Kanalinformationen";
|
||||||
|
this.tabPage2.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cb_objekname_man
|
// dgv_schadenkuerzel
|
||||||
//
|
//
|
||||||
this.cb_objekname_man.AutoSize = true;
|
this.dgv_schadenkuerzel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
this.cb_objekname_man.Location = new System.Drawing.Point(108, 70);
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.cb_objekname_man.Name = "cb_objekname_man";
|
this.dgv_schadenkuerzel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.cb_objekname_man.Size = new System.Drawing.Size(60, 20);
|
this.dgv_schadenkuerzel.Location = new System.Drawing.Point(6, 6);
|
||||||
this.cb_objekname_man.TabIndex = 29;
|
this.dgv_schadenkuerzel.Name = "dgv_schadenkuerzel";
|
||||||
this.cb_objekname_man.Text = "man?";
|
this.dgv_schadenkuerzel.Size = new System.Drawing.Size(1268, 269);
|
||||||
this.cb_objekname_man.UseVisualStyleBackColor = true;
|
this.dgv_schadenkuerzel.TabIndex = 0;
|
||||||
this.cb_objekname_man.CheckedChanged += new System.EventHandler(this.cb_objekname_man_CheckedChanged);
|
|
||||||
//
|
//
|
||||||
// frmObjektEdit
|
// frmObjektEdit
|
||||||
//
|
//
|
||||||
@@ -499,6 +523,8 @@
|
|||||||
this.tabPage1.PerformLayout();
|
this.tabPage1.PerformLayout();
|
||||||
this.groupBox2.ResumeLayout(false);
|
this.groupBox2.ResumeLayout(false);
|
||||||
this.groupBox2.PerformLayout();
|
this.groupBox2.PerformLayout();
|
||||||
|
this.tabPage2.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dgv_schadenkuerzel)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -539,5 +565,7 @@
|
|||||||
private System.Windows.Forms.Label label7;
|
private System.Windows.Forms.Label label7;
|
||||||
private System.Windows.Forms.Label label8;
|
private System.Windows.Forms.Label label8;
|
||||||
private System.Windows.Forms.CheckBox cb_objekname_man;
|
private System.Windows.Forms.CheckBox cb_objekname_man;
|
||||||
|
private System.Windows.Forms.TabPage tabPage2;
|
||||||
|
private System.Windows.Forms.DataGridView dgv_schadenkuerzel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -34,6 +34,8 @@ namespace SanSystem
|
|||||||
btn_close.Text = Global.Instance.language.Labels["btn_close"];
|
btn_close.Text = Global.Instance.language.Labels["btn_close"];
|
||||||
this.inspektionsobjekt = inspektion;
|
this.inspektionsobjekt = inspektion;
|
||||||
|
|
||||||
|
dgv_schadenkuerzel.DataSource = inspektion.Schadenskuerzeln;
|
||||||
|
|
||||||
foreach(Sanierung san in inspektion.Sanierung)
|
foreach(Sanierung san in inspektion.Sanierung)
|
||||||
{
|
{
|
||||||
TabPage tab = new TabPage();
|
TabPage tab = new TabPage();
|
||||||
|
|||||||
Reference in New Issue
Block a user