Сделай Сам Свою Работу на 5

B. Мероприятия пожарной безопасности





На объекте и прилегающей территории должна быть обеспечена безопасность для жизни и здоровья людей при пожаре, а также разработаны инструкции о мерах пожарной безопасности для каждого взрывоопасного и пожароопасного участка:

- Здания, помещения объекта должны быть оборудованы противопожарными системами и установками (противодымной защиты, средствами пожарной автоматики, системами противопожарного водоснабжения), средствами пожаротушения по нормам и правилам, установленным соответствующими разделами технического регламента пожарной безопасности.

- На объектах, при единовременном нахождении в них более 10 человек, должны быть разработаны и вывешены на видных местах планы (схемы) эвакуации людей в случае пожара, а также предусмотрена система (установка) оповещения людей о пожаре.

- Для объектов, работающих в круглосуточном режиме, в инструкциях должны предусматриваться два варианта действий: в дневное и ночное время.

- Руководитель объекта должен назначить лиц, ответственных за пожарную безопасность в зданиях, помещениях, отделах.

- Курение разрешается только в специально отведенных и оборудованных местах, обозначенных знаками пожарной безопасности.



В зданиях и сооружениях запрещается:

- хранение и применение в подвалах и цокольных этажах ЛВЖ и ГЖ, взрывчатых веществ, баллонов с газом и т. д.;

- загромождать мебелью, оборудованием, другими предметами двери, люки на балконах и лоджиях, переходы в смежные секции и выходы на наружные эвакуационные лестницы;

Под противопожарным режимом следует понимать: совокупность определенных мер и требований пожарной безопасности, заранее установленных для объекта или отдельного помещения и подлежащих обязательному выполнению всеми работающими там лицами.

Основная его цель – недопущение пожаров от курения, небрежного обращения с огнем, неосторожного ведения огневых работ, не выключенных нагревательных приборов и других аналогичных причин. Кроме того, противопожарный режим охватывает и такие профилактические меры, как содержание проходов и путей эвакуации, тщательная уборка помещений и рабочих мест, установление и соблюдение норм хранения в цехах, складах и других помещениях материалов, сырья и готовой продукции, а также осмотр и закрытие помещений после окончания работы.




Заключение

 

В рамках дипломного проекта мною был проанализирован аспект фонтанного способа добычи нефти, методология расчета оборудования с учетом всех входных с целью удовлетворения всех потребностей и условий создаваемого проекта по реализации программного средства по расчету оборудования для фонтанного способа добычи нефти. Также мною была реализована программа, выполняющая следующие функции:

1) Выполнять расчеты фланцевых соединений фонтанной арматуры;

2) Выполнять расчеты задвижки;

3) Выполнять расчеты шпинделя;

4) Выполнять расчеты сальникового уплотнения;

5) Выводить и сохранять результаты в базу данных.

 

 

Список использованных источников

1. К.С. Аливердизаде, А.А. Даниелян, В.И. Документов, А.К. Ибатулов, В.О. Пахлавуни, Л.Г. Чичеров, С.В. Юркевский, Расчет и конструирование оборудования для эксплуатации нефтяных скважин. – Государственное научно-техническое издательство нефтяной и горно-топливной литературы, Москва 1959г.

2. Герберт Шилдт, C#4.0. Полное руководство. – Вильямс, Москва 2009

3. Румянцева Е.Л., В.В. Слюсарь. Информационные технологии. / Под ред.проф.Л.Г. Гагариной. – М.: ИД « Форум»: ИНФРА-М, 2009. – 256 с.: ил.

4. Семакин И.Г. Информационные системы и модели. Элективный курс: Учебное пособие / И.Г. Семакин, Е.К. Хеннер. – М.:БИНОМ. Лаборатория знаний, 2010. – 303с.

5. Советов Б.Я. Информационные технологии: Учеб. для вузов/Б.Я. Советов, В.В. Цехановский – 2-е изд., стер. – М.: Высш.шк., 2010. – 263с.:



6. Фуфаев Э.В. Базы данных: Учеб.пособие для студ.сред.проф.образования / Э.Ф. Фуфаев, Д.Э. Фуфаев – Издательский центр «Академия», 2011. – 320 с.

7. Хомоненко А.Д., Цыганков В.М., Мальцев М.Г. Базы данных: Учебник для высших заведений / Под ред.проф. А.Д. Хомоненко.- 4-е изд., доп. и перераб.- СПб.: КОРОНА принт, 2011.

 


ПРИЛОЖЕНИЯ

Блок-схема

 


Текст программы

МИНИСТЕРСТВО ОБРАЗОВАНИЯ И НАУКИ

РЕСПУБЛИКИ ТАТАРСТАН

ГОУ СПО АЛЬМЕТЬЕВСКИЙ ПОЛИТЕХНИЧЕСКИЙ ТЕХНИКУМ

 

 

РАЗРАБОТКА ПРОГРАММЫ ПО РАСЧЕТУ ОБОРУДОВАНИЯ ДЛЯ ФОНТАННОГО СПОСОБА ДОБЫЧИ НЕФТИ

Текст программы

ДП.230105.101б.03.12

Листов 51

 


using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

namespace calculate_equipment

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

// Инструкция

private void button4_Click(object sender, EventArgs e)

{

System.Diagnostics.Process.Start(".\\instruction.doc");

}

// Расчет шейки магистрального фланца

private void button1_Click(object sender, EventArgs e)

{

Form2 frm = new Form2();

frm.Show();

}

// Расчет шпинделя

private void button2_Click(object sender, EventArgs e)

{

Form3 frm = new Form3();

frm.Show();

}

// Расчет сальникового уплотнения

private void button3_Click(object sender, EventArgs e)

{

Form4 frm = new Form4();

frm.Show();

}

// Расчет фланцевых соединений фонтанной арматуры

private void button5_Click(object sender, EventArgs e)

{

Form5 frm = new Form5();

frm.Show();

}

// Результаты

private void button6_Click(object sender, EventArgs e)

{

System.Diagnostics.Process.Start(".\\results.mdb");

}

}

}

namespace calculate_equipment

{

partial class Form1

{

/// <summary>

/// Требуется переменная конструктора.

/// </summary>

private System.ComponentModel.IContainer components = null;

/// <summary>

/// Освободить все используемые ресурсы.

/// </summary>

/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>

protected override void Dispose(bool disposing)

{

if (disposing && (components != null))

{

components.Dispose();

}

base.Dispose(disposing);

}

#region Код, автоматически созданный конструктором форм Windows

/// <summary>

/// Обязательный метод для поддержки конструктора - не изменяйте

/// содержимое данного метода при помощи редактора кода.

/// </summary>

private void InitializeComponent()

{

System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));

this.button1 = new System.Windows.Forms.Button();

this.button2 = new System.Windows.Forms.Button();

this.button3 = new System.Windows.Forms.Button();

this.button4 = new System.Windows.Forms.Button();

this.label1 = new System.Windows.Forms.Label();

this.button5 = new System.Windows.Forms.Button();

this.button6 = new System.Windows.Forms.Button();

this.SuspendLayout();

//

// button1

//

this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.button1.Location = new System.Drawing.Point(13, 59);

this.button1.Name = "button1";

this.button1.Size = new System.Drawing.Size(455, 41);

this.button1.TabIndex = 0;

this.button1.Text = "Расчет шейки магистрального фланца";

this.button1.UseVisualStyleBackColor = true;

this.button1.Click += new System.EventHandler(this.button1_Click);

//

// button2

//

this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.button2.Location = new System.Drawing.Point(14, 106);

this.button2.Name = "button2";

this.button2.Size = new System.Drawing.Size(455, 41);

this.button2.TabIndex = 1;

this.button2.Text = "Расчет шпинделя";

this.button2.UseVisualStyleBackColor = true;

this.button2.Click += new System.EventHandler(this.button2_Click);

//

// button3

//

this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.button3.Location = new System.Drawing.Point(14, 153);

this.button3.Name = "button3";

this.button3.Size = new System.Drawing.Size(455, 41);

this.button3.TabIndex = 2;

this.button3.Text = "Расчет сальникового уплотнения";

this.button3.UseVisualStyleBackColor = true;

this.button3.Click += new System.EventHandler(this.button3_Click);

//

// button4

//

this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.button4.Location = new System.Drawing.Point(14, 249);

this.button4.Name = "button4";

this.button4.Size = new System.Drawing.Size(455, 41);

this.button4.TabIndex = 3;

this.button4.Text = "Инструкция";

this.button4.UseVisualStyleBackColor = true;

this.button4.Click += new System.EventHandler(this.button4_Click);

//

// label1

//

this.label1.AutoSize = true;

this.label1.Location = new System.Drawing.Point(355, 314);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(114, 13);

this.label1.TabIndex = 4;

this.label1.Text = "Рустам Ахметвалеев";

//

// button5

//

this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.button5.Location = new System.Drawing.Point(13, 12);

this.button5.Name = "button5";

this.button5.Size = new System.Drawing.Size(455, 41);

this.button5.TabIndex = 5;

this.button5.Text = "Расчет фланцевых соединений фонтанной арматуры";

this.button5.UseVisualStyleBackColor = true;

this.button5.Click += new System.EventHandler(this.button5_Click);

//

// button6

//

this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.button6.Location = new System.Drawing.Point(14, 201);

this.button6.Name = "button6";

this.button6.Size = new System.Drawing.Size(455, 41);

this.button6.TabIndex = 6;

this.button6.Text = "Результаты";

this.button6.UseVisualStyleBackColor = true;

this.button6.Click += new System.EventHandler(this.button6_Click);

//

// Form1

//

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.ClientSize = new System.Drawing.Size(480, 341);

this.Controls.Add(this.button6);

this.Controls.Add(this.button5);

this.Controls.Add(this.label1);

this.Controls.Add(this.button4);

this.Controls.Add(this.button3);

this.Controls.Add(this.button2);

this.Controls.Add(this.button1);

this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

this.Name = "Form1";

this.Text = "Расчет оборудования для фонтанного способа добычи нефти";

this.ResumeLayout(false);

this.PerformLayout();

}

#endregion

private System.Windows.Forms.Button button1;

private System.Windows.Forms.Button button2;

private System.Windows.Forms.Button button3;

private System.Windows.Forms.Button button4;

private System.Windows.Forms.Label label1;

private System.Windows.Forms.Button button5;

private System.Windows.Forms.Button button6;

}

}

Using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.Data.OleDb;

namespace calculate_equipment

{

public partial class Form2 : Form

{

public Form2()

{

InitializeComponent();

}

 

// Расчеты

private void button1_Click(object sender, EventArgs e)

{

// Проверка на заполненность входных данных

if ((numericUpDown2.Value > 0)

&& (numericUpDown3.Value > 0)

&& (numericUpDown4.Value > 0))

{

// Скрыть сообщение об ошибке

label6.Visible = false;

// Класс с формулами расчетов

MathClass obj = new MathClass();

// Теория наибольших нормальных напряжений

double S1 = obj.firstTheoryOfStrength(

(double) numericUpDown2.Value,

(double) numericUpDown3.Value,

(double) numericUpDown4.Value);

// Теория наибольших относительных удлинений

double S2 = obj.secondTheoryOfStrength(

(double) numericUpDown2.Value,

(double) numericUpDown3.Value,

(double) numericUpDown4.Value);

// Вывод результатов

label10.Text = Math.Round(S1,3).ToString() + " см";

label11.Text = Math.Round(S2,3).ToString() + " см";

// Вывод результатов

label8.Visible = true;

label9.Visible = true;

label10.Visible = true;

label11.Visible = true;

// Запись в БД -файл

string connectionString =

"provider=Microsoft.Jet.OLEDB.4.0;" +

"data source=results.mdb";

OleDbConnection myOleDbConnection = new OleDbConnection(connectionString);

 

OleDbCommand myOleDbCommand = myOleDbConnection.CreateCommand();

myOleDbCommand.CommandText = "INSERT INTO Расчет_шейки_магистрального_фланца" +

"(Рабочее_давление," +

"Внутренний_диаметр_цилиндра," +

"Допускаемое_напряжение_на_растяжение," +

"Толщина_стенки_по_первой_теории_прочности," +

"Толщина_стенки_по_второй_теории_прочности)" +

"VALUES(\"" + numericUpDown2.Value.ToString() + "\"," +

"\"" + numericUpDown3.Value.ToString() + "\"," +

"\"" + numericUpDown4.Value.ToString() + "\"," +

"\"" + label10.Text + "\"," +

"\"" + label11.Text + "\")";

myOleDbConnection.Open();

// Выполняем запрос к БД

myOleDbCommand.ExecuteNonQuery();

}

else

{

label6.Visible = true;

label8.Visible = false;

label9.Visible = false;

label10.Visible = false;

label11.Visible = false;

}

}

}

}

namespace calculate_equipment

{

partial class Form2

{

/// <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()

{

System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));

this.label2 = new System.Windows.Forms.Label();

this.label3 = new System.Windows.Forms.Label();

this.label4 = new System.Windows.Forms.Label();

this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();

this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();

this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();

this.button1 = new System.Windows.Forms.Button();

this.label5 = new System.Windows.Forms.Label();

this.label6 = new System.Windows.Forms.Label();

this.label1 = new System.Windows.Forms.Label();

this.label7 = new System.Windows.Forms.Label();

this.label8 = new System.Windows.Forms.Label();

this.label9 = new System.Windows.Forms.Label();

this.label10 = new System.Windows.Forms.Label();

this.label11 = new System.Windows.Forms.Label();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();

this.SuspendLayout();

//

// label2

//

this.label2.AutoSize = true;

this.label2.Location = new System.Drawing.Point(114, 31);

this.label2.Name = "label2";

this.label2.Size = new System.Drawing.Size(141, 13);

this.label2.TabIndex = 1;

this.label2.Text = "- рабочее давление, кг/см";

//

// label3

//

this.label3.AutoSize = true;

this.label3.Location = new System.Drawing.Point(114, 58);

this.label3.Name = "label3";

this.label3.Size = new System.Drawing.Size(188, 13);

this.label3.TabIndex = 2;

this.label3.Text = "- внутренний диаметр цилиндра, см";

//

// label4

//

this.label4.AutoSize = true;

this.label4.Location = new System.Drawing.Point(114, 84);

this.label4.Name = "label4";

this.label4.Size = new System.Drawing.Size(260, 13);

this.label4.TabIndex = 3;

this.label4.Text = "- допускаемое напряжение на растяжение, кг/см";

//

// numericUpDown2

//

this.numericUpDown2.Location = new System.Drawing.Point(16, 29);

this.numericUpDown2.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown2.Name = "numericUpDown2";

this.numericUpDown2.Size = new System.Drawing.Size(92, 20);

this.numericUpDown2.TabIndex = 5;

//

// numericUpDown3

//

this.numericUpDown3.Location = new System.Drawing.Point(16, 56);

this.numericUpDown3.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown3.Name = "numericUpDown3";

this.numericUpDown3.Size = new System.Drawing.Size(92, 20);

this.numericUpDown3.TabIndex = 6;

//

// numericUpDown4

//

this.numericUpDown4.Location = new System.Drawing.Point(16, 82);

this.numericUpDown4.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown4.Name = "numericUpDown4";

this.numericUpDown4.Size = new System.Drawing.Size(92, 20);

this.numericUpDown4.TabIndex = 7;

//

// button1

//

this.button1.Location = new System.Drawing.Point(16, 109);

this.button1.Name = "button1";

this.button1.Size = new System.Drawing.Size(92, 23);

this.button1.TabIndex = 8;

this.button1.Text = "Рассчитать";

this.button1.UseVisualStyleBackColor = true;

this.button1.Click += new System.EventHandler(this.button1_Click);

//

// label5

//

this.label5.AutoSize = true;

this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label5.Location = new System.Drawing.Point(12, 3);

this.label5.Name = "label5";

this.label5.Size = new System.Drawing.Size(342, 20);

this.label5.TabIndex = 9;

this.label5.Text = "Расчет шейки магистрального фланца";

//

// label6

//

this.label6.AutoSize = true;

this.label6.ForeColor = System.Drawing.Color.Red;

this.label6.Location = new System.Drawing.Point(114, 114);

this.label6.Name = "label6";

this.label6.Size = new System.Drawing.Size(178, 13);

this.label6.TabIndex = 10;

this.label6.Text = "ВВЕДИТЕ ИСХОДНЫЕ ДАННЫЕ";

this.label6.Visible = false;

//

// label1

//

this.label1.AutoSize = true;

this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label1.Location = new System.Drawing.Point(254, 30);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(9, 9);

this.label1.TabIndex = 11;

this.label1.Text = "2";

//

// label7

//

this.label7.AutoSize = true;

this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label7.Location = new System.Drawing.Point(373, 84);

this.label7.Name = "label7";

this.label7.Size = new System.Drawing.Size(9, 9);

this.label7.TabIndex = 12;

this.label7.Text = "2";

//

// label8

//

this.label8.AutoSize = true;

this.label8.Location = new System.Drawing.Point(13, 156);

this.label8.Name = "label8";

this.label8.Size = new System.Drawing.Size(342, 13);

this.label8.TabIndex = 13;

this.label8.Text = "Толщина стенки по теории наибольших нормальных напряжений:";

this.label8.Visible = false;

//

// label9

//

this.label9.AutoSize = true;

this.label9.Location = new System.Drawing.Point(13, 187);

this.label9.Name = "label9";

this.label9.Size = new System.Drawing.Size(347, 13);

this.label9.TabIndex = 14;

this.label9.Text = "Толщина стенки по теории наибольших относительных удлинений:";

this.label9.Visible = false;

//

// label10

//

this.label10.AutoSize = true;

this.label10.Location = new System.Drawing.Point(361, 156);

this.label10.Name = "label10";

this.label10.Size = new System.Drawing.Size(41, 13);

this.label10.TabIndex = 15;

this.label10.Text = "label10";

this.label10.Visible = false;

//

// label11

//

this.label11.AutoSize = true;

this.label11.Location = new System.Drawing.Point(361, 187);

this.label11.Name = "label11";

this.label11.Size = new System.Drawing.Size(41, 13);

this.label11.TabIndex = 16;

this.label11.Text = "label11";

this.label11.Visible = false;

//

// Form2

//

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.ClientSize = new System.Drawing.Size(419, 222);

this.Controls.Add(this.label11);

this.Controls.Add(this.label10);

this.Controls.Add(this.label9);

this.Controls.Add(this.label8);

this.Controls.Add(this.label7);

this.Controls.Add(this.label1);

this.Controls.Add(this.label6);

this.Controls.Add(this.label5);

this.Controls.Add(this.button1);

this.Controls.Add(this.numericUpDown4);

this.Controls.Add(this.numericUpDown3);

this.Controls.Add(this.numericUpDown2);

this.Controls.Add(this.label4);

this.Controls.Add(this.label3);

this.Controls.Add(this.label2);

this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

this.Name = "Form2";

this.Text = "Расчет шейки магистрального фланца";

((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();

this.ResumeLayout(false);

this.PerformLayout();

 

}

 

#endregion

 

private System.Windows.Forms.Label label2;

private System.Windows.Forms.Label label3;

private System.Windows.Forms.Label label4;

private System.Windows.Forms.NumericUpDown numericUpDown2;

private System.Windows.Forms.NumericUpDown numericUpDown3;

private System.Windows.Forms.NumericUpDown numericUpDown4;

private System.Windows.Forms.Button button1;

private System.Windows.Forms.Label label5;

private System.Windows.Forms.Label label6;

private System.Windows.Forms.Label label1;

private System.Windows.Forms.Label label7;

private System.Windows.Forms.Label label8;

private System.Windows.Forms.Label label9;

private System.Windows.Forms.Label label10;

private System.Windows.Forms.Label label11;

}

}

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.Data.OleDb;

 

namespace calculate_equipment

{

public partial class Form3 : Form

{

public Form3()

{

InitializeComponent();

comboBox1.SelectedIndex = 0;

}

 

// Расчеты

private void button1_Click(object sender, EventArgs e)

{

int type = 1;

// Определение типа материала

switch (comboBox1.Text)

{

case "сталь":

type = 1;

break;

case "чугун":

type = 2;

break;

case "бронза":

type = 2;

break;

case "латунь":

type = 2;

break;

case "алюминий":

type = 3;

break;

case "текстолит":

type = 4;

break;

case "стекло":

type = 4;

break;

case "полихлорвинил":

type = 4;

break;

case "резина":

type = 5;

break;

}

// Проверка на заполненность входных данных

if ((numericUpDown1.Value > 0)

&& (numericUpDown2.Value > 0)

&& (numericUpDown3.Value > 0)

&& (numericUpDown4.Value > 0)

&& (numericUpDown5.Value > 0))

{

// Скрыть сообщение об ошибке

label8.Visible = false;

label13.Visible = true;

label14.Visible = true;

label15.Visible = true;

label16.Visible = true;

// Класс с формулами расчетов

MathClass obj = new MathClass();

// Усилие для уплотнения сальниковой набивки

double P = obj.hydrostaticPressure(

(double)numericUpDown2.Value,

(double)numericUpDown1.Value,

(double)numericUpDown3.Value);

double N1 = obj.forceBetweenTheSurfaces(

obj.unitPressure(

(double)numericUpDown2.Value,

(double)numericUpDown3.Value,

type),

(double)numericUpDown1.Value,

(double)numericUpDown4.Value);

double Q = obj.specificSpindle(

P,

N1,

(double)numericUpDown2.Value,

(double)numericUpDown6.Value,

(double)numericUpDown7.Value);

 

label13.Text = Math.Round(P, 3).ToString();

label14.Text = Math.Round(Q, 3).ToString();

// Запись в БД -файл

string connectionString =

"provider=Microsoft.Jet.OLEDB.4.0;" +

"data source=results.mdb";

OleDbConnection myOleDbConnection = new OleDbConnection(connectionString);

 

OleDbCommand myOleDbCommand = myOleDbConnection.CreateCommand();

myOleDbCommand.CommandText = "INSERT INTO Расчет_шпинделя" +

"(Внутренний_диаметр_уплотнительного_кольца, Наружный_диаметр_уплотнительного_кольца, Условное_давление, Рабочее_давление_среды, Ширина_уплотнительных_колец, Диаметр_шпинделя, Вес_клина, Гидростатическое_давление_колец, Усилие_вдоль_шпинделя)" +

"VALUES(\"" + numericUpDown1.Value.ToString() + "\", \"" + numericUpDown4.Value.ToString() + "\", \"" + numericUpDown2.Value.ToString() + "\", \"" + numericUpDown5.Value.ToString() + "\", \"" + numericUpDown3.Value.ToString() + "\", \"" + numericUpDown7.Value.ToString() + "\", \"" + numericUpDown6.Value.ToString() + "\", \"" + label14.Text + "\", \"" + label13.Text + "\")";

myOleDbConnection.Open();

// Выполняем запрос к БД

myOleDbCommand.ExecuteNonQuery();

}

else

{

label8.Visible = true;

label13.Visible = false;

label14.Visible = false;

label15.Visible = false;

label16.Visible = false;

}

}

}

}

namespace calculate_equipment

{

partial class Form3

{

/// <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()

{

System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form3));

this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();

this.label9 = new System.Windows.Forms.Label();

this.label1 = new System.Windows.Forms.Label();

this.label5 = new System.Windows.Forms.Label();

this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();

this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();

this.label3 = new System.Windows.Forms.Label();

this.label2 = new System.Windows.Forms.Label();

this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();

this.label4 = new System.Windows.Forms.Label();

this.label6 = new System.Windows.Forms.Label();

this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();

this.label7 = new System.Windows.Forms.Label();

this.label8 = new System.Windows.Forms.Label();

this.button1 = new System.Windows.Forms.Button();

this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();

this.label10 = new System.Windows.Forms.Label();

this.comboBox1 = new System.Windows.Forms.ComboBox();

this.label11 = new System.Windows.Forms.Label();

this.numericUpDown7 = new System.Windows.Forms.NumericUpDown();

this.label12 = new System.Windows.Forms.Label();

this.label13 = new System.Windows.Forms.Label();

this.label14 = new System.Windows.Forms.Label();

this.label15 = new System.Windows.Forms.Label();

this.label16 = new System.Windows.Forms.Label();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();

this.SuspendLayout();

//

// numericUpDown1

//

this.numericUpDown1.Location = new System.Drawing.Point(16, 32);

this.numericUpDown1.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown1.Name = "numericUpDown1";

this.numericUpDown1.Size = new System.Drawing.Size(92, 20);

this.numericUpDown1.TabIndex = 37;

//

// label9

//

this.label9.AutoSize = true;

this.label9.Location = new System.Drawing.Point(114, 34);

this.label9.Name = "label9";

this.label9.Size = new System.Drawing.Size(265, 13);

this.label9.TabIndex = 36;

this.label9.Text = "- внутренний диаметр уплотнительного кольца, см";

//

// label1

//

this.label1.AutoSize = true;

this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label1.Location = new System.Drawing.Point(259, 87);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(9, 9);

this.label1.TabIndex = 35;

this.label1.Text = "2";

//

// label5

//

this.label5.AutoSize = true;

this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label5.Location = new System.Drawing.Point(12, 9);

this.label5.Name = "label5";

this.label5.Size = new System.Drawing.Size(161, 20);

this.label5.TabIndex = 34;

this.label5.Text = "Расчет шпинделя";

//

// numericUpDown3

//

this.numericUpDown3.Location = new System.Drawing.Point(16, 138);

this.numericUpDown3.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown3.Name = "numericUpDown3";

this.numericUpDown3.Size = new System.Drawing.Size(92, 20);

this.numericUpDown3.TabIndex = 32;

//

// numericUpDown2

//

this.numericUpDown2.Location = new System.Drawing.Point(16, 86);

this.numericUpDown2.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown2.Name = "numericUpDown2";

this.numericUpDown2.Size = new System.Drawing.Size(92, 20);

this.numericUpDown2.TabIndex = 31;

//

// label3

//

this.label3.AutoSize = true;

this.label3.Location = new System.Drawing.Point(114, 140);

this.label3.Name = "label3";

this.label3.Size = new System.Drawing.Size(189, 13);

this.label3.TabIndex = 29;

this.label3.Text = "- ширина уплотнительных колец, см";

//

// label2

//

this.label2.AutoSize = true;

this.label2.Location = new System.Drawing.Point(114, 88);

this.label2.Name = "label2";

this.label2.Size = new System.Drawing.Size(147, 13);

this.label2.TabIndex = 28;

this.label2.Text = "- условное давление, кг/см";

//

// numericUpDown4

//

this.numericUpDown4.Location = new System.Drawing.Point(16, 59);

this.numericUpDown4.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown4.Name = "numericUpDown4";

this.numericUpDown4.Size = new System.Drawing.Size(92, 20);

this.numericUpDown4.TabIndex = 39;

//

// label4

//

this.label4.AutoSize = true;

this.label4.Location = new System.Drawing.Point(114, 61);

this.label4.Name = "label4";

this.label4.Size = new System.Drawing.Size(258, 13);

this.label4.TabIndex = 38;

this.label4.Text = "- наружный диаметр уплотнительного кольца, см";

//

// label6

//

this.label6.AutoSize = true;

this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label6.Location = new System.Drawing.Point(288, 113);

this.label6.Name = "label6";

this.label6.Size = new System.Drawing.Size(9, 9);

this.label6.TabIndex = 42;

this.label6.Text = "2";

//

// numericUpDown5

//

this.numericUpDown5.Location = new System.Drawing.Point(16, 112);

this.numericUpDown5.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown5.Name = "numericUpDown5";

this.numericUpDown5.Size = new System.Drawing.Size(92, 20);

this.numericUpDown5.TabIndex = 41;

//

// label7

//

this.label7.AutoSize = true;

this.label7.Location = new System.Drawing.Point(114, 114);

this.label7.Name = "label7";

this.label7.Size = new System.Drawing.Size(176, 13);

this.label7.TabIndex = 40;

this.label7.Text = "- рабочее давление среды, кг/см";

//

// label8

//

this.label8.AutoSize = true;

this.label8.ForeColor = System.Drawing.Color.Red;

this.label8.Location = new System.Drawing.Point(114, 249);

this.label8.Name = "label8";

this.label8.Size = new System.Drawing.Size(178, 13);

this.label8.TabIndex = 44;

this.label8.Text = "ВВЕДИТЕ ИСХОДНЫЕ ДАННЫЕ";

this.label8.Visible = false;

//

// button1

//

this.button1.Location = new System.Drawing.Point(16, 244);

this.button1.Name = "button1";

this.button1.Size = new System.Drawing.Size(92, 23);

this.button1.TabIndex = 43;

this.button1.Text = "Рассчитать";

this.button1.UseVisualStyleBackColor = true;

this.button1.Click += new System.EventHandler(this.button1_Click);

//

// numericUpDown6

//

this.numericUpDown6.Location = new System.Drawing.Point(16, 190);

this.numericUpDown6.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown6.Name = "numericUpDown6";

this.numericUpDown6.Size = new System.Drawing.Size(92, 20);

this.numericUpDown6.TabIndex = 46;

//

// label10

//

this.label10.AutoSize = true;

this.label10.Location = new System.Drawing.Point(114, 192);

this.label10.Name = "label10";

this.label10.Size = new System.Drawing.Size(81, 13);

this.label10.TabIndex = 45;

this.label10.Text = "- вес клина, кг";

//

// comboBox1

//

this.comboBox1.FormattingEnabled = true;

this.comboBox1.Items.AddRange(new object[] {

"сталь",

"чугун",

"бронза",

"латунь",

"алюминий",

"текстолит",

"стекло",

"полихлорвинил",

"резина"});

this.comboBox1.Location = new System.Drawing.Point(16, 217);

this.comboBox1.Name = "comboBox1";

this.comboBox1.Size = new System.Drawing.Size(92, 21);

this.comboBox1.TabIndex = 47;

//

// label11

//

this.label11.AutoSize = true;

this.label11.Location = new System.Drawing.Point(114, 220);

this.label11.Name = "label11";

this.label11.Size = new System.Drawing.Size(166, 13);

this.label11.TabIndex = 48;

this.label11.Text = "- материал уплотняющих колец";

//

// numericUpDown7

//

this.numericUpDown7.Location = new System.Drawing.Point(16, 164);

this.numericUpDown7.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown7.Name = "numericUpDown7";

this.numericUpDown7.Size = new System.Drawing.Size(92, 20);

this.numericUpDown7.TabIndex = 50;

//

// label12

//

this.label12.AutoSize = true;

this.label12.Location = new System.Drawing.Point(114, 166);

this.label12.Name = "label12";

this.label12.Size = new System.Drawing.Size(129, 13);

this.label12.TabIndex = 49;

this.label12.Text = "- диаметр шпинделя, см";

//

// label13

//

this.label13.AutoSize = true;

this.label13.Location = new System.Drawing.Point(227, 313);

this.label13.Name = "label13";

this.label13.Size = new System.Drawing.Size(41, 13);

this.label13.TabIndex = 54;

this.label13.Text = "label13";

this.label13.Visible = false;

//

// label14

//

this.label14.AutoSize = true;

this.label14.Location = new System.Drawing.Point(227, 282);

this.label14.Name = "label14";

this.label14.Size = new System.Drawing.Size(41, 13);

this.label14.TabIndex = 53;

this.label14.Text = "label14";

this.label14.Visible = false;

//

// label15

//

this.label15.AutoSize = true;

this.label15.Location = new System.Drawing.Point(13, 313);

this.label15.Name = "label15";

this.label15.Size = new System.Drawing.Size(134, 13);

this.label15.TabIndex = 52;

this.label15.Text = "Усилие вдоль шпинделя:";

this.label15.Visible = false;

//

// label16

//

this.label16.AutoSize = true;

this.label16.Location = new System.Drawing.Point(13, 282);

this.label16.Name = "label16";

this.label16.Size = new System.Drawing.Size(189, 13);

this.label16.TabIndex = 51;

this.label16.Text = "Гидростатическое давление среды:";

this.label16.Visible = false;

//

// Form3

//

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.ClientSize = new System.Drawing.Size(444, 338);

this.Controls.Add(this.label13);

this.Controls.Add(this.label14);

this.Controls.Add(this.label15);

this.Controls.Add(this.label16);

this.Controls.Add(this.numericUpDown7);

this.Controls.Add(this.label12);

this.Controls.Add(this.label11);

this.Controls.Add(this.comboBox1);

this.Controls.Add(this.numericUpDown6);

this.Controls.Add(this.label10);

this.Controls.Add(this.label8);

this.Controls.Add(this.button1);

this.Controls.Add(this.label6);

this.Controls.Add(this.numericUpDown5);

this.Controls.Add(this.label7);

this.Controls.Add(this.numericUpDown4);

this.Controls.Add(this.label4);

this.Controls.Add(this.numericUpDown1);

this.Controls.Add(this.label9);

this.Controls.Add(this.label1);

this.Controls.Add(this.label5);

this.Controls.Add(this.numericUpDown3);

this.Controls.Add(this.numericUpDown2);

this.Controls.Add(this.label3);

this.Controls.Add(this.label2);

this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

this.Name = "Form3";

this.Text = "Расчет шпинделя";

((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();

this.ResumeLayout(false);

this.PerformLayout();

 

}

 

#endregion

 

private System.Windows.Forms.NumericUpDown numericUpDown1;

private System.Windows.Forms.Label label9;

private System.Windows.Forms.Label label1;

private System.Windows.Forms.Label label5;

private System.Windows.Forms.NumericUpDown numericUpDown3;

private System.Windows.Forms.NumericUpDown numericUpDown2;

private System.Windows.Forms.Label label3;

private System.Windows.Forms.Label label2;

private System.Windows.Forms.NumericUpDown numericUpDown4;

private System.Windows.Forms.Label label4;

private System.Windows.Forms.Label label6;

private System.Windows.Forms.NumericUpDown numericUpDown5;

private System.Windows.Forms.Label label7;

private System.Windows.Forms.Label label8;

private System.Windows.Forms.Button button1;

private System.Windows.Forms.NumericUpDown numericUpDown6;

private System.Windows.Forms.Label label10;

private System.Windows.Forms.ComboBox comboBox1;

private System.Windows.Forms.Label label11;

private System.Windows.Forms.NumericUpDown numericUpDown7;

private System.Windows.Forms.Label label12;

private System.Windows.Forms.Label label13;

private System.Windows.Forms.Label label14;

private System.Windows.Forms.Label label15;

private System.Windows.Forms.Label label16;

}

}

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.Data.OleDb;

 

namespace calculate_equipment

{

public partial class Form4 : Form

{

public Form4()

{

InitializeComponent();

}

// Расчеты

private void button1_Click(object sender, EventArgs e)

{

// Проверка на заполненность входных данных

if ((numericUpDown1.Value > 0)

&& (numericUpDown2.Value > 0)

&& (numericUpDown3.Value > 0)

&& (numericUpDown4.Value > 0)

&& (numericUpDown5.Value > 0))

{

// Скрыть сообщение об ошибке

label6.Visible = false;

// Класс с формулами расчетов

MathClass obj = new MathClass();

// Усилие для уплотнения сальниковой набивки

double Q = obj.forceToCompact(

(double)numericUpDown1.Value,

(double)numericUpDown3.Value,

1,

(double)numericUpDown2.Value);

// Внутренний диаметр сальниковой камеры

double D = obj.innerDiameter((double)numericUpDown3.Value);

// Глубина камеры

double H1 = obj.chamberDepthOne((double)numericUpDown5.Value);

double H2 = obj.chamberDepthTwo((double)numericUpDown5.Value);

label10.Text = Math.Round(Q,3).ToString();

label11.Text = Math.Round(D, 3).ToString();

label13.Text = H1.ToString() + "\u00F7" + H2.ToString();

label8.Visible = true;

label10.Visible = true;

label11.Visible = true;

label12.Visible = true;

label13.Visible = true;

label14.Visible = true;

// Запись в БД -файл

string connectionString =

"provider=Microsoft.Jet.OLEDB.4.0;" +

"data source=results.mdb";

OleDbConnection myOleDbConnection = new OleDbConnection(connectionString);

 

OleDbCommand myOleDbCommand = myOleDbConnection.CreateCommand();

myOleDbCommand.CommandText = "INSERT INTO Расчет_сальникового_уплотнителя" +

"(Диаметр_отверстия_в_крышке_сальника," +

"Рабочее_давление_среды," +

"Диаметр_шпинделя," +

"Высота_набивки," +

"Толщина_набивки," +

"Усилие_для_уплотнения_сальниковой_набивки," +

"Внутренний_диаметр_сальниковой_камеры," +

"Глубина_камеры)" +

"VALUES(\"" + numericUpDown1.Value.ToString() + "\"," +

"\"" + numericUpDown2.Value.ToString() + "\"," +

"\"" + numericUpDown3.Value.ToString() + "\"," +

"\"" + numericUpDown4.Value.ToString() + "\"," +

"\"" + numericUpDown5.Value.ToString() + "\"," +

"\"" + label10.Text + "\"," +

"\"" + label11.Text + "\"," +

"\"" + label13.Text + "\")";

myOleDbConnection.Open();

// Выполняем запрос к БД

myOleDbCommand.ExecuteNonQuery();

}

else

{

label6.Visible = true;

label8.Visible = false;

label10.Visible = false;

label11.Visible = false;

label12.Visible = false;

label13.Visible = false;

label14.Visible = false;

}

}

}

}

namespace calculate_equipment

{

partial class Form4

{

/// <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()

{

System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form4));

this.label1 = new System.Windows.Forms.Label();

this.label6 = new System.Windows.Forms.Label();

this.label5 = new System.Windows.Forms.Label();

this.button1 = new System.Windows.Forms.Button();

this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();

this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();

this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();

this.label4 = new System.Windows.Forms.Label();

this.label3 = new System.Windows.Forms.Label();

this.label2 = new System.Windows.Forms.Label();

this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();

this.label9 = new System.Windows.Forms.Label();

this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();

this.label7 = new System.Windows.Forms.Label();

this.label11 = new System.Windows.Forms.Label();

this.label10 = new System.Windows.Forms.Label();

this.label8 = new System.Windows.Forms.Label();

this.label12 = new System.Windows.Forms.Label();

this.label13 = new System.Windows.Forms.Label();

this.label14 = new System.Windows.Forms.Label();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();

((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();

this.SuspendLayout();

//

// label1

//

this.label1.AutoSize = true;

this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label1.Location = new System.Drawing.Point(288, 61);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(9, 9);

this.label1.TabIndex = 22;

this.label1.Text = "2";

//

// label6

//

this.label6.AutoSize = true;

this.label6.ForeColor = System.Drawing.Color.Red;

this.label6.Location = new System.Drawing.Point(114, 176);

this.label6.Name = "label6";

this.label6.Size = new System.Drawing.Size(178, 13);

this.label6.TabIndex = 21;

this.label6.Text = "ВВЕДИТЕ ИСХОДНЫЕ ДАННЫЕ";

this.label6.Visible = false;

//

// label5

//

this.label5.AutoSize = true;

this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

this.label5.Location = new System.Drawing.Point(12, 9);

this.label5.Name = "label5";

this.label5.Size = new System.Drawing.Size(306, 20);

this.label5.TabIndex = 20;

this.label5.Text = "Расчет сальникового уплотнителя";

//

// button1

//

this.button1.Location = new System.Drawing.Point(16, 171);

this.button1.Name = "button1";

this.button1.Size = new System.Drawing.Size(92, 23);

this.button1.TabIndex = 19;

this.button1.Text = "Рассчитать";

this.button1.UseVisualStyleBackColor = true;

this.button1.Click += new System.EventHandler(this.button1_Click);

//

// numericUpDown4

//

this.numericUpDown4.Location = new System.Drawing.Point(16, 113);

this.numericUpDown4.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

this.numericUpDown4.Name = "numericUpDown4";

this.numericUpDown4.Size = new System.Drawing.Size(92, 20);

this.numericUpDown4.TabIndex = 18;

//

// numericUpDown3

//

this.numericUpDown3.Location = new System.Drawing.Point(16, 87);

this.numericUpDown3.Maximum = new decimal(new int[] {

1000,

0,

0,

0});

 








Не нашли, что искали? Воспользуйтесь поиском по сайту:



©2015 - 2024 stydopedia.ru Все материалы защищены законодательством РФ.