1.初始化项目。保险起见bin目录完整提交 2.基于现场代码为调整过的初始项目(此次提交还未解决代码差异问题)

This commit is contained in:
龚记林
2026-08-19 11:14:30 +08:00
parent b820c71956
commit 2b30644d28
382 changed files with 140652 additions and 1 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,857 @@
namespace AGVSystem
{
partial class Frm_A17168
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_A17168));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel3 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.pnl10 = new System.Windows.Forms.Panel();
this.lab13 = new System.Windows.Forms.Label();
this.pnl11 = new System.Windows.Forms.Panel();
this.lab11 = new System.Windows.Forms.Label();
this.pnl9 = new System.Windows.Forms.Panel();
this.lab9 = new System.Windows.Forms.Label();
this.pnl8 = new System.Windows.Forms.Panel();
this.lab8 = new System.Windows.Forms.Label();
this.pnl7 = new System.Windows.Forms.Panel();
this.lab7 = new System.Windows.Forms.Label();
this.pnl6 = new System.Windows.Forms.Panel();
this.lab6 = new System.Windows.Forms.Label();
this.pnl5 = new System.Windows.Forms.Panel();
this.lab5 = new System.Windows.Forms.Label();
this.pnl4 = new System.Windows.Forms.Panel();
this.lab4 = new System.Windows.Forms.Label();
this.pnl3 = new System.Windows.Forms.Panel();
this.lab3 = new System.Windows.Forms.Label();
this.pnl2 = new System.Windows.Forms.Panel();
this.lab2 = new System.Windows.Forms.Label();
this.pnl1 = new System.Windows.Forms.Panel();
this.lab1 = new System.Windows.Forms.Label();
this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.tm_AgvInfo = new System.Windows.Forms.Timer(this.components);
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.instantDiCtrl1 = new Automation.BDaq.InstantDiCtrl(this.components);
this.instantDoCtrl1 = new Automation.BDaq.InstantDoCtrl(this.components);
this.instantDiCtrl2 = new Automation.BDaq.InstantDiCtrl(this.components);
this.instantDoCtrl2 = new Automation.BDaq.InstantDoCtrl(this.components);
this.instantDiCtrl3 = new Automation.BDaq.InstantDiCtrl(this.components);
this.instantDoCtrl3 = new Automation.BDaq.InstantDoCtrl(this.components);
this.tm_card = new System.Windows.Forms.Timer(this.components);
this.panel4 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.线 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel9 = new System.Windows.Forms.Panel();
this.panel13 = new System.Windows.Forms.Panel();
this.pictureBox14 = new System.Windows.Forms.PictureBox();
this.label28 = new System.Windows.Forms.Label();
this.panel12 = new System.Windows.Forms.Panel();
this.pictureBox13 = new System.Windows.Forms.PictureBox();
this.label25 = new System.Windows.Forms.Label();
this.panel11 = new System.Windows.Forms.Panel();
this.pictureBox12 = new System.Windows.Forms.PictureBox();
this.label24 = new System.Windows.Forms.Label();
this.panel10 = new System.Windows.Forms.Panel();
this.pictureBox11 = new System.Windows.Forms.PictureBox();
this.label26 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel7 = new System.Windows.Forms.Panel();
this.timer3 = new System.Windows.Forms.Timer(this.components);
this.tm_btn = new System.Windows.Forms.Timer(this.components);
this.panel8.SuspendLayout();
this.pnl10.SuspendLayout();
this.pnl11.SuspendLayout();
this.pnl9.SuspendLayout();
this.pnl8.SuspendLayout();
this.pnl7.SuspendLayout();
this.pnl6.SuspendLayout();
this.pnl5.SuspendLayout();
this.pnl4.SuspendLayout();
this.pnl3.SuspendLayout();
this.pnl2.SuspendLayout();
this.pnl1.SuspendLayout();
this.panel4.SuspendLayout();
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel9.SuspendLayout();
this.panel13.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).BeginInit();
this.panel12.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox13)).BeginInit();
this.panel11.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).BeginInit();
this.panel10.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).BeginInit();
this.SuspendLayout();
//
// panel3
//
this.panel3.BackColor = System.Drawing.SystemColors.ScrollBar;
this.panel3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(982, 369);
this.panel3.TabIndex = 5;
this.panel3.Tag = "1";
this.panel3.DoubleClick += new System.EventHandler(this.panel3_DoubleClick);
this.panel3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel3_MouseClick);
this.panel3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel3_MouseMove);
//
// panel8
//
this.panel8.Controls.Add(this.pnl10);
this.panel8.Controls.Add(this.pnl11);
this.panel8.Controls.Add(this.pnl9);
this.panel8.Controls.Add(this.pnl8);
this.panel8.Controls.Add(this.pnl7);
this.panel8.Controls.Add(this.pnl6);
this.panel8.Controls.Add(this.pnl5);
this.panel8.Controls.Add(this.pnl4);
this.panel8.Controls.Add(this.pnl3);
this.panel8.Controls.Add(this.pnl2);
this.panel8.Controls.Add(this.pnl1);
this.panel8.Controls.Add(this.vScrollBar1);
this.panel8.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel8.Location = new System.Drawing.Point(0, 750);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(1292, 30);
this.panel8.TabIndex = 12;
this.panel8.Tag = " ";
this.panel8.Visible = false;
//
// pnl10
//
this.pnl10.Controls.Add(this.lab13);
this.pnl10.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl10.Location = new System.Drawing.Point(0, 320);
this.pnl10.Name = "pnl10";
this.pnl10.Size = new System.Drawing.Size(1275, 32);
this.pnl10.TabIndex = 13;
this.pnl10.Tag = " ";
this.pnl10.Visible = false;
//
// lab13
//
this.lab13.Dock = System.Windows.Forms.DockStyle.Left;
this.lab13.Location = new System.Drawing.Point(0, 0);
this.lab13.Name = "lab13";
this.lab13.Size = new System.Drawing.Size(98, 32);
this.lab13.TabIndex = 15;
this.lab13.Text = "车门线:";
this.lab13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl11
//
this.pnl11.Controls.Add(this.lab11);
this.pnl11.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl11.Location = new System.Drawing.Point(0, 288);
this.pnl11.Name = "pnl11";
this.pnl11.Size = new System.Drawing.Size(1275, 32);
this.pnl11.TabIndex = 11;
this.pnl11.Tag = " ";
this.pnl11.Visible = false;
//
// lab11
//
this.lab11.Dock = System.Windows.Forms.DockStyle.Left;
this.lab11.Location = new System.Drawing.Point(0, 0);
this.lab11.Name = "lab11";
this.lab11.Size = new System.Drawing.Size(98, 32);
this.lab11.TabIndex = 15;
this.lab11.Text = "车门线:";
this.lab11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl9
//
this.pnl9.Controls.Add(this.lab9);
this.pnl9.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl9.Location = new System.Drawing.Point(0, 256);
this.pnl9.Name = "pnl9";
this.pnl9.Size = new System.Drawing.Size(1275, 32);
this.pnl9.TabIndex = 9;
this.pnl9.Tag = " ";
this.pnl9.Visible = false;
//
// lab9
//
this.lab9.Dock = System.Windows.Forms.DockStyle.Left;
this.lab9.Location = new System.Drawing.Point(0, 0);
this.lab9.Name = "lab9";
this.lab9.Size = new System.Drawing.Size(98, 32);
this.lab9.TabIndex = 15;
this.lab9.Text = "车门线:";
this.lab9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl8
//
this.pnl8.Controls.Add(this.lab8);
this.pnl8.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl8.Location = new System.Drawing.Point(0, 224);
this.pnl8.Name = "pnl8";
this.pnl8.Size = new System.Drawing.Size(1275, 32);
this.pnl8.TabIndex = 8;
this.pnl8.Tag = " ";
this.pnl8.Visible = false;
//
// lab8
//
this.lab8.Dock = System.Windows.Forms.DockStyle.Left;
this.lab8.Location = new System.Drawing.Point(0, 0);
this.lab8.Name = "lab8";
this.lab8.Size = new System.Drawing.Size(98, 32);
this.lab8.TabIndex = 14;
this.lab8.Text = "车门线:";
this.lab8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl7
//
this.pnl7.Controls.Add(this.lab7);
this.pnl7.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl7.Location = new System.Drawing.Point(0, 192);
this.pnl7.Name = "pnl7";
this.pnl7.Size = new System.Drawing.Size(1275, 32);
this.pnl7.TabIndex = 7;
this.pnl7.Tag = " ";
this.pnl7.Visible = false;
//
// lab7
//
this.lab7.Dock = System.Windows.Forms.DockStyle.Left;
this.lab7.Location = new System.Drawing.Point(0, 0);
this.lab7.Name = "lab7";
this.lab7.Size = new System.Drawing.Size(98, 32);
this.lab7.TabIndex = 13;
this.lab7.Text = "车门线:";
this.lab7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl6
//
this.pnl6.Controls.Add(this.lab6);
this.pnl6.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl6.Location = new System.Drawing.Point(0, 160);
this.pnl6.Name = "pnl6";
this.pnl6.Size = new System.Drawing.Size(1275, 32);
this.pnl6.TabIndex = 6;
this.pnl6.Tag = " ";
this.pnl6.Visible = false;
//
// lab6
//
this.lab6.Dock = System.Windows.Forms.DockStyle.Left;
this.lab6.Location = new System.Drawing.Point(0, 0);
this.lab6.Name = "lab6";
this.lab6.Size = new System.Drawing.Size(98, 32);
this.lab6.TabIndex = 13;
this.lab6.Text = "车门线:";
this.lab6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl5
//
this.pnl5.Controls.Add(this.lab5);
this.pnl5.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl5.Location = new System.Drawing.Point(0, 128);
this.pnl5.Name = "pnl5";
this.pnl5.Size = new System.Drawing.Size(1275, 32);
this.pnl5.TabIndex = 5;
this.pnl5.Tag = " ";
this.pnl5.Visible = false;
//
// lab5
//
this.lab5.Dock = System.Windows.Forms.DockStyle.Left;
this.lab5.Location = new System.Drawing.Point(0, 0);
this.lab5.Name = "lab5";
this.lab5.Size = new System.Drawing.Size(98, 32);
this.lab5.TabIndex = 12;
this.lab5.Text = "车门线:";
this.lab5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl4
//
this.pnl4.Controls.Add(this.lab4);
this.pnl4.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl4.Location = new System.Drawing.Point(0, 96);
this.pnl4.Name = "pnl4";
this.pnl4.Size = new System.Drawing.Size(1275, 32);
this.pnl4.TabIndex = 4;
this.pnl4.Tag = " ";
this.pnl4.Visible = false;
//
// lab4
//
this.lab4.Dock = System.Windows.Forms.DockStyle.Left;
this.lab4.Location = new System.Drawing.Point(0, 0);
this.lab4.Name = "lab4";
this.lab4.Size = new System.Drawing.Size(98, 32);
this.lab4.TabIndex = 11;
this.lab4.Text = "底盘长:";
this.lab4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl3
//
this.pnl3.Controls.Add(this.lab3);
this.pnl3.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl3.Location = new System.Drawing.Point(0, 64);
this.pnl3.Name = "pnl3";
this.pnl3.Size = new System.Drawing.Size(1275, 32);
this.pnl3.TabIndex = 3;
this.pnl3.Tag = " ";
this.pnl3.Visible = false;
//
// lab3
//
this.lab3.Dock = System.Windows.Forms.DockStyle.Left;
this.lab3.Location = new System.Drawing.Point(0, 0);
this.lab3.Name = "lab3";
this.lab3.Size = new System.Drawing.Size(98, 32);
this.lab3.TabIndex = 11;
this.lab3.Text = "底盘短:";
this.lab3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl2
//
this.pnl2.Controls.Add(this.lab2);
this.pnl2.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl2.Location = new System.Drawing.Point(0, 32);
this.pnl2.Name = "pnl2";
this.pnl2.Size = new System.Drawing.Size(1275, 32);
this.pnl2.TabIndex = 2;
this.pnl2.Tag = " ";
this.pnl2.Visible = false;
//
// lab2
//
this.lab2.Dock = System.Windows.Forms.DockStyle.Left;
this.lab2.Location = new System.Drawing.Point(0, 0);
this.lab2.Name = "lab2";
this.lab2.Size = new System.Drawing.Size(98, 32);
this.lab2.TabIndex = 11;
this.lab2.Text = "内饰二:";
this.lab2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// pnl1
//
this.pnl1.Controls.Add(this.lab1);
this.pnl1.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl1.Location = new System.Drawing.Point(0, 0);
this.pnl1.Name = "pnl1";
this.pnl1.Size = new System.Drawing.Size(1275, 32);
this.pnl1.TabIndex = 1;
this.pnl1.Tag = " ";
this.pnl1.Visible = false;
//
// lab1
//
this.lab1.Dock = System.Windows.Forms.DockStyle.Left;
this.lab1.Location = new System.Drawing.Point(0, 0);
this.lab1.Name = "lab1";
this.lab1.Size = new System.Drawing.Size(98, 32);
this.lab1.TabIndex = 10;
this.lab1.Text = "设备列表:";
this.lab1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// vScrollBar1
//
this.vScrollBar1.Dock = System.Windows.Forms.DockStyle.Right;
this.vScrollBar1.LargeChange = 1;
this.vScrollBar1.Location = new System.Drawing.Point(1275, 0);
this.vScrollBar1.Maximum = 2;
this.vScrollBar1.Name = "vScrollBar1";
this.vScrollBar1.Size = new System.Drawing.Size(17, 30);
this.vScrollBar1.TabIndex = 21;
this.vScrollBar1.ValueChanged += new System.EventHandler(this.vScrollBar1_ValueChanged);
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.ScrollBar;
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(576, 528);
this.panel1.TabIndex = 13;
this.panel1.Tag = "3";
this.panel1.DoubleClick += new System.EventHandler(this.panel3_DoubleClick);
this.panel1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel3_MouseClick);
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
//
// panel2
//
this.panel2.BackColor = System.Drawing.SystemColors.ScrollBar;
this.panel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(535, 444);
this.panel2.TabIndex = 14;
this.panel2.Tag = "2";
this.panel2.DoubleClick += new System.EventHandler(this.panel3_DoubleClick);
this.panel2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panel3_MouseClick);
this.panel2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseMove);
//
// tm_AgvInfo
//
this.tm_AgvInfo.Interval = 2000;
this.tm_AgvInfo.Tick += new System.EventHandler(this.timer1_Tick);
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.tm_Tick);
//
// instantDiCtrl1
//
this.instantDiCtrl1._StateStream = ((Automation.BDaq.DeviceStateStreamer)(resources.GetObject("instantDiCtrl1._StateStream")));
//
// instantDoCtrl1
//
this.instantDoCtrl1._StateStream = ((Automation.BDaq.DeviceStateStreamer)(resources.GetObject("instantDoCtrl1._StateStream")));
//
// instantDiCtrl2
//
this.instantDiCtrl2._StateStream = ((Automation.BDaq.DeviceStateStreamer)(resources.GetObject("instantDiCtrl2._StateStream")));
//
// instantDoCtrl2
//
this.instantDoCtrl2._StateStream = ((Automation.BDaq.DeviceStateStreamer)(resources.GetObject("instantDoCtrl2._StateStream")));
//
// instantDiCtrl3
//
this.instantDiCtrl3._StateStream = ((Automation.BDaq.DeviceStateStreamer)(resources.GetObject("instantDiCtrl3._StateStream")));
//
// instantDoCtrl3
//
this.instantDoCtrl3._StateStream = ((Automation.BDaq.DeviceStateStreamer)(resources.GetObject("instantDoCtrl3._StateStream")));
//
// tm_card
//
this.tm_card.Enabled = true;
this.tm_card.Tick += new System.EventHandler(this.tm_card_Tick);
//
// panel4
//
this.panel4.BackColor = System.Drawing.SystemColors.Control;
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel4.Controls.Add(this.panel5);
this.panel4.Controls.Add(this.panel9);
this.panel4.Controls.Add(this.panel7);
this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
this.panel4.Location = new System.Drawing.Point(975, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(317, 750);
this.panel4.TabIndex = 16;
//
// panel5
//
this.panel5.BackColor = System.Drawing.SystemColors.Control;
this.panel5.Controls.Add(this.dataGridView1);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(315, 503);
this.panel5.TabIndex = 0;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
this.dataGridView1.ColumnHeadersHeight = 30;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.,
this.,
this.,
this.,
this.线});
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Name = "dataGridView1";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.ControlLight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowHeadersWidth = 51;
this.dataGridView1.RowTemplate.Height = 45;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView1.Size = new System.Drawing.Size(315, 503);
this.dataGridView1.TabIndex = 6;
this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
//
// 设备编号
//
this..DataPropertyName = "设备编号";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this..DefaultCellStyle = dataGridViewCellStyle1;
this..HeaderText = "设备编号";
this..MinimumWidth = 6;
this..Name = "设备编号";
this..ReadOnly = true;
this..Width = 65;
//
// 设备位置
//
this..DataPropertyName = "设备位置";
this..HeaderText = "设备位置";
this..MinimumWidth = 6;
this..Name = "设备位置";
this..ReadOnly = true;
this..Width = 65;
//
// 状态
//
this..DataPropertyName = "状态";
this..HeaderText = "状态";
this..MinimumWidth = 6;
this..Name = "状态";
this..ReadOnly = true;
this..Width = 115;
//
// 复位
//
this..DataPropertyName = "复位";
this..FalseValue = "0";
this..HeaderText = "复位";
this..MinimumWidth = 6;
this..Name = "复位";
this..TrueValue = "1";
this..Visible = false;
this..Width = 40;
//
// 在线状态
//
this.线.DataPropertyName = "在线状态";
this.线.HeaderText = "在线状态";
this.线.MinimumWidth = 6;
this.线.Name = "在线状态";
this.线.Width = 125;
//
// panel9
//
this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel9.Controls.Add(this.panel13);
this.panel9.Controls.Add(this.panel12);
this.panel9.Controls.Add(this.panel11);
this.panel9.Controls.Add(this.panel10);
this.panel9.Controls.Add(this.label1);
this.panel9.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel9.Location = new System.Drawing.Point(0, 503);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(315, 167);
this.panel9.TabIndex = 20;
//
// panel13
//
this.panel13.BackColor = System.Drawing.SystemColors.Control;
this.panel13.Controls.Add(this.pictureBox14);
this.panel13.Controls.Add(this.label28);
this.panel13.Dock = System.Windows.Forms.DockStyle.Top;
this.panel13.Location = new System.Drawing.Point(0, 96);
this.panel13.Name = "panel13";
this.panel13.Size = new System.Drawing.Size(313, 24);
this.panel13.TabIndex = 10;
//
// pictureBox14
//
this.pictureBox14.BackColor = System.Drawing.Color.White;
this.pictureBox14.Location = new System.Drawing.Point(22, 4);
this.pictureBox14.Name = "pictureBox14";
this.pictureBox14.Size = new System.Drawing.Size(16, 16);
this.pictureBox14.TabIndex = 7;
this.pictureBox14.TabStop = false;
//
// label28
//
this.label28.Dock = System.Windows.Forms.DockStyle.Right;
this.label28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.label28.Location = new System.Drawing.Point(144, 0);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(169, 24);
this.label28.TabIndex = 6;
this.label28.Text = "设备未开机或断网";
this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel12
//
this.panel12.BackColor = System.Drawing.SystemColors.Control;
this.panel12.Controls.Add(this.pictureBox13);
this.panel12.Controls.Add(this.label25);
this.panel12.Dock = System.Windows.Forms.DockStyle.Top;
this.panel12.Location = new System.Drawing.Point(0, 72);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(313, 24);
this.panel12.TabIndex = 9;
//
// pictureBox13
//
this.pictureBox13.BackColor = System.Drawing.Color.Red;
this.pictureBox13.Location = new System.Drawing.Point(22, 4);
this.pictureBox13.Name = "pictureBox13";
this.pictureBox13.Size = new System.Drawing.Size(16, 16);
this.pictureBox13.TabIndex = 7;
this.pictureBox13.TabStop = false;
//
// label25
//
this.label25.Dock = System.Windows.Forms.DockStyle.Right;
this.label25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.label25.Location = new System.Drawing.Point(144, 0);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(169, 24);
this.label25.TabIndex = 6;
this.label25.Text = "故障报警";
this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel11
//
this.panel11.BackColor = System.Drawing.SystemColors.Control;
this.panel11.Controls.Add(this.pictureBox12);
this.panel11.Controls.Add(this.label24);
this.panel11.Dock = System.Windows.Forms.DockStyle.Top;
this.panel11.Location = new System.Drawing.Point(0, 48);
this.panel11.Name = "panel11";
this.panel11.Size = new System.Drawing.Size(313, 24);
this.panel11.TabIndex = 8;
//
// pictureBox12
//
this.pictureBox12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.pictureBox12.Location = new System.Drawing.Point(22, 4);
this.pictureBox12.Name = "pictureBox12";
this.pictureBox12.Size = new System.Drawing.Size(16, 16);
this.pictureBox12.TabIndex = 7;
this.pictureBox12.TabStop = false;
//
// label24
//
this.label24.Dock = System.Windows.Forms.DockStyle.Right;
this.label24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.label24.Location = new System.Drawing.Point(144, 0);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(169, 24);
this.label24.TabIndex = 6;
this.label24.Text = "障碍物、低电压报警";
this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel10
//
this.panel10.BackColor = System.Drawing.SystemColors.Control;
this.panel10.Controls.Add(this.pictureBox11);
this.panel10.Controls.Add(this.label26);
this.panel10.Dock = System.Windows.Forms.DockStyle.Top;
this.panel10.Location = new System.Drawing.Point(0, 24);
this.panel10.Name = "panel10";
this.panel10.Size = new System.Drawing.Size(313, 24);
this.panel10.TabIndex = 7;
//
// pictureBox11
//
this.pictureBox11.BackColor = System.Drawing.Color.Lime;
this.pictureBox11.Location = new System.Drawing.Point(22, 4);
this.pictureBox11.Name = "pictureBox11";
this.pictureBox11.Size = new System.Drawing.Size(16, 16);
this.pictureBox11.TabIndex = 7;
this.pictureBox11.TabStop = false;
//
// label26
//
this.label26.Dock = System.Windows.Forms.DockStyle.Right;
this.label26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.label26.Location = new System.Drawing.Point(144, 0);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(169, 24);
this.label26.TabIndex = 6;
this.label26.Text = "设备正常";
this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(313, 24);
this.label1.TabIndex = 1;
this.label1.Text = "设备状态说明";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panel7
//
this.panel7.BackgroundImage = global::AGVSystem.Properties.Resources.csg___副本;
this.panel7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel7.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel7.Location = new System.Drawing.Point(0, 670);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(315, 78);
this.panel7.TabIndex = 19;
//
// timer3
//
this.timer3.Enabled = true;
this.timer3.Interval = 6000;
this.timer3.Tick += new System.EventHandler(this.timer3_Tick);
//
// Frm_A17168
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(1292, 780);
this.Controls.Add(this.panel4);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel8);
this.ForeColor = System.Drawing.SystemColors.ControlText;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Frm_A17168";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "设备调度监控";
this.TopMost = true;
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
this.Load += new System.EventHandler(this.Form1_Load);
this.panel8.ResumeLayout(false);
this.pnl10.ResumeLayout(false);
this.pnl11.ResumeLayout(false);
this.pnl9.ResumeLayout(false);
this.pnl8.ResumeLayout(false);
this.pnl7.ResumeLayout(false);
this.pnl6.ResumeLayout(false);
this.pnl5.ResumeLayout(false);
this.pnl4.ResumeLayout(false);
this.pnl3.ResumeLayout(false);
this.pnl2.ResumeLayout(false);
this.pnl1.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.panel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.panel9.ResumeLayout(false);
this.panel13.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).EndInit();
this.panel12.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox13)).EndInit();
this.panel11.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).EndInit();
this.panel10.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Panel pnl8;
private System.Windows.Forms.Panel pnl7;
private System.Windows.Forms.Panel pnl6;
private System.Windows.Forms.Panel pnl5;
private System.Windows.Forms.Panel pnl4;
private System.Windows.Forms.Panel pnl2;
private System.Windows.Forms.Panel pnl3;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel pnl10;
private System.Windows.Forms.Panel pnl11;
private System.Windows.Forms.Panel pnl9;
private System.Windows.Forms.Timer tm_AgvInfo;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.VScrollBar vScrollBar1;
private System.Windows.Forms.Label lab5;
private System.Windows.Forms.Label lab4;
private System.Windows.Forms.Label lab3;
private System.Windows.Forms.Label lab2;
private System.Windows.Forms.Label lab7;
private System.Windows.Forms.Label lab6;
private System.Windows.Forms.Label lab8;
private System.Windows.Forms.Label lab13;
private System.Windows.Forms.Label lab11;
private System.Windows.Forms.Label lab9;
private Automation.BDaq.InstantDiCtrl instantDiCtrl1;
private Automation.BDaq.InstantDoCtrl instantDoCtrl1;
private Automation.BDaq.InstantDiCtrl instantDiCtrl2;
private Automation.BDaq.InstantDoCtrl instantDoCtrl2;
private Automation.BDaq.InstantDiCtrl instantDiCtrl3;
private Automation.BDaq.InstantDoCtrl instantDoCtrl3;
private System.Windows.Forms.Timer tm_card;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewCheckBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn 线;
private System.Windows.Forms.Timer timer3;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel9;
private System.Windows.Forms.Panel panel13;
private System.Windows.Forms.PictureBox pictureBox14;
private System.Windows.Forms.Label label28;
private System.Windows.Forms.Panel panel12;
private System.Windows.Forms.PictureBox pictureBox13;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Panel panel11;
private System.Windows.Forms.PictureBox pictureBox12;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Panel panel10;
private System.Windows.Forms.PictureBox pictureBox11;
private System.Windows.Forms.Label label26;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer tm_btn;
private System.Windows.Forms.Panel pnl1;
private System.Windows.Forms.Label lab1;
//private System.Windows.Forms.Label PortNum0;
//private System.Windows.Forms.Label PortNum1;
//private System.Windows.Forms.Label PortNum2;
//private System.Windows.Forms.Label PortNum3;
//private System.Windows.Forms.Label PortHex0;
//private System.Windows.Forms.Label PortHex1;
//private System.Windows.Forms.Label PortHex2;
//private System.Windows.Forms.Label PortHex3;
//private System.Windows.Forms.ImageList imageList1;
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,219 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tm_AgvInfo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>107, 55</value>
</metadata>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 55</value>
</metadata>
<metadata name="instantDiCtrl1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="instantDiCtrl1._StateStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJBdXRvbWF0aW9uLkJEYXEsIFZlcnNpb249MS4wLjEuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj00NjNmNTkyOGQ2MDE4M2EwBQEAAAAjQXV0b21hdGlv
bi5CRGFxLkRldmljZVN0YXRlU3RyZWFtZXIFAAAADERldmljZU51bWJlcgtEZXNjcmlwdGlvbgpEZXZp
Y2VNb2RlC01vZHVsZUluZGV4CVByb2R1Y3RJRAACAAAACAgICAIAAAD/////CgIAAAAAAAAA/////ws=
</value>
</data>
<metadata name="instantDoCtrl1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>150, 17</value>
</metadata>
<data name="instantDoCtrl1._StateStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJBdXRvbWF0aW9uLkJEYXEsIFZlcnNpb249MS4wLjEuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj00NjNmNTkyOGQ2MDE4M2EwBQEAAAAjQXV0b21hdGlv
bi5CRGFxLkRldmljZVN0YXRlU3RyZWFtZXIFAAAADERldmljZU51bWJlcgtEZXNjcmlwdGlvbgpEZXZp
Y2VNb2RlC01vZHVsZUluZGV4CVByb2R1Y3RJRAACAAAACAgICAIAAAD/////CgIAAAAAAAAA/////ws=
</value>
</data>
<metadata name="instantDiCtrl2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>287, 17</value>
</metadata>
<data name="instantDiCtrl2._StateStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJBdXRvbWF0aW9uLkJEYXEsIFZlcnNpb249MS4wLjEuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj00NjNmNTkyOGQ2MDE4M2EwBQEAAAAjQXV0b21hdGlv
bi5CRGFxLkRldmljZVN0YXRlU3RyZWFtZXIFAAAADERldmljZU51bWJlcgtEZXNjcmlwdGlvbgpEZXZp
Y2VNb2RlC01vZHVsZUluZGV4CVByb2R1Y3RJRAACAAAACAgICAIAAAD/////CgIAAAAAAAAA/////ws=
</value>
</data>
<metadata name="instantDoCtrl2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>420, 17</value>
</metadata>
<data name="instantDoCtrl2._StateStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJBdXRvbWF0aW9uLkJEYXEsIFZlcnNpb249MS4wLjEuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj00NjNmNTkyOGQ2MDE4M2EwBQEAAAAjQXV0b21hdGlv
bi5CRGFxLkRldmljZVN0YXRlU3RyZWFtZXIFAAAADERldmljZU51bWJlcgtEZXNjcmlwdGlvbgpEZXZp
Y2VNb2RlC01vZHVsZUluZGV4CVByb2R1Y3RJRAACAAAACAgICAIAAAD/////CgIAAAAAAAAA/////ws=
</value>
</data>
<metadata name="instantDiCtrl3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>557, 17</value>
</metadata>
<data name="instantDiCtrl3._StateStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJBdXRvbWF0aW9uLkJEYXEsIFZlcnNpb249MS4wLjEuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj00NjNmNTkyOGQ2MDE4M2EwBQEAAAAjQXV0b21hdGlv
bi5CRGFxLkRldmljZVN0YXRlU3RyZWFtZXIFAAAADERldmljZU51bWJlcgtEZXNjcmlwdGlvbgpEZXZp
Y2VNb2RlC01vZHVsZUluZGV4CVByb2R1Y3RJRAACAAAACAgICAIAAAD/////CgIAAAAAAAAA/////ws=
</value>
</data>
<metadata name="instantDoCtrl3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>690, 17</value>
</metadata>
<data name="instantDoCtrl3._StateStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFJBdXRvbWF0aW9uLkJEYXEsIFZlcnNpb249MS4wLjEuMCwgQ3Vs
dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj00NjNmNTkyOGQ2MDE4M2EwBQEAAAAjQXV0b21hdGlv
bi5CRGFxLkRldmljZVN0YXRlU3RyZWFtZXIFAAAADERldmljZU51bWJlcgtEZXNjcmlwdGlvbgpEZXZp
Y2VNb2RlC01vZHVsZUluZGV4CVByb2R1Y3RJRAACAAAACAgICAIAAAD/////CgIAAAAAAAAA/////ws=
</value>
</data>
<metadata name="tm_card.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 55</value>
</metadata>
<metadata name="设备编号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="设备位置.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="状态.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="复位.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="在线状态.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="timer3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>326, 55</value>
</metadata>
<metadata name="tm_btn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>827, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>122</value>
</metadata>
</root>
@@ -0,0 +1,181 @@
using AGVSystem.Cls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace AGVSystem.A17168
{
public class UPDateDBList
{
public static List<object> upDbList = new List<object>();
public static List<string> sqlList = new List<string>();
public static ClsDBConn_sql db = new ClsDBConn_sql();
public static void UpDateDb()
{
while (true)
{
try
{
if (upDbList.Count > 0)
{
if (upDbList[0] != null)
{
if (upDbList[0] is Location_Log)
{
var obj = (Location_Log)upDbList[0];
var n = db.Command("INSERT INTO [Location_Log] ([Dt] ,[Agv_ID] ,[Loc_ID] ,[Value] ,[Loc_ID2] ,[Value2],[Value3]) VALUES ('" +
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff") + "'," + obj.Agv_Id + "," + obj.Loc_ID + "," + obj.Value + "," + obj.Loc_ID2 + "," + obj.Value2 + "," + obj.Value3 + ")");
if (n == "1")
{
upDbList.RemoveAt(0);
}
}
else if (upDbList[0] is CrossInfo_Insert)
{
var obj = (CrossInfo_Insert)upDbList[0];
string strsql = "";
strsql = "INSERT INTO [Go_Log] ([Dt] ,[Agv_id] ,[Type] ,[Location],[plc_value]) VALUES " +
"('" + obj.dt.ToString("yyyy-MM-dd HH:mm:ss.fff") + "'," + obj.agv_no + ",'" + obj.Info + "'," + obj.LandMark + "," + obj.plc_value + ")";
var n = db.Command(strsql);
if (n == "1")
{
upDbList.RemoveAt(0);
}
}
else if (upDbList[0] is Warn_Log)
{
var obj = (Warn_Log)upDbList[0];
string strsql = "INSERT INTO [Warn_Log] ([Dt] ,[Agv_id] ,[Type] ,[Reset]) VALUES ('" +
obj.Dt + "'," + obj.Agv_id + ",'" + obj.Type + "','" + (obj.Reset == null ? "NULL" : obj.Reset) + "')";
var n = db.Command(strsql);
if (n == "1")
{
upDbList.RemoveAt(0);
}
}
else if (upDbList[0] is AgvInfo)
{
var obj = (AgvInfo)upDbList[0];
string strsql = @"UPDATE [dbo].[AgvInfo]
SET [Loc_ID] = '{1}',Status = '{2}'
WHERE id = '{0}'";
strsql = string.Format(strsql, obj.Agv_ID, obj.Location_Display, obj.Enable ? 1 : 0);
var n = db.Command(strsql);
if (n == "1")
{
upDbList.RemoveAt(0);
}
}
}
else
{
upDbList.RemoveAt(0);
}
}
else
{
Thread.Sleep(50);
}
if (sqlList.Count > 0)
{
var n = db.Command(sqlList[0]);
if (n == "1")
{
sqlList.RemoveAt(0);
}
}
else
{
Thread.Sleep(50);
}
}
catch { }
}
}
}
public class DeletePlcValueAndTime
{
public DeletePlcValueAndTime(int regionNumber, int stationNumber)
{
this.regionNumber = regionNumber;
this.stationNumber = stationNumber;
this.EndTime = DateTime.Now;
}
public int regionNumber { get; set; }
public int stationNumber { get; set; }
public DateTime EndTime { get; set; }
}
public class Location_Log
{
public Location_Log()
{
}
public Location_Log(DateTime dt, int agvId, int locId, int value, int locId2, int value2, int value3)
{
Dt = dt;
Agv_Id = agvId;
Loc_ID = locId;
Value = value;
Loc_ID2 = locId2;
Value2 = value2;
Value3 = value3;
}
public DateTime Dt { get; set; }
public int Agv_Id { get; set; }
public int Loc_ID { get; set; }
public int Value { get; set; }
public int Loc_ID2 { get; set; }
public int Value2 { get; set; }
public int Value3 { get; set; }
}
public class CrossInfo_Insert
{
public CrossInfo_Insert() { }
public CrossInfo_Insert(DateTime dt, string Assembly_Name, string Assembly_Id, int AGV_Internal_No, int LandMark, string Info, int agv_no, int plc_value)
{
this.dt = dt;
this.Assembly_Name = Assembly_Name;
this.Assembly_Id = Assembly_Id;
this.AGV_Internal_No = AGV_Internal_No;
this.LandMark = LandMark;
this.Info = Info;
this.agv_no = agv_no;
this.plc_value = plc_value;
}
public DateTime dt { get; set; }
public string Assembly_Name { get; set; }
public string Assembly_Id { get; set; }
public int AGV_Internal_No { get; set; }
public int LandMark { get; set; }
public string Info { get; set; }
public int agv_no { get; set; }
public int plc_value { get; set; }
}
public class Warn_Log
{
public Warn_Log(string dt, string agvId, string type, string reset)
{
Dt = dt;
Agv_id = agvId;
Type = type;
Reset = reset;
}
public string Dt { get; set; }
public string Agv_id { get; set; }
public string Type { get; set; }
public string Reset { get; set; }
}
}