2024-11-05 10:31:38 +03:00
|
|
|
|
namespace Gidrolock_Modbus_Scanner
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class App
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <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(App));
|
2024-11-05 16:57:05 +03:00
|
|
|
|
this.TextBox_Log = new System.Windows.Forms.TextBox();
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.upDownModbusID = new System.Windows.Forms.NumericUpDown();
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.cBoxPorts = new System.Windows.Forms.ComboBox();
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.cBoxSpeed = new System.Windows.Forms.ComboBox();
|
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
2025-01-27 11:23:57 +03:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.upDownModbusID)).BeginInit();
|
2024-11-05 10:31:38 +03:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
2024-11-05 16:57:05 +03:00
|
|
|
|
// TextBox_Log
|
2024-11-05 10:31:38 +03:00
|
|
|
|
//
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.TextBox_Log.Location = new System.Drawing.Point(12, 53);
|
2024-11-05 16:57:05 +03:00
|
|
|
|
this.TextBox_Log.Multiline = true;
|
|
|
|
|
|
this.TextBox_Log.Name = "TextBox_Log";
|
|
|
|
|
|
this.TextBox_Log.ReadOnly = true;
|
|
|
|
|
|
this.TextBox_Log.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.TextBox_Log.Size = new System.Drawing.Size(498, 160);
|
2024-11-05 16:57:05 +03:00
|
|
|
|
this.TextBox_Log.TabIndex = 1;
|
|
|
|
|
|
//
|
2025-01-27 11:23:57 +03:00
|
|
|
|
// upDownModbusID
|
2024-12-05 15:57:07 +03:00
|
|
|
|
//
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.upDownModbusID.Location = new System.Drawing.Point(164, 27);
|
|
|
|
|
|
this.upDownModbusID.Name = "upDownModbusID";
|
|
|
|
|
|
this.upDownModbusID.Size = new System.Drawing.Size(66, 20);
|
|
|
|
|
|
this.upDownModbusID.TabIndex = 1;
|
|
|
|
|
|
this.upDownModbusID.Value = new decimal(new int[] {
|
|
|
|
|
|
30,
|
|
|
|
|
|
0,
|
|
|
|
|
|
0,
|
|
|
|
|
|
0});
|
2024-12-05 15:57:07 +03:00
|
|
|
|
//
|
2024-12-16 11:35:20 +03:00
|
|
|
|
// label2
|
2024-12-12 15:14:13 +03:00
|
|
|
|
//
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.label2.AutoSize = true;
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.label2.Location = new System.Drawing.Point(161, 9);
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(59, 13);
|
|
|
|
|
|
this.label2.TabIndex = 0;
|
|
|
|
|
|
this.label2.Text = "Modbus ID";
|
2024-12-05 15:57:07 +03:00
|
|
|
|
//
|
2025-01-24 17:54:04 +03:00
|
|
|
|
// cBoxPorts
|
2024-12-12 15:14:13 +03:00
|
|
|
|
//
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.cBoxPorts.FormattingEnabled = true;
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.cBoxPorts.Location = new System.Drawing.Point(12, 26);
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.cBoxPorts.Name = "cBoxPorts";
|
|
|
|
|
|
this.cBoxPorts.Size = new System.Drawing.Size(65, 21);
|
|
|
|
|
|
this.cBoxPorts.TabIndex = 1;
|
|
|
|
|
|
this.cBoxPorts.Text = "COM1";
|
2024-12-05 15:57:07 +03:00
|
|
|
|
//
|
2024-12-16 11:35:20 +03:00
|
|
|
|
// label1
|
2024-12-12 16:00:02 +03:00
|
|
|
|
//
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.label1.AutoSize = true;
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.label1.Location = new System.Drawing.Point(9, 9);
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(32, 13);
|
|
|
|
|
|
this.label1.TabIndex = 0;
|
|
|
|
|
|
this.label1.Text = "Порт";
|
2024-12-12 16:00:02 +03:00
|
|
|
|
//
|
2025-01-14 11:31:23 +03:00
|
|
|
|
// button1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(414, 24);
|
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(92, 23);
|
|
|
|
|
|
this.button1.TabIndex = 2;
|
|
|
|
|
|
this.button1.Text = "Подключиться";
|
|
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.ButtonConnect_Click);
|
|
|
|
|
|
//
|
2025-01-24 17:54:04 +03:00
|
|
|
|
// cBoxSpeed
|
|
|
|
|
|
//
|
|
|
|
|
|
this.cBoxSpeed.FormattingEnabled = true;
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.cBoxSpeed.Location = new System.Drawing.Point(83, 26);
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.cBoxSpeed.Name = "cBoxSpeed";
|
|
|
|
|
|
this.cBoxSpeed.Size = new System.Drawing.Size(78, 21);
|
|
|
|
|
|
this.cBoxSpeed.TabIndex = 7;
|
|
|
|
|
|
this.cBoxSpeed.Text = "9600";
|
|
|
|
|
|
//
|
|
|
|
|
|
// label4
|
|
|
|
|
|
//
|
|
|
|
|
|
this.label4.AutoSize = true;
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.label4.Location = new System.Drawing.Point(80, 9);
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
|
this.label4.TabIndex = 6;
|
|
|
|
|
|
this.label4.Text = "Скорость";
|
|
|
|
|
|
//
|
2024-11-05 10:31:38 +03:00
|
|
|
|
// App
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(518, 226);
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.Controls.Add(this.cBoxSpeed);
|
|
|
|
|
|
this.Controls.Add(this.label4);
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.Controls.Add(this.button1);
|
2025-01-24 17:54:04 +03:00
|
|
|
|
this.Controls.Add(this.cBoxPorts);
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.Controls.Add(this.label1);
|
2025-01-27 11:23:57 +03:00
|
|
|
|
this.Controls.Add(this.upDownModbusID);
|
2024-11-05 16:57:05 +03:00
|
|
|
|
this.Controls.Add(this.TextBox_Log);
|
2025-01-14 11:31:23 +03:00
|
|
|
|
this.Controls.Add(this.label2);
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
2024-11-05 10:31:38 +03:00
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
2024-11-05 16:57:05 +03:00
|
|
|
|
this.MaximizeBox = false;
|
2024-11-05 10:31:38 +03:00
|
|
|
|
this.Name = "App";
|
2024-12-16 11:35:20 +03:00
|
|
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
2024-11-05 10:31:38 +03:00
|
|
|
|
this.Text = "Gidrolock Modbus Scanner";
|
|
|
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.App_FormClosed);
|
|
|
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
2025-01-27 11:23:57 +03:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.upDownModbusID)).EndInit();
|
2024-11-05 10:31:38 +03:00
|
|
|
|
this.ResumeLayout(false);
|
2024-11-05 16:57:05 +03:00
|
|
|
|
this.PerformLayout();
|
2024-11-05 10:31:38 +03:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-11-05 16:57:05 +03:00
|
|
|
|
private System.Windows.Forms.TextBox TextBox_Log;
|
2025-01-27 11:23:57 +03:00
|
|
|
|
private System.Windows.Forms.NumericUpDown upDownModbusID;
|
2024-12-16 11:35:20 +03:00
|
|
|
|
private System.Windows.Forms.Label label2;
|
2025-01-24 17:54:04 +03:00
|
|
|
|
private System.Windows.Forms.ComboBox cBoxPorts;
|
2024-12-16 11:35:20 +03:00
|
|
|
|
private System.Windows.Forms.Label label1;
|
2025-01-14 11:31:23 +03:00
|
|
|
|
private System.Windows.Forms.Button button1;
|
2025-01-24 17:54:04 +03:00
|
|
|
|
private System.Windows.Forms.ComboBox cBoxSpeed;
|
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
2024-11-05 10:31:38 +03:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|