自动化设备上位机设计 一

目录

一 设计原型

二 后台代码


一 设计原型

二 后台代码

namespace 自动化上位机设计
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}




namespace 自动化上位机设计
{
    partial class Form1
    {
        /// <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()
        {
            DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
            DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
            DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
            DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle();
            DataGridViewCellStyle dataGridViewCellStyle5 = new DataGridViewCellStyle();
            Data = new Sunny.UI.UIDataGridView();
            Column1 = new DataGridViewTextBoxColumn();
            Column2 = new DataGridViewTextBoxColumn();
            Column3 = new DataGridViewTextBoxColumn();
            Column4 = new DataGridViewTextBoxColumn();
            Column5 = new DataGridViewTextBoxColumn();
            Column6 = new DataGridViewTextBoxColumn();
            Column7 = new DataGridViewTextBoxColumn();
            Column8 = new DataGridViewTextBoxColumn();
            Column9 = new DataGridViewTextBoxColumn();
            Column10 = new DataGridViewTextBoxColumn();
            Column11 = new DataGridViewTextBoxColumn();
            Column12 = new DataGridViewTextBoxColumn();
            Column13 = new DataGridViewTextBoxColumn();
            Column14 = new DataGridViewTextBoxColumn();
            Column15 = new DataGridViewTextBoxColumn();
            uiGroupBox1 = new Sunny.UI.UIGroupBox();
            uiTextBox9 = new Sunny.UI.UITextBox();
            uiTextBox10 = new Sunny.UI.UITextBox();
            uiTextBox11 = new Sunny.UI.UITextBox();
            uiTextBox12 = new Sunny.UI.UITextBox();
            uiLabel9 = new Sunny.UI.UILabel();
            uiLabel10 = new Sunny.UI.UILabel();
            uiLabel11 = new Sunny.UI.UILabel();
            uiLabel12 = new Sunny.UI.UILabel();
            uiTextBox5 = new Sunny.UI.UITextBox();
            uiTextBox6 = new Sunny.UI.UITextBox();
            uiTextBox7 = new Sunny.UI.UITextBox();
            uiTextBox8 = new Sunny.UI.UITextBox();
            uiLabel5 = new Sunny.UI.UILabel();
            uiLabel6 = new Sunny.UI.UILabel();
            uiLabel7 = new Sunny.UI.UILabel();
            uiLabel8 = new Sunny.UI.UILabel();
            uiTextBox4 = new Sunny.UI.UITextBox();
            uiTextBox3 = new Sunny.UI.UITextBox();
            uiTextBox2 = new Sunny.UI.UITextBox();
            uiTextBox1 = new Sunny.UI.UITextBox();
            uiLabel4 = new Sunny.UI.UILabel();
            uiLabel3 = new Sunny.UI.UILabel();
            uiLabel2 = new Sunny.UI.UILabel();
            uiLabel1 = new Sunny.UI.UILabel();
            Log = new Sunny.UI.UIRichTextBox();
            uiLight1 = new Sunny.UI.UILight();
            uiSwitch1 = new Sunny.UI.UISwitch();
            uiLedDisplay1 = new Sunny.UI.UILedDisplay();
            uiLedDisplay2 = new Sunny.UI.UILedDisplay();
            splitContainer1 = new SplitContainer();
            RunLog = new Sunny.UI.UIRichTextBox();
            ErorrLog = new Sunny.UI.UIRichTextBox();
            ((System.ComponentModel.ISupportInitialize)Data).BeginInit();
            uiGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
            splitContainer1.Panel1.SuspendLayout();
            splitContainer1.Panel2.SuspendLayout();
            splitContainer1.SuspendLayout();
            SuspendLayout();
            // 
            // Data
            // 
            dataGridViewCellStyle1.BackColor = Color.Lime;
            Data.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            Data.BackgroundColor = Color.DarkSeaGreen;
            Data.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
            dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle2.BackColor = Color.FromArgb(80, 160, 255);
            dataGridViewCellStyle2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            dataGridViewCellStyle2.ForeColor = Color.White;
            dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;
            Data.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
            Data.ColumnHeadersHeight = 32;
            Data.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
            Data.Columns.AddRange(new DataGridViewColumn[] { Column1, Column2, Column3, Column4, Column5, Column6, Column7, Column8, Column9, Column10, Column11, Column12, Column13, Column14, Column15 });
            dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle3.BackColor = SystemColors.Window;
            dataGridViewCellStyle3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            dataGridViewCellStyle3.ForeColor = SystemColors.ControlText;
            dataGridViewCellStyle3.SelectionBackColor = SystemColors.Highlight;
            dataGridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText;
            dataGridViewCellStyle3.WrapMode = DataGridViewTriState.False;
            Data.DefaultCellStyle = dataGridViewCellStyle3;
            Data.EnableHeadersVisualStyles = false;
            Data.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            Data.GridColor = Color.FromArgb(80, 160, 255);
            Data.Location = new Point(12, 240);
            Data.Name = "Data";
            Data.RectColor = Color.Red;
            dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle4.BackColor = Color.FromArgb(235, 243, 255);
            dataGridViewCellStyle4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            dataGridViewCellStyle4.ForeColor = Color.FromArgb(48, 48, 48);
            dataGridViewCellStyle4.SelectionBackColor = Color.FromArgb(80, 160, 255);
            dataGridViewCellStyle4.SelectionForeColor = Color.White;
            dataGridViewCellStyle4.WrapMode = DataGridViewTriState.True;
            Data.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
            Data.RowHeadersWidth = 51;
            dataGridViewCellStyle5.BackColor = Color.FromArgb(0, 192, 0);
            dataGridViewCellStyle5.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            Data.RowsDefaultCellStyle = dataGridViewCellStyle5;
            Data.ScrollBarBackColor = Color.Lime;
            Data.ScrollBarHandleHeight = 22;
            Data.ScrollBarHandleWidth = 22;
            Data.ScrollBarHeight = 22;
            Data.ScrollBarStyleInherited = false;
            Data.ScrollBarWidth = 22;
            Data.SelectedIndex = -1;
            Data.Size = new Size(1132, 346);
            Data.StripeEvenColor = Color.FromArgb(0, 192, 0);
            Data.StripeOddColor = Color.Lime;
            Data.TabIndex = 0;
            // 
            // Column1
            // 
            Column1.HeaderText = "长度";
            Column1.MinimumWidth = 6;
            Column1.Name = "Column1";
            Column1.Width = 125;
            // 
            // Column2
            // 
            Column2.HeaderText = "宽度";
            Column2.MinimumWidth = 6;
            Column2.Name = "Column2";
            Column2.Width = 125;
            // 
            // Column3
            // 
            Column3.HeaderText = "高度";
            Column3.MinimumWidth = 6;
            Column3.Name = "Column3";
            Column3.Width = 125;
            // 
            // Column4
            // 
            Column4.HeaderText = "角度";
            Column4.MinimumWidth = 6;
            Column4.Name = "Column4";
            Column4.Width = 125;
            // 
            // Column5
            // 
            Column5.HeaderText = "重量";
            Column5.MinimumWidth = 6;
            Column5.Name = "Column5";
            Column5.Width = 125;
            // 
            // Column6
            // 
            Column6.HeaderText = "噪音";
            Column6.MinimumWidth = 6;
            Column6.Name = "Column6";
            Column6.Width = 125;
            // 
            // Column7
            // 
            Column7.HeaderText = "电压";
            Column7.MinimumWidth = 6;
            Column7.Name = "Column7";
            Column7.Width = 125;
            // 
            // Column8
            // 
            Column8.HeaderText = "内阻";
            Column8.MinimumWidth = 6;
            Column8.Name = "Column8";
            Column8.Width = 125;
            // 
            // Column9
            // 
            Column9.HeaderText = "压力";
            Column9.MinimumWidth = 6;
            Column9.Name = "Column9";
            Column9.Width = 125;
            // 
            // Column10
            // 
            Column10.HeaderText = "温度";
            Column10.MinimumWidth = 6;
            Column10.Name = "Column10";
            Column10.Width = 125;
            // 
            // Column11
            // 
            Column11.HeaderText = "湿度";
            Column11.MinimumWidth = 6;
            Column11.Name = "Column11";
            Column11.Width = 125;
            // 
            // Column12
            // 
            Column12.HeaderText = "力矩";
            Column12.MinimumWidth = 6;
            Column12.Name = "Column12";
            Column12.Width = 125;
            // 
            // Column13
            // 
            Column13.HeaderText = "时间";
            Column13.MinimumWidth = 6;
            Column13.Name = "Column13";
            Column13.Width = 125;
            // 
            // Column14
            // 
            Column14.HeaderText = "总结果";
            Column14.MinimumWidth = 6;
            Column14.Name = "Column14";
            Column14.Width = 125;
            // 
            // Column15
            // 
            Column15.HeaderText = "备注";
            Column15.MinimumWidth = 6;
            Column15.Name = "Column15";
            Column15.Width = 125;
            // 
            // uiGroupBox1
            // 
            uiGroupBox1.BackColor = Color.Beige;
            uiGroupBox1.Controls.Add(uiTextBox9);
            uiGroupBox1.Controls.Add(uiTextBox10);
            uiGroupBox1.Controls.Add(uiTextBox11);
            uiGroupBox1.Controls.Add(uiTextBox12);
            uiGroupBox1.Controls.Add(uiLabel9);
            uiGroupBox1.Controls.Add(uiLabel10);
            uiGroupBox1.Controls.Add(uiLabel11);
            uiGroupBox1.Controls.Add(uiLabel12);
            uiGroupBox1.Controls.Add(uiTextBox5);
            uiGroupBox1.Controls.Add(uiTextBox6);
            uiGroupBox1.Controls.Add(uiTextBox7);
            uiGroupBox1.Controls.Add(uiTextBox8);
            uiGroupBox1.Controls.Add(uiLabel5);
            uiGroupBox1.Controls.Add(uiLabel6);
            uiGroupBox1.Controls.Add(uiLabel7);
            uiGroupBox1.Controls.Add(uiLabel8);
            uiGroupBox1.Controls.Add(uiTextBox4);
            uiGroupBox1.Controls.Add(uiTextBox3);
            uiGroupBox1.Controls.Add(uiTextBox2);
            uiGroupBox1.Controls.Add(uiTextBox1);
            uiGroupBox1.Controls.Add(uiLabel4);
            uiGroupBox1.Controls.Add(uiLabel3);
            uiGroupBox1.Controls.Add(uiLabel2);
            uiGroupBox1.Controls.Add(uiLabel1);
            uiGroupBox1.FillColor = Color.Gray;
            uiGroupBox1.Font = new Font("宋体", 16.2F, FontStyle.Bold, GraphicsUnit.Point, 134);
            uiGroupBox1.ForeColor = Color.Black;
            uiGroupBox1.Location = new Point(13, 7);
            uiGroupBox1.Margin = new Padding(4, 5, 4, 5);
            uiGroupBox1.MinimumSize = new Size(1, 1);
            uiGroupBox1.Name = "uiGroupBox1";
            uiGroupBox1.Padding = new Padding(0, 32, 0, 0);
            uiGroupBox1.Size = new Size(570, 225);
            uiGroupBox1.TabIndex = 1;
            uiGroupBox1.Text = "参数设置";
            uiGroupBox1.TextAlignment = ContentAlignment.MiddleLeft;
            // 
            // uiTextBox9
            // 
            uiTextBox9.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox9.Location = new Point(469, 177);
            uiTextBox9.Margin = new Padding(4, 5, 4, 5);
            uiTextBox9.MinimumSize = new Size(1, 16);
            uiTextBox9.Name = "uiTextBox9";
            uiTextBox9.Padding = new Padding(5);
            uiTextBox9.ShowText = false;
            uiTextBox9.Size = new Size(87, 29);
            uiTextBox9.TabIndex = 15;
            uiTextBox9.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox9.Watermark = "";
            // 
            // uiTextBox10
            // 
            uiTextBox10.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox10.Location = new Point(469, 131);
            uiTextBox10.Margin = new Padding(4, 5, 4, 5);
            uiTextBox10.MinimumSize = new Size(1, 16);
            uiTextBox10.Name = "uiTextBox10";
            uiTextBox10.Padding = new Padding(5);
            uiTextBox10.ShowText = false;
            uiTextBox10.Size = new Size(87, 29);
            uiTextBox10.TabIndex = 16;
            uiTextBox10.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox10.Watermark = "";
            // 
            // uiTextBox11
            // 
            uiTextBox11.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox11.Location = new Point(469, 88);
            uiTextBox11.Margin = new Padding(4, 5, 4, 5);
            uiTextBox11.MinimumSize = new Size(1, 16);
            uiTextBox11.Name = "uiTextBox11";
            uiTextBox11.Padding = new Padding(5);
            uiTextBox11.ShowText = false;
            uiTextBox11.Size = new Size(87, 29);
            uiTextBox11.TabIndex = 17;
            uiTextBox11.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox11.Watermark = "";
            // 
            // uiTextBox12
            // 
            uiTextBox12.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox12.Location = new Point(469, 45);
            uiTextBox12.Margin = new Padding(4, 5, 4, 5);
            uiTextBox12.MinimumSize = new Size(1, 16);
            uiTextBox12.Name = "uiTextBox12";
            uiTextBox12.Padding = new Padding(5);
            uiTextBox12.ShowText = false;
            uiTextBox12.Size = new Size(87, 29);
            uiTextBox12.TabIndex = 18;
            uiTextBox12.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox12.Watermark = "";
            // 
            // uiLabel9
            // 
            uiLabel9.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel9.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel9.Location = new Point(389, 177);
            uiLabel9.Name = "uiLabel9";
            uiLabel9.Size = new Size(64, 29);
            uiLabel9.TabIndex = 12;
            uiLabel9.Text = "力矩";
            uiLabel9.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel10
            // 
            uiLabel10.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel10.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel10.Location = new Point(389, 131);
            uiLabel10.Name = "uiLabel10";
            uiLabel10.Size = new Size(64, 29);
            uiLabel10.TabIndex = 13;
            uiLabel10.Text = "湿度";
            uiLabel10.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel11
            // 
            uiLabel11.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel11.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel11.Location = new Point(389, 88);
            uiLabel11.Name = "uiLabel11";
            uiLabel11.Size = new Size(64, 29);
            uiLabel11.TabIndex = 14;
            uiLabel11.Text = "温度";
            uiLabel11.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel12
            // 
            uiLabel12.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel12.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel12.Location = new Point(389, 45);
            uiLabel12.Name = "uiLabel12";
            uiLabel12.Size = new Size(64, 29);
            uiLabel12.TabIndex = 11;
            uiLabel12.Text = "压力";
            uiLabel12.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiTextBox5
            // 
            uiTextBox5.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox5.Location = new Point(282, 177);
            uiTextBox5.Margin = new Padding(4, 5, 4, 5);
            uiTextBox5.MinimumSize = new Size(1, 16);
            uiTextBox5.Name = "uiTextBox5";
            uiTextBox5.Padding = new Padding(5);
            uiTextBox5.ShowText = false;
            uiTextBox5.Size = new Size(87, 29);
            uiTextBox5.TabIndex = 7;
            uiTextBox5.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox5.Watermark = "";
            // 
            // uiTextBox6
            // 
            uiTextBox6.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox6.Location = new Point(282, 131);
            uiTextBox6.Margin = new Padding(4, 5, 4, 5);
            uiTextBox6.MinimumSize = new Size(1, 16);
            uiTextBox6.Name = "uiTextBox6";
            uiTextBox6.Padding = new Padding(5);
            uiTextBox6.ShowText = false;
            uiTextBox6.Size = new Size(87, 29);
            uiTextBox6.TabIndex = 8;
            uiTextBox6.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox6.Watermark = "";
            // 
            // uiTextBox7
            // 
            uiTextBox7.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox7.Location = new Point(282, 88);
            uiTextBox7.Margin = new Padding(4, 5, 4, 5);
            uiTextBox7.MinimumSize = new Size(1, 16);
            uiTextBox7.Name = "uiTextBox7";
            uiTextBox7.Padding = new Padding(5);
            uiTextBox7.ShowText = false;
            uiTextBox7.Size = new Size(87, 29);
            uiTextBox7.TabIndex = 9;
            uiTextBox7.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox7.Watermark = "";
            // 
            // uiTextBox8
            // 
            uiTextBox8.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox8.Location = new Point(282, 45);
            uiTextBox8.Margin = new Padding(4, 5, 4, 5);
            uiTextBox8.MinimumSize = new Size(1, 16);
            uiTextBox8.Name = "uiTextBox8";
            uiTextBox8.Padding = new Padding(5);
            uiTextBox8.ShowText = false;
            uiTextBox8.Size = new Size(87, 29);
            uiTextBox8.TabIndex = 10;
            uiTextBox8.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox8.Watermark = "";
            // 
            // uiLabel5
            // 
            uiLabel5.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel5.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel5.Location = new Point(202, 177);
            uiLabel5.Name = "uiLabel5";
            uiLabel5.Size = new Size(64, 29);
            uiLabel5.TabIndex = 4;
            uiLabel5.Text = "内阻";
            uiLabel5.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel6
            // 
            uiLabel6.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel6.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel6.Location = new Point(202, 131);
            uiLabel6.Name = "uiLabel6";
            uiLabel6.Size = new Size(64, 29);
            uiLabel6.TabIndex = 5;
            uiLabel6.Text = "电压";
            uiLabel6.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel7
            // 
            uiLabel7.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel7.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel7.Location = new Point(202, 88);
            uiLabel7.Name = "uiLabel7";
            uiLabel7.Size = new Size(64, 29);
            uiLabel7.TabIndex = 6;
            uiLabel7.Text = "噪音";
            uiLabel7.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel8
            // 
            uiLabel8.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel8.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel8.Location = new Point(202, 45);
            uiLabel8.Name = "uiLabel8";
            uiLabel8.Size = new Size(64, 29);
            uiLabel8.TabIndex = 3;
            uiLabel8.Text = "重量";
            uiLabel8.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiTextBox4
            // 
            uiTextBox4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox4.Location = new Point(94, 177);
            uiTextBox4.Margin = new Padding(4, 5, 4, 5);
            uiTextBox4.MinimumSize = new Size(1, 16);
            uiTextBox4.Name = "uiTextBox4";
            uiTextBox4.Padding = new Padding(5);
            uiTextBox4.ShowText = false;
            uiTextBox4.Size = new Size(87, 29);
            uiTextBox4.TabIndex = 2;
            uiTextBox4.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox4.Watermark = "";
            // 
            // uiTextBox3
            // 
            uiTextBox3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox3.Location = new Point(94, 131);
            uiTextBox3.Margin = new Padding(4, 5, 4, 5);
            uiTextBox3.MinimumSize = new Size(1, 16);
            uiTextBox3.Name = "uiTextBox3";
            uiTextBox3.Padding = new Padding(5);
            uiTextBox3.ShowText = false;
            uiTextBox3.Size = new Size(87, 29);
            uiTextBox3.TabIndex = 2;
            uiTextBox3.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox3.Watermark = "";
            // 
            // uiTextBox2
            // 
            uiTextBox2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox2.Location = new Point(94, 88);
            uiTextBox2.Margin = new Padding(4, 5, 4, 5);
            uiTextBox2.MinimumSize = new Size(1, 16);
            uiTextBox2.Name = "uiTextBox2";
            uiTextBox2.Padding = new Padding(5);
            uiTextBox2.ShowText = false;
            uiTextBox2.Size = new Size(87, 29);
            uiTextBox2.TabIndex = 2;
            uiTextBox2.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox2.Watermark = "";
            // 
            // uiTextBox1
            // 
            uiTextBox1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiTextBox1.Location = new Point(94, 45);
            uiTextBox1.Margin = new Padding(4, 5, 4, 5);
            uiTextBox1.MinimumSize = new Size(1, 16);
            uiTextBox1.Name = "uiTextBox1";
            uiTextBox1.Padding = new Padding(5);
            uiTextBox1.ShowText = false;
            uiTextBox1.Size = new Size(87, 29);
            uiTextBox1.TabIndex = 2;
            uiTextBox1.TextAlignment = ContentAlignment.MiddleLeft;
            uiTextBox1.Watermark = "";
            // 
            // uiLabel4
            // 
            uiLabel4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel4.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel4.Location = new Point(14, 177);
            uiLabel4.Name = "uiLabel4";
            uiLabel4.Size = new Size(64, 29);
            uiLabel4.TabIndex = 1;
            uiLabel4.Text = "角度";
            uiLabel4.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel3
            // 
            uiLabel3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel3.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel3.Location = new Point(14, 131);
            uiLabel3.Name = "uiLabel3";
            uiLabel3.Size = new Size(64, 29);
            uiLabel3.TabIndex = 1;
            uiLabel3.Text = "高度";
            uiLabel3.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel2
            // 
            uiLabel2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel2.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel2.Location = new Point(14, 88);
            uiLabel2.Name = "uiLabel2";
            uiLabel2.Size = new Size(64, 29);
            uiLabel2.TabIndex = 1;
            uiLabel2.Text = "宽度";
            uiLabel2.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // uiLabel1
            // 
            uiLabel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLabel1.ForeColor = Color.FromArgb(48, 48, 48);
            uiLabel1.Location = new Point(14, 45);
            uiLabel1.Name = "uiLabel1";
            uiLabel1.Size = new Size(64, 29);
            uiLabel1.TabIndex = 0;
            uiLabel1.Text = "长度";
            uiLabel1.TextAlign = ContentAlignment.MiddleLeft;
            // 
            // Log
            // 
            Log.FillColor = Color.FromArgb(255, 224, 192);
            Log.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            Log.Location = new Point(13, 594);
            Log.Margin = new Padding(4, 5, 4, 5);
            Log.MinimumSize = new Size(1, 1);
            Log.Name = "Log";
            Log.Padding = new Padding(2);
            Log.ScrollBarStyleInherited = false;
            Log.ShowText = false;
            Log.Size = new Size(1131, 108);
            Log.TabIndex = 2;
            Log.TextAlignment = ContentAlignment.MiddleCenter;
            // 
            // uiLight1
            // 
            uiLight1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiLight1.Location = new Point(1094, 7);
            uiLight1.MinimumSize = new Size(1, 1);
            uiLight1.Name = "uiLight1";
            uiLight1.Radius = 44;
            uiLight1.Size = new Size(44, 44);
            uiLight1.TabIndex = 3;
            uiLight1.Text = "uiLight1";
            // 
            // uiSwitch1
            // 
            uiSwitch1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiSwitch1.Location = new Point(994, 12);
            uiSwitch1.MinimumSize = new Size(1, 1);
            uiSwitch1.Name = "uiSwitch1";
            uiSwitch1.Size = new Size(94, 36);
            uiSwitch1.TabIndex = 4;
            uiSwitch1.Text = "uiSwitch1";
            // 
            // uiLedDisplay1
            // 
            uiLedDisplay1.BackColor = Color.Black;
            uiLedDisplay1.BorderColor = Color.FromArgb(255, 192, 255);
            uiLedDisplay1.BorderInColor = Color.RosyBrown;
            uiLedDisplay1.ForeColor = Color.Lime;
            uiLedDisplay1.LedBackColor = Color.Silver;
            uiLedDisplay1.Location = new Point(798, 12);
            uiLedDisplay1.Name = "uiLedDisplay1";
            uiLedDisplay1.Size = new Size(190, 34);
            uiLedDisplay1.TabIndex = 5;
            // 
            // uiLedDisplay2
            // 
            uiLedDisplay2.BackColor = Color.Black;
            uiLedDisplay2.BorderColor = Color.Transparent;
            uiLedDisplay2.BorderInColor = Color.Transparent;
            uiLedDisplay2.ForeColor = Color.Lime;
            uiLedDisplay2.LedBackColor = Color.Gray;
            uiLedDisplay2.Location = new Point(590, 12);
            uiLedDisplay2.Name = "uiLedDisplay2";
            uiLedDisplay2.Size = new Size(190, 34);
            uiLedDisplay2.TabIndex = 6;
            // 
            // splitContainer1
            // 
            splitContainer1.Location = new Point(592, 52);
            splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            splitContainer1.Panel1.Controls.Add(RunLog);
            // 
            // splitContainer1.Panel2
            // 
            splitContainer1.Panel2.Controls.Add(ErorrLog);
            splitContainer1.Size = new Size(552, 182);
            splitContainer1.SplitterDistance = 291;
            splitContainer1.TabIndex = 7;
            // 
            // RunLog
            // 
            RunLog.FillColor = Color.FromArgb(0, 192, 0);
            RunLog.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            RunLog.Location = new Point(4, 5);
            RunLog.Margin = new Padding(4, 5, 4, 5);
            RunLog.MinimumSize = new Size(1, 1);
            RunLog.Name = "RunLog";
            RunLog.Padding = new Padding(2);
            RunLog.ScrollBarStyleInherited = false;
            RunLog.ShowText = false;
            RunLog.Size = new Size(282, 172);
            RunLog.TabIndex = 0;
            RunLog.TextAlignment = ContentAlignment.MiddleCenter;
            // 
            // ErorrLog
            // 
            ErorrLog.FillColor = Color.Fuchsia;
            ErorrLog.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            ErorrLog.Location = new Point(4, 5);
            ErorrLog.Margin = new Padding(4, 5, 4, 5);
            ErorrLog.MinimumSize = new Size(1, 1);
            ErorrLog.Name = "ErorrLog";
            ErorrLog.Padding = new Padding(2);
            ErorrLog.ScrollBarStyleInherited = false;
            ErorrLog.ShowText = false;
            ErorrLog.Size = new Size(247, 172);
            ErorrLog.TabIndex = 1;
            ErorrLog.TextAlignment = ContentAlignment.MiddleCenter;
            // 
            // Form1
            // 
            AutoScaleDimensions = new SizeF(9F, 20F);
            AutoScaleMode = AutoScaleMode.Font;
            BackColor = Color.Black;
            ClientSize = new Size(1150, 706);
            Controls.Add(splitContainer1);
            Controls.Add(uiLedDisplay2);
            Controls.Add(uiLedDisplay1);
            Controls.Add(uiSwitch1);
            Controls.Add(uiLight1);
            Controls.Add(Log);
            Controls.Add(uiGroupBox1);
            Controls.Add(Data);
            FormBorderStyle = FormBorderStyle.FixedSingle;
            MaximizeBox = false;
            Name = "Form1";
            Text = "上位机";
            Load += Form1_Load;
            ((System.ComponentModel.ISupportInitialize)Data).EndInit();
            uiGroupBox1.ResumeLayout(false);
            splitContainer1.Panel1.ResumeLayout(false);
            splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
            splitContainer1.ResumeLayout(false);
            ResumeLayout(false);
        }

        #endregion

        private Sunny.UI.UIDataGridView Data;
        private Sunny.UI.UIGroupBox uiGroupBox1;
        private Sunny.UI.UIRichTextBox Log;
        private Sunny.UI.UILight uiLight1;
        private Sunny.UI.UISwitch uiSwitch1;
        private Sunny.UI.UILedDisplay uiLedDisplay1;
        private Sunny.UI.UILedDisplay uiLedDisplay2;
        private SplitContainer splitContainer1;
        private Sunny.UI.UITextBox uiTextBox1;
        private Sunny.UI.UILabel uiLabel4;
        private Sunny.UI.UILabel uiLabel3;
        private Sunny.UI.UILabel uiLabel2;
        private Sunny.UI.UILabel uiLabel1;
        private Sunny.UI.UITextBox uiTextBox4;
        private Sunny.UI.UITextBox uiTextBox3;
        private Sunny.UI.UITextBox uiTextBox2;
        private Sunny.UI.UITextBox uiTextBox9;
        private Sunny.UI.UITextBox uiTextBox10;
        private Sunny.UI.UITextBox uiTextBox11;
        private Sunny.UI.UITextBox uiTextBox12;
        private Sunny.UI.UILabel uiLabel9;
        private Sunny.UI.UILabel uiLabel10;
        private Sunny.UI.UILabel uiLabel11;
        private Sunny.UI.UILabel uiLabel12;
        private Sunny.UI.UITextBox uiTextBox5;
        private Sunny.UI.UITextBox uiTextBox6;
        private Sunny.UI.UITextBox uiTextBox7;
        private Sunny.UI.UITextBox uiTextBox8;
        private Sunny.UI.UILabel uiLabel5;
        private Sunny.UI.UILabel uiLabel6;
        private Sunny.UI.UILabel uiLabel7;
        private Sunny.UI.UILabel uiLabel8;
        private Sunny.UI.UIRichTextBox RunLog;
        private Sunny.UI.UIRichTextBox ErorrLog;
        private DataGridViewTextBoxColumn Column1;
        private DataGridViewTextBoxColumn Column2;
        private DataGridViewTextBoxColumn Column3;
        private DataGridViewTextBoxColumn Column4;
        private DataGridViewTextBoxColumn Column5;
        private DataGridViewTextBoxColumn Column6;
        private DataGridViewTextBoxColumn Column7;
        private DataGridViewTextBoxColumn Column8;
        private DataGridViewTextBoxColumn Column9;
        private DataGridViewTextBoxColumn Column10;
        private DataGridViewTextBoxColumn Column11;
        private DataGridViewTextBoxColumn Column12;
        private DataGridViewTextBoxColumn Column13;
        private DataGridViewTextBoxColumn Column14;
        private DataGridViewTextBoxColumn Column15;
    }
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/771641.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

PDM与ERP物料编码技术在产品设计中的区别与应用

01 概 述 产品是企业赖以生存的基础&#xff0c;产品数据是企业最基本的也是最重要的数据&#xff0c;产品数据存在于产品设计、采购、生产、销售、服务、库存管理等全过程中。通过对产品设计数据进行编码&#xff0c;并增加采购、库存、生产、制造等属性信息&#xff0c;可以…

2.5 C#视觉程序开发实例1----设计一个IO_Manager

2.5 C#视觉程序开发实例1----设计一个IO_Manager 第一步目标&#xff1a; 1 实现获取IO触发信号Trig0 2 能够实现程序切换 3 图像处理后能够输出一个脉冲 1 IO 引脚定义 1.1 输入信号定义 1.2 输出信号定义 2 IO时序图 2.1 触发时序 2.2 切换程序时序图 3 IO_Manager.cs …

Android系统集成和使用FFmpeg

文章目录 前言FFmpeg源码下载交叉编译NDK下载x264编译源码下载编译 FFmpeg编译脚本 AOSP继承FFmpeg 前言 原生AOSP中并未继承FFmpeg&#xff0c;所以要想在android上使用&#xff0c;需要自己编译集成。 FFmpeg源码下载 git clone https://git.ffmpeg.org/ffmpeg.git目前最新…

云桌面运维工程师

一 深信服驻场工程师 1 深信服AC、AF、AD、NGAF、WOC Atrust、WAF项目实施经验者优先考虑。 负责云桌面POC测试 部署和配置&#xff1a;设置云桌面基础设施&#xff0c;包括虚拟化平台、云桌面管理软件和相关组件。确保正确配置网络、存储和安全设置。 用户体验&#xff1…

oracle用户过期/设置无限期用户/ORA-28001:the password has expired

oracle默认情况下&#xff0c;新建的账户只有180天的有效期&#xff0c;在有效期到期前一周就会报警。而一旦过了有效期&#xff0c;账户就会被锁定无法登录。所以为了方便起见&#xff0c;要修改oracle用户的有效期为无限。 1.查看用户密码的有效期设置&#xff0c;一般默认的…

如何解决滑块验证码 | 最佳滑块拼图验证码解决方案

你是否曾经在遇到滑块验证码时感觉像一个拼图大师&#xff1f;那种需要将拼图块完美地匹配到槽位中以证明你是人类的验证码&#xff1f;我也曾多次遇到过这些棘手的测试&#xff0c;虽然有点挑战性&#xff0c;但它们也是网络安全世界的一个迷人一瞥。在本指南中&#xff0c;我…

能保存到相册的风景视频在哪下载?下载风景视频网站分享

在当今以视觉为核心的时代&#xff0c;高清美丽的风景视频不仅能够丰富我们的日常生活&#xff0c;还能提供心灵上的慰藉。无论是为了制作视频项目&#xff0c;还是仅仅想要珍藏一些精美的风景画面&#xff0c;获取高质量的风景视频素材显得尤为重要。许多人可能会问&#xff1…

班迪录屏(Bandicam)7.0下载以及安装教程

最近有小伙伴私信我&#xff0c;问我有没有好用的录屏工具&#xff0c;今天给大家分享一个我一直在使用的录屏工具&#xff0c;也是解锁了V1P版本&#xff0c;绿色版打开就可以使用~ Bandicam录屏&#xff08;PC&#xff09; Bandicam录屏是一款专为捕捉屏幕精彩瞬间而设计的…

使用 iconfont.ttf文件保存多个图标文件,并且像文字一样使用代码绘制出来

先看演示效果 这里的多个图标其实是存储在 iconfont.ttf文件中 这个文件里面的图标对应的编码 显示代码 void CMFCApplication3Dlg::OnBnClickedOk() {// 加载字体文件CString fontPath = _T("C:\\Users\\35497\\Desktop\\test\\MFCApplication3\\font\\iconfont.ttf&qu…

测试引擎模拟接口实战

在上一章的内容中&#xff0c;我简单介绍了整个微服务的各个子模块&#xff0c;还封装了一些工具类。 当然&#xff0c;若还没完成上次内容的也可以点击右侧的传送门------传送门 EngineApplication 在开发测试引擎模拟接口之前&#xff0c;还需要给xxx-engine创建一个Sprin…

langchain框架轻松实现本地RAG

一 什么是RAG? RAG&#xff08;Retrieval-Augmented Generation&#xff09;是一种结合了检索和生成模型的方法&#xff0c;主要用于解决序列到序列的任务&#xff0c;如问答、对话系统、文本摘要等。它的核心思想是通过从大量文档中检索相关信息&#xff0c;然后利用这些信息…

【Android面试八股文】你是怎么保证Android设备的时间与服务器时间同步的?(使用NTP和TrueTime方案)

文章目录 一、网络时间协议(NTP)二、使用网络时间协议(NTP)2.1 使用系统提供的 NTP 服务器2.2 使用TrueTime2.2.1 引入TrueTime库2.2.2 初始化 TrueTime2.2.3 用法2.2.4 使用 TrueTime 获取时间2.2.4 自动更新时间2.2.5 注意事项二. 使用 HTTP 请求获取服务器时间2.1. 发送…

鸿蒙开发设备管理:【@ohos.thermal (热管理)】

热管理 该模块提供热管理相关的接口&#xff0c;包括热档位查询及注册回调等功能。 说明&#xff1a; 本模块首批接口从API version 8开始支持。后续版本的新增接口&#xff0c;采用上角标单独标记接口的起始版本。开发前请熟悉鸿蒙开发指导文档&#xff1a;gitee.com/li-shi…

c语言----队列

很久没有写文章了。因为放假了嘛&#xff0c;给自己稍微放松了一下&#xff0c;所以最近的更新很慢。呜呜下一次一定改。然后咧。今天我想与大家分享的是队列。虽然这个知识点我们应该在讲了堆的实现就应该写的&#xff0c;但是后面忘了&#xff0c;以为自己是写了的。但是昨天…

LLM - 词表示和语言模型

一. 词的相似度表示 (1): 用一系列与该词相关的词来表示 (2): 把每个词表示一个独立的符号(one hot) (3): 利用该词上下文的词来表示该词 (3): 建立一个低维度的向量空间&#xff0c;用深度学习方法将该词映射到这个空间里(Word Embedding) 二&#xff1a;语言模型 (1): 根…

基于 STM32 的智能睡眠呼吸监测系统设计

本设计的硬件构成&#xff1a; STM32F103C8T6单片机最小系统板&#xff08;包含3.3V稳压电路时钟晶振电路复位电路&#xff08;上电自复位&#xff0c;手动复位&#xff09;&#xff09;&#xff0c;心率传感器、气压传感器、液晶显示、按键、蜂鸣器、LED灯、蓝牙模块组合而成…

电传动无杆飞机牵引车交付用户

自2019年起&#xff0c;我们计划做电传动控制&#xff0c;先后做了电传动水泥搅拌罐车罐体控制&#xff08;国内首创&#xff09;&#xff0c;初步理解了电机控制的特点。 20-21年接着做了10t飞机牵引车控制&#xff0c;还是电液控制联合的&#xff0c;把越野叉车的行驶控制方…

Prompt的万能公式和优化技巧

文章目录 前言一、万能公式二、优化技巧1.设定角色2.设定目标和动机3.引导主观回答4.预设条件5.做强调6.思维链&#xff08;COT&#xff09;7.巧用定界符 前言 随着LLM的发展&#xff0c;能给我们带来很多方便&#xff0c;但是又引出了一个新的问题就是我们该如何使用他们&…

网络编程:UDP编程笔记

1.字节序的概念和转换 小端格式: 低位字节数据存储在低地址 大端格式: 高位字节数据存储在低地址 在主机上时为小端存储,在网络上时为大端,所以接收到数据时,要转为小端口 如下图: #include <arpa/inet.h> 发送者调用的函数: uint32_t htonl(uint32_t hostlong); //转…