This commit is contained in:
nikzori
2025-01-14 11:31:23 +03:00
parent 41062d47e5
commit bb2a46d592
6 changed files with 301 additions and 1532 deletions

193
Datasheet.Designer.cs generated
View File

@@ -29,117 +29,134 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Datasheet));
this.Label_DeviceNameLabel = new System.Windows.Forms.Label();
this.Label_DescriptionLabel = new System.Windows.Forms.Label();
this.Label_DeviceName = new System.Windows.Forms.Label();
this.Label_Description = new System.Windows.Forms.Label();
this.Button_StartStop = new System.Windows.Forms.Button();
this.Panel_Device = new System.Windows.Forms.Panel();
this.PD_Scrollbar = new System.Windows.Forms.VScrollBar();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.Panel_Device.SuspendLayout();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.nudModbusID = new System.Windows.Forms.NumericUpDown();
this.labelModel = new System.Windows.Forms.Label();
this.labelFirmware = new System.Windows.Forms.Label();
this.buttonSetID = new System.Windows.Forms.Button();
this.buttonPoll = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudModbusID)).BeginInit();
this.SuspendLayout();
//
// Label_DeviceNameLabel
// groupBox1
//
this.Label_DeviceNameLabel.AutoSize = true;
this.Label_DeviceNameLabel.Location = new System.Drawing.Point(13, 13);
this.Label_DeviceNameLabel.Name = "Label_DeviceNameLabel";
this.Label_DeviceNameLabel.Size = new System.Drawing.Size(92, 13);
this.Label_DeviceNameLabel.TabIndex = 1;
this.Label_DeviceNameLabel.Text = "Имя устройства:";
//
// Label_DescriptionLabel
//
this.Label_DescriptionLabel.AutoSize = true;
this.Label_DescriptionLabel.Location = new System.Drawing.Point(13, 31);
this.Label_DescriptionLabel.Name = "Label_DescriptionLabel";
this.Label_DescriptionLabel.Size = new System.Drawing.Size(60, 13);
this.Label_DescriptionLabel.TabIndex = 2;
this.Label_DescriptionLabel.Text = "Описание:";
//
// Label_DeviceName
//
this.Label_DeviceName.AutoSize = true;
this.Label_DeviceName.Location = new System.Drawing.Point(104, 13);
this.Label_DeviceName.Name = "Label_DeviceName";
this.Label_DeviceName.Size = new System.Drawing.Size(35, 13);
this.Label_DeviceName.TabIndex = 3;
this.Label_DeviceName.Text = "label3";
//
// Label_Description
//
this.Label_Description.AutoSize = true;
this.Label_Description.Location = new System.Drawing.Point(72, 31);
this.Label_Description.Name = "Label_Description";
this.Label_Description.Size = new System.Drawing.Size(35, 13);
this.Label_Description.TabIndex = 4;
this.Label_Description.Text = "label4";
//
// Button_StartStop
//
this.Button_StartStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.Button_StartStop.Location = new System.Drawing.Point(505, 13);
this.Button_StartStop.Name = "Button_StartStop";
this.Button_StartStop.Size = new System.Drawing.Size(75, 23);
this.Button_StartStop.TabIndex = 5;
this.Button_StartStop.Text = "Старт";
this.Button_StartStop.UseVisualStyleBackColor = true;
this.Button_StartStop.Click += new System.EventHandler(this.Button_StartStop_Click);
//
// Panel_Device
//
this.Panel_Device.Controls.Add(this.PD_Scrollbar);
this.Panel_Device.Location = new System.Drawing.Point(13, 77);
this.Panel_Device.Name = "Panel_Device";
this.Panel_Device.Size = new System.Drawing.Size(567, 411);
this.Panel_Device.TabIndex = 6;
//
// PD_Scrollbar
//
this.PD_Scrollbar.Location = new System.Drawing.Point(549, 0);
this.PD_Scrollbar.Name = "PD_Scrollbar";
this.PD_Scrollbar.Size = new System.Drawing.Size(17, 440);
this.PD_Scrollbar.TabIndex = 0;
this.groupBox1.Controls.Add(this.buttonPoll);
this.groupBox1.Controls.Add(this.buttonSetID);
this.groupBox1.Controls.Add(this.labelFirmware);
this.groupBox1.Controls.Add(this.labelModel);
this.groupBox1.Controls.Add(this.nudModbusID);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(369, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(211, 101);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Инфо";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 64);
this.label1.Location = new System.Drawing.Point(6, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(14, 13);
this.label1.TabIndex = 7;
this.label1.Text = "#";
this.label1.Size = new System.Drawing.Size(49, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Модель:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 31);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(62, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Прошивка:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(6, 55);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(62, 13);
this.label3.TabIndex = 2;
this.label3.Text = "Modbus ID:";
//
// nudModbusID
//
this.nudModbusID.Location = new System.Drawing.Point(9, 71);
this.nudModbusID.Name = "nudModbusID";
this.nudModbusID.Size = new System.Drawing.Size(59, 20);
this.nudModbusID.TabIndex = 3;
//
// labelModel
//
this.labelModel.AutoSize = true;
this.labelModel.Location = new System.Drawing.Point(61, 16);
this.labelModel.Name = "labelModel";
this.labelModel.Size = new System.Drawing.Size(50, 13);
this.labelModel.TabIndex = 4;
this.labelModel.Text = "Standard";
//
// labelFirmware
//
this.labelFirmware.AutoSize = true;
this.labelFirmware.Location = new System.Drawing.Point(74, 31);
this.labelFirmware.Name = "labelFirmware";
this.labelFirmware.Size = new System.Drawing.Size(37, 13);
this.labelFirmware.TabIndex = 5;
this.labelFirmware.Text = "v1.0.4";
//
// buttonSetID
//
this.buttonSetID.Location = new System.Drawing.Point(74, 68);
this.buttonSetID.Name = "buttonSetID";
this.buttonSetID.Size = new System.Drawing.Size(75, 23);
this.buttonSetID.TabIndex = 6;
this.buttonSetID.Text = "Изменить";
this.buttonSetID.UseVisualStyleBackColor = true;
this.buttonSetID.Click += new System.EventHandler(this.buttonSetID_Click);
//
// buttonPoll
//
this.buttonPoll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonPoll.Location = new System.Drawing.Point(130, 19);
this.buttonPoll.Name = "buttonPoll";
this.buttonPoll.Size = new System.Drawing.Size(75, 23);
this.buttonPoll.TabIndex = 7;
this.buttonPoll.Text = "Опрос";
this.buttonPoll.UseVisualStyleBackColor = true;
//
// Datasheet
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(592, 500);
this.Controls.Add(this.label1);
this.Controls.Add(this.Panel_Device);
this.Controls.Add(this.Button_StartStop);
this.Controls.Add(this.Label_Description);
this.Controls.Add(this.Label_DeviceName);
this.Controls.Add(this.Label_DescriptionLabel);
this.Controls.Add(this.Label_DeviceNameLabel);
this.Controls.Add(this.groupBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Datasheet";
this.Text = "Datasheet";
this.Panel_Device.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudModbusID)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label Label_DeviceNameLabel;
private System.Windows.Forms.Label Label_DescriptionLabel;
private System.Windows.Forms.Label Label_DeviceName;
private System.Windows.Forms.Label Label_Description;
private System.Windows.Forms.Button Button_StartStop;
private System.Windows.Forms.Panel Panel_Device;
private System.Windows.Forms.VScrollBar PD_Scrollbar;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button buttonSetID;
private System.Windows.Forms.Label labelFirmware;
private System.Windows.Forms.Label labelModel;
private System.Windows.Forms.NumericUpDown nudModbusID;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button buttonPoll;
}
}