Commit 7c25a345 LN

增加日文。

1 个父辈 ee922d2c
...@@ -123,6 +123,9 @@ ...@@ -123,6 +123,9 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Properties\Resource.ge-DE.resx" /> <EmbeddedResource Include="Properties\Resource.ge-DE.resx" />
<EmbeddedResource Include="Properties\Resource.ja-JP.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resource.zh-CN.resx"> <EmbeddedResource Include="Properties\Resource.zh-CN.resx">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
......
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
// btnMiddleMove // btnMiddleMove
// //
this.btnMiddleMove.BackColor = System.Drawing.SystemColors.Control; this.btnMiddleMove.BackColor = System.Drawing.SystemColors.Control;
this.btnMiddleMove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMiddleMove.Location = new System.Drawing.Point(263, 64); this.btnMiddleMove.Location = new System.Drawing.Point(263, 64);
this.btnMiddleMove.Name = "btnMiddleMove"; this.btnMiddleMove.Name = "btnMiddleMove";
this.btnMiddleMove.Size = new System.Drawing.Size(144, 52); this.btnMiddleMove.Size = new System.Drawing.Size(144, 52);
...@@ -125,6 +126,7 @@ ...@@ -125,6 +126,7 @@
// btnUpDownMove // btnUpDownMove
// //
this.btnUpDownMove.BackColor = System.Drawing.SystemColors.Control; this.btnUpDownMove.BackColor = System.Drawing.SystemColors.Control;
this.btnUpDownMove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownMove.Location = new System.Drawing.Point(263, 118); this.btnUpDownMove.Location = new System.Drawing.Point(263, 118);
this.btnUpDownMove.Name = "btnUpDownMove"; this.btnUpDownMove.Name = "btnUpDownMove";
this.btnUpDownMove.Size = new System.Drawing.Size(144, 52); this.btnUpDownMove.Size = new System.Drawing.Size(144, 52);
...@@ -137,6 +139,7 @@ ...@@ -137,6 +139,7 @@
// btnInOutMove // btnInOutMove
// //
this.btnInOutMove.BackColor = System.Drawing.SystemColors.Control; this.btnInOutMove.BackColor = System.Drawing.SystemColors.Control;
this.btnInOutMove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnInOutMove.Location = new System.Drawing.Point(263, 171); this.btnInOutMove.Location = new System.Drawing.Point(263, 171);
this.btnInOutMove.Name = "btnInOutMove"; this.btnInOutMove.Name = "btnInOutMove";
this.btnInOutMove.Size = new System.Drawing.Size(144, 52); this.btnInOutMove.Size = new System.Drawing.Size(144, 52);
...@@ -149,6 +152,7 @@ ...@@ -149,6 +152,7 @@
// btnInOutMovej // btnInOutMovej
// //
this.btnInOutMovej.BackColor = System.Drawing.SystemColors.Control; this.btnInOutMovej.BackColor = System.Drawing.SystemColors.Control;
this.btnInOutMovej.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnInOutMovej.Location = new System.Drawing.Point(410, 171); this.btnInOutMovej.Location = new System.Drawing.Point(410, 171);
this.btnInOutMovej.Name = "btnInOutMovej"; this.btnInOutMovej.Name = "btnInOutMovej";
this.btnInOutMovej.Size = new System.Drawing.Size(144, 52); this.btnInOutMovej.Size = new System.Drawing.Size(144, 52);
...@@ -161,6 +165,7 @@ ...@@ -161,6 +165,7 @@
// btnUpDownMovej // btnUpDownMovej
// //
this.btnUpDownMovej.BackColor = System.Drawing.SystemColors.Control; this.btnUpDownMovej.BackColor = System.Drawing.SystemColors.Control;
this.btnUpDownMovej.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpDownMovej.Location = new System.Drawing.Point(410, 118); this.btnUpDownMovej.Location = new System.Drawing.Point(410, 118);
this.btnUpDownMovej.Name = "btnUpDownMovej"; this.btnUpDownMovej.Name = "btnUpDownMovej";
this.btnUpDownMovej.Size = new System.Drawing.Size(144, 52); this.btnUpDownMovej.Size = new System.Drawing.Size(144, 52);
...@@ -173,6 +178,7 @@ ...@@ -173,6 +178,7 @@
// btnMiddleMovej // btnMiddleMovej
// //
this.btnMiddleMovej.BackColor = System.Drawing.SystemColors.Control; this.btnMiddleMovej.BackColor = System.Drawing.SystemColors.Control;
this.btnMiddleMovej.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMiddleMovej.Location = new System.Drawing.Point(410, 64); this.btnMiddleMovej.Location = new System.Drawing.Point(410, 64);
this.btnMiddleMovej.Name = "btnMiddleMovej"; this.btnMiddleMovej.Name = "btnMiddleMovej";
this.btnMiddleMovej.Size = new System.Drawing.Size(144, 52); this.btnMiddleMovej.Size = new System.Drawing.Size(144, 52);
...@@ -184,12 +190,14 @@ ...@@ -184,12 +190,14 @@
// //
// button1 // button1
// //
this.button1.Location = new System.Drawing.Point(428, 374); this.button1.BackColor = System.Drawing.SystemColors.Control;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(410, 373);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(126, 37); this.button1.Size = new System.Drawing.Size(126, 37);
this.button1.TabIndex = 16; this.button1.TabIndex = 16;
this.button1.Text = "关闭"; this.button1.Text = "关闭";
this.button1.UseVisualStyleBackColor = true; this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click); this.button1.Click += new System.EventHandler(this.button1_Click);
// //
// txtInOutPosition // txtInOutPosition
...@@ -246,6 +254,7 @@ ...@@ -246,6 +254,7 @@
// btnComMovej // btnComMovej
// //
this.btnComMovej.BackColor = System.Drawing.SystemColors.Control; this.btnComMovej.BackColor = System.Drawing.SystemColors.Control;
this.btnComMovej.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnComMovej.Location = new System.Drawing.Point(410, 227); this.btnComMovej.Location = new System.Drawing.Point(410, 227);
this.btnComMovej.Name = "btnComMovej"; this.btnComMovej.Name = "btnComMovej";
this.btnComMovej.Size = new System.Drawing.Size(144, 52); this.btnComMovej.Size = new System.Drawing.Size(144, 52);
...@@ -258,6 +267,7 @@ ...@@ -258,6 +267,7 @@
// btnComMove // btnComMove
// //
this.btnComMove.BackColor = System.Drawing.SystemColors.Control; this.btnComMove.BackColor = System.Drawing.SystemColors.Control;
this.btnComMove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnComMove.Location = new System.Drawing.Point(263, 227); this.btnComMove.Location = new System.Drawing.Point(263, 227);
this.btnComMove.Name = "btnComMove"; this.btnComMove.Name = "btnComMove";
this.btnComMove.Size = new System.Drawing.Size(144, 52); this.btnComMove.Size = new System.Drawing.Size(144, 52);
...@@ -293,6 +303,7 @@ ...@@ -293,6 +303,7 @@
// btnAutoMovej // btnAutoMovej
// //
this.btnAutoMovej.BackColor = System.Drawing.SystemColors.Control; this.btnAutoMovej.BackColor = System.Drawing.SystemColors.Control;
this.btnAutoMovej.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAutoMovej.Location = new System.Drawing.Point(410, 285); this.btnAutoMovej.Location = new System.Drawing.Point(410, 285);
this.btnAutoMovej.Name = "btnAutoMovej"; this.btnAutoMovej.Name = "btnAutoMovej";
this.btnAutoMovej.Size = new System.Drawing.Size(144, 52); this.btnAutoMovej.Size = new System.Drawing.Size(144, 52);
...@@ -305,6 +316,7 @@ ...@@ -305,6 +316,7 @@
// btnAutoMove // btnAutoMove
// //
this.btnAutoMove.BackColor = System.Drawing.SystemColors.Control; this.btnAutoMove.BackColor = System.Drawing.SystemColors.Control;
this.btnAutoMove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAutoMove.Location = new System.Drawing.Point(263, 285); this.btnAutoMove.Location = new System.Drawing.Point(263, 285);
this.btnAutoMove.Name = "btnAutoMove"; this.btnAutoMove.Name = "btnAutoMove";
this.btnAutoMove.Size = new System.Drawing.Size(144, 52); this.btnAutoMove.Size = new System.Drawing.Size(144, 52);
...@@ -332,12 +344,14 @@ ...@@ -332,12 +344,14 @@
// //
// btnUpdate // btnUpdate
// //
this.btnUpdate.Location = new System.Drawing.Point(281, 374); this.btnUpdate.BackColor = System.Drawing.SystemColors.Control;
this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnUpdate.Location = new System.Drawing.Point(281, 373);
this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(126, 37); this.btnUpdate.Size = new System.Drawing.Size(126, 37);
this.btnUpdate.TabIndex = 32; this.btnUpdate.TabIndex = 32;
this.btnUpdate.Text = "更新坐标"; this.btnUpdate.Text = "更新坐标";
this.btnUpdate.UseVisualStyleBackColor = true; this.btnUpdate.UseVisualStyleBackColor = false;
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
// //
// FrmAxisDebug // FrmAxisDebug
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(542, 3); this.groupBox1.Location = new System.Drawing.Point(542, 3);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(418, 715); this.groupBox1.Size = new System.Drawing.Size(418, 649);
this.groupBox1.TabIndex = 105; this.groupBox1.TabIndex = 105;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "DO写入"; this.groupBox1.Text = "DO写入";
...@@ -519,7 +519,7 @@ ...@@ -519,7 +519,7 @@
// button1 // button1
// //
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.button1.Location = new System.Drawing.Point(761, 738); this.button1.Location = new System.Drawing.Point(761, 672);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(115, 34); this.button1.Size = new System.Drawing.Size(115, 34);
this.button1.TabIndex = 254; this.button1.TabIndex = 254;
...@@ -534,7 +534,7 @@ ...@@ -534,7 +534,7 @@
this.chbAutoRead.Checked = true; this.chbAutoRead.Checked = true;
this.chbAutoRead.CheckState = System.Windows.Forms.CheckState.Checked; this.chbAutoRead.CheckState = System.Windows.Forms.CheckState.Checked;
this.chbAutoRead.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.chbAutoRead.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbAutoRead.Location = new System.Drawing.Point(637, 743); this.chbAutoRead.Location = new System.Drawing.Point(637, 677);
this.chbAutoRead.Name = "chbAutoRead"; this.chbAutoRead.Name = "chbAutoRead";
this.chbAutoRead.Size = new System.Drawing.Size(75, 21); this.chbAutoRead.Size = new System.Drawing.Size(75, 21);
this.chbAutoRead.TabIndex = 244; this.chbAutoRead.TabIndex = 244;
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
this.groupBox4.Controls.Add(this.tableLayoutPanel2); this.groupBox4.Controls.Add(this.tableLayoutPanel2);
this.groupBox4.Location = new System.Drawing.Point(274, 3); this.groupBox4.Location = new System.Drawing.Point(274, 3);
this.groupBox4.Name = "groupBox4"; this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(263, 778); this.groupBox4.Size = new System.Drawing.Size(263, 712);
this.groupBox4.TabIndex = 104; this.groupBox4.TabIndex = 104;
this.groupBox4.TabStop = false; this.groupBox4.TabStop = false;
this.groupBox4.Text = "DO列表"; this.groupBox4.Text = "DO列表";
...@@ -558,6 +558,7 @@ ...@@ -558,6 +558,7 @@
this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel2.AutoScroll = true;
this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnCount = 1;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 14); this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 14);
...@@ -565,7 +566,7 @@ ...@@ -565,7 +566,7 @@
this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowCount = 2;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(252, 758); this.tableLayoutPanel2.Size = new System.Drawing.Size(252, 692);
this.tableLayoutPanel2.TabIndex = 103; this.tableLayoutPanel2.TabIndex = 103;
// //
// groupBox3 // groupBox3
...@@ -575,7 +576,7 @@ ...@@ -575,7 +576,7 @@
this.groupBox3.Controls.Add(this.tableLayoutPanel1); this.groupBox3.Controls.Add(this.tableLayoutPanel1);
this.groupBox3.Location = new System.Drawing.Point(12, 3); this.groupBox3.Location = new System.Drawing.Point(12, 3);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(263, 778); this.groupBox3.Size = new System.Drawing.Size(263, 712);
this.groupBox3.TabIndex = 103; this.groupBox3.TabIndex = 103;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "DI列表"; this.groupBox3.Text = "DI列表";
...@@ -585,6 +586,7 @@ ...@@ -585,6 +586,7 @@
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel1.AutoScroll = true;
this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 14); this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 14);
...@@ -592,14 +594,14 @@ ...@@ -592,14 +594,14 @@
this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(252, 758); this.tableLayoutPanel1.Size = new System.Drawing.Size(252, 692);
this.tableLayoutPanel1.TabIndex = 102; this.tableLayoutPanel1.TabIndex = 102;
// //
// FrmIOStatus // FrmIOStatus
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(967, 787); this.ClientSize = new System.Drawing.Size(967, 721);
this.Controls.Add(this.button1); this.Controls.Add(this.button1);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox4);
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer1 = new System.Windows.Forms.Timer(this.components);
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.显示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.显示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.groupAuto = new System.Windows.Forms.GroupBox(); this.groupAuto = new System.Windows.Forms.GroupBox();
...@@ -238,7 +239,8 @@ ...@@ -238,7 +239,8 @@
this.清理日志ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.清理日志ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
this.英文ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.英文ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator22 = new System.Windows.Forms.ToolStripSeparator();
this.contextMenuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout();
this.groupAuto.SuspendLayout(); this.groupAuto.SuspendLayout();
this.groupBox6.SuspendLayout(); this.groupBox6.SuspendLayout();
...@@ -268,19 +270,24 @@ ...@@ -268,19 +270,24 @@
this.toolStripSeparator21, this.toolStripSeparator21,
this.toolStripMenuItem1}); this.toolStripMenuItem1});
this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(181, 80); this.contextMenuStrip1.Size = new System.Drawing.Size(107, 58);
// //
// 显示ToolStripMenuItem // 显示ToolStripMenuItem
// //
this.显示ToolStripMenuItem.Name = "显示ToolStripMenuItem"; this.显示ToolStripMenuItem.Name = "显示ToolStripMenuItem";
this.显示ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.显示ToolStripMenuItem.Size = new System.Drawing.Size(106, 24);
this.显示ToolStripMenuItem.Text = "显示"; this.显示ToolStripMenuItem.Text = "显示";
this.显示ToolStripMenuItem.Click += new System.EventHandler(this.显示ToolStripMenuItem_Click); this.显示ToolStripMenuItem.Click += new System.EventHandler(this.显示ToolStripMenuItem_Click);
// //
// toolStripSeparator21
//
this.toolStripSeparator21.Name = "toolStripSeparator21";
this.toolStripSeparator21.Size = new System.Drawing.Size(103, 6);
//
// toolStripMenuItem1 // toolStripMenuItem1
// //
this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(180, 24); this.toolStripMenuItem1.Size = new System.Drawing.Size(106, 24);
this.toolStripMenuItem1.Text = "退出"; this.toolStripMenuItem1.Text = "退出";
this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
// //
...@@ -2663,7 +2670,9 @@ ...@@ -2663,7 +2670,9 @@
this.语言.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.语言.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.清理日志ToolStripMenuItem, this.清理日志ToolStripMenuItem,
this.toolStripSeparator12, this.toolStripSeparator12,
this.英文ToolStripMenuItem}); this.英文ToolStripMenuItem,
this.toolStripSeparator22,
this.toolStripMenuItem6});
this.语言.Name = "语言"; this.语言.Name = "语言";
this.语言.Size = new System.Drawing.Size(54, 25); this.语言.Size = new System.Drawing.Size(54, 25);
this.语言.Text = "语言"; this.语言.Text = "语言";
...@@ -2671,26 +2680,33 @@ ...@@ -2671,26 +2680,33 @@
// 清理日志ToolStripMenuItem // 清理日志ToolStripMenuItem
// //
this.清理日志ToolStripMenuItem.Name = "清理日志ToolStripMenuItem"; this.清理日志ToolStripMenuItem.Name = "清理日志ToolStripMenuItem";
this.清理日志ToolStripMenuItem.Size = new System.Drawing.Size(112, 26); this.清理日志ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
this.清理日志ToolStripMenuItem.Text = "中文"; this.清理日志ToolStripMenuItem.Text = "中文";
this.清理日志ToolStripMenuItem.Click += new System.EventHandler(this.清理日志ToolStripMenuItem_Click); this.清理日志ToolStripMenuItem.Click += new System.EventHandler(this.清理日志ToolStripMenuItem_Click);
// //
// toolStripSeparator12 // toolStripSeparator12
// //
this.toolStripSeparator12.Name = "toolStripSeparator12"; this.toolStripSeparator12.Name = "toolStripSeparator12";
this.toolStripSeparator12.Size = new System.Drawing.Size(109, 6); this.toolStripSeparator12.Size = new System.Drawing.Size(177, 6);
// //
// 英文ToolStripMenuItem // 英文ToolStripMenuItem
// //
this.英文ToolStripMenuItem.Name = "英文ToolStripMenuItem"; this.英文ToolStripMenuItem.Name = "英文ToolStripMenuItem";
this.英文ToolStripMenuItem.Size = new System.Drawing.Size(112, 26); this.英文ToolStripMenuItem.Size = new System.Drawing.Size(180, 26);
this.英文ToolStripMenuItem.Text = "英文"; this.英文ToolStripMenuItem.Text = "英文";
this.英文ToolStripMenuItem.Click += new System.EventHandler(this.开启DEBUGToolStripMenuItem_Click); this.英文ToolStripMenuItem.Click += new System.EventHandler(this.开启DEBUGToolStripMenuItem_Click);
// //
// toolStripSeparator21 // toolStripMenuItem6
// //
this.toolStripSeparator21.Name = "toolStripSeparator21"; this.toolStripMenuItem6.Name = "toolStripMenuItem6";
this.toolStripSeparator21.Size = new System.Drawing.Size(177, 6); this.toolStripMenuItem6.Size = new System.Drawing.Size(180, 26);
this.toolStripMenuItem6.Text = "日语";
this.toolStripMenuItem6.Click += new System.EventHandler(this.toolStripMenuItem6_Click);
//
// toolStripSeparator22
//
this.toolStripSeparator22.Name = "toolStripSeparator22";
this.toolStripSeparator22.Size = new System.Drawing.Size(177, 6);
// //
// FrmStoreBox // FrmStoreBox
// //
...@@ -2964,6 +2980,8 @@ ...@@ -2964,6 +2980,8 @@
private System.Windows.Forms.Button btnCycleOut; private System.Windows.Forms.Button btnCycleOut;
private System.Windows.Forms.Label lblBatchMsg; private System.Windows.Forms.Label lblBatchMsg;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator21; private System.Windows.Forms.ToolStripSeparator toolStripSeparator21;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem6;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator22;
} }
} }
...@@ -1890,5 +1890,13 @@ namespace OnlineStore.AutoInOutStore ...@@ -1890,5 +1890,13 @@ namespace OnlineStore.AutoInOutStore
MessageBox.Show(ResourceCulture.GetString(ResourceCulture.PleaseStartStore, "请先启动料仓!")); MessageBox.Show(ResourceCulture.GetString(ResourceCulture.PleaseStartStore, "请先启动料仓!"));
} }
} }
private void toolStripMenuItem6_Click(object sender, EventArgs e)
{
string str = ResourceCulture.Japanese;
ResourceCulture.SetCurrentCulture(str);
ConfigAppSettings.SaveValue(Setting_Init.Default_Language, str);
this.LanguageProcess();
}
} }
} }
...@@ -1423,4 +1423,7 @@ ...@@ -1423,4 +1423,7 @@
<data name="X31" xml:space="preserve"> <data name="X31" xml:space="preserve">
<value>Clamping jaw cylinder material plate inspection</value> <value>Clamping jaw cylinder material plate inspection</value>
</data> </data>
<data name="FrmStoreBox_toolStripMenuItem6_Text" xml:space="preserve">
<value>Japanese</value>
</data>
</root> </root>
\ No newline at end of file \ No newline at end of file
<?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>
<data name="a" xml:space="preserve">
<value>a</value>
</data>
<data name="OpenComFail" xml:space="preserve">
<value>打开串口失败</value>
</data>
<data name="MsgTitle" xml:space="preserve">
<value>提示</value>
</data>
<data name="SaveOk" xml:space="preserve">
<value>保存成功</value>
</data>
<data name="PleaseStartStore" xml:space="preserve">
<value>请先启动料仓!</value>
</data>
<data name="CannotMove" xml:space="preserve">
<value>定位气缸不在下降端,不能移动进出轴</value>
</data>
<data name="WarnMsg" xml:space="preserve">
<value>警告</value>
</data>
<data name="SaveError" xml:space="preserve">
<value>保存失败</value>
</data>
<data name="CanotReset" xml:space="preserve">
<value>无报警,无出入库或者重置操作时,才可以回待机点</value>
</data>
<data name="SureExit" xml:space="preserve">
<value>是否确定退出</value>
</data>
<data name="PWSpeed" xml:space="preserve">
<value>请先输入正确的速度</value>
</data>
<data name="AutoOut" xml:space="preserve">
<value>自动出库:</value>
</data>
<data name="AutoIn" xml:space="preserve">
<value>自动入库:</value>
</data>
<data name="AutoEnd" xml:space="preserve">
<value>自动出入库结束</value>
</data>
<data name="DoorHasOpen" xml:space="preserve">
<value> 前门未关</value>
</data>
<data name="HasWare" xml:space="preserve">
<value>叉子料盘检测有料,请检查</value>
</data>
<data name="StartAuto" xml:space="preserve">
<value>开始自动出入库</value>
</data>
<data name="StopAuto" xml:space="preserve">
<value>停止自动出入库</value>
</data>
<data name="WaitStart" xml:space="preserve">
<value>等待启动</value>
</data>
<data name="Run" xml:space="preserve">
<value>运行中</value>
</data>
<data name="Busy" xml:space="preserve">
<value>忙碌</value>
</data>
<data name="HomeMove" xml:space="preserve">
<value>原点返回</value>
</data>
<data name="Reset" xml:space="preserve">
<value>重置</value>
</data>
<data name="Runing" xml:space="preserve">
<value>运行中</value>
</data>
<data name="Wait" xml:space="preserve">
<value>等待启动</value>
</data>
<data name="Debugging" xml:space="preserve">
<value>设备调试中</value>
</data>
<data name="InStoreEnd" xml:space="preserve">
<value>料盘入仓位完成</value>
</data>
<data name="InStoreExecute" xml:space="preserve">
<value>入库执行中</value>
</data>
<data name="InTrouble" xml:space="preserve">
<value>故障中</value>
</data>
<data name="OutStoreBoxEnd" xml:space="preserve">
<value>料盘出仓位完成</value>
</data>
<data name="OutStoreExecute" xml:space="preserve">
<value>出库执行中</value>
</data>
<data name="StoreOnline" xml:space="preserve">
<value>设备联机</value>
</data>
<data name="SuddenStop" xml:space="preserve">
<value>急停中</value>
</data>
<data name="OutMoveExecute" xml:space="preserve">
<value>出库完成</value>
</data>
<data name="InStoreFailed" xml:space="preserve">
<value>入库失败</value>
</data>
<data name="OutStoreFailed" xml:space="preserve">
<value>出库失败</value>
</data>
<data name="WaitSingle" xml:space="preserve">
<value>等待信号</value>
</data>
<data name="TimeOut" xml:space="preserve">
<value>超时</value>
</data>
<data name="inSuddenStop" xml:space="preserve">
<value>收到急停信号,报警急停</value>
</data>
<data name="InoutAlarm" xml:space="preserve">
<value>进出轴报警!复位失败,请检查</value>
</data>
<data name="Open" xml:space="preserve">
<value>打开</value>
</data>
<data name="Fail" xml:space="preserve">
<value>失败</value>
</data>
<data name="AutoReset" xml:space="preserve">
<value>收到复位信号,自动复位</value>
</data>
<data name="MoveAxis" xml:space="preserve">
<value>运动轴</value>
</data>
<data name="Alarm" xml:space="preserve">
<value>报警</value>
</data>
<data name="InStoreError" xml:space="preserve">
<value>入库库位格式错误条码[{0}]库位号[{1}]</value>
</data>
<data name="InStoreNoPosition" xml:space="preserve">
<value>入库未找到库位:条码[{0}]库位号[{1}]</value>
</data>
<data name="OutStoreError" xml:space="preserve">
<value>出库格式错误{0}</value>
</data>
<data name="OutStoreNoPosition" xml:space="preserve">
<value>出库未找库位:{0}</value>
</data>
<data name="AbsMove" xml:space="preserve">
<value>绝对运动</value>
</data>
<data name="WaitIo" xml:space="preserve">
<value>IO信号等待</value>
</data>
<data name="WaitTime" xml:space="preserve">
<value>时间等待:</value>
</data>
<data name="TargetPosition" xml:space="preserve">
<value>电缸目标位置:</value>
</data>
<data name="Middle_Axis" xml:space="preserve">
<value>(轴一)旋转轴</value>
</data>
<data name="UpDown_Axis" xml:space="preserve">
<value>(轴二)升降轴轴</value>
</data>
<data name="InOut_Axis" xml:space="preserve">
<value>(轴三)进出轴</value>
</data>
<data name="Comp_Axis" xml:space="preserve">
<value>(轴四)压紧轴</value>
</data>
<data name="Batch_Axis" xml:space="preserve">
<value>(轴五)批量上下轴</value>
</data>
<data name="FrmStoreBox_Text" xml:space="preserve">
<value>AC_SA_料仓</value>
</data>
<data name="FrmStoreBox_chbAuto_Text" xml:space="preserve">
<value>开机自动启动</value>
</data>
<data name="FrmStoreBox_groupBox1_Text" xml:space="preserve">
<value>伺服状态</value>
</data>
<data name="FrmStoreBox_label1_Text" xml:space="preserve">
<value>轴一:旋转轴</value>
</data>
<data name="FrmStoreBox_label38_Text" xml:space="preserve">
<value>ALM:</value>
</data>
<data name="FrmStoreBox_label12_Text" xml:space="preserve">
<value>出入库目标值:</value>
</data>
<data name="FrmStoreBox_label4_Text" xml:space="preserve">
<value>轴三:进出轴</value>
</data>
<data name="FrmStoreBox_label3_Text" xml:space="preserve">
<value>轴二:上下轴</value>
</data>
<data name="FrmStoreBox_label43_Text" xml:space="preserve">
<value>输出脉冲值:</value>
</data>
<data name="FrmStoreBox_label42_Text" xml:space="preserve">
<value>编码器计数:</value>
</data>
<data name="FrmStoreBox_groupBox3_Text" xml:space="preserve">
<value>设备状态</value>
</data>
<data name="FrmStoreBox_lblThisSta_Text" xml:space="preserve">
<value>等待启动</value>
</data>
<data name="FrmStoreBox_groupBox5_Text" xml:space="preserve">
<value>伺服运动</value>
</data>
<data name="FrmStoreBox_label6_Text" xml:space="preserve">
<value>原点信号:</value>
</data>
<data name="FrmStoreBox_label5_Text" xml:space="preserve">
<value>1=ON,0=OFF</value>
</data>
<data name="FrmStoreBox_btnReadHomeSingle_Text" xml:space="preserve">
<value>读原点信号</value>
</data>
<data name="FrmStoreBox_chbAutoRead_Text" xml:space="preserve">
<value>自动读取位置</value>
</data>
<data name="FrmStoreBox_label16_Text" xml:space="preserve">
<value>1=完成,0=未完成</value>
</data>
<data name="FrmStoreBox_label15_Text" xml:space="preserve">
<value>1=执行中,0=未执行</value>
</data>
<data name="FrmStoreBox_label14_Text" xml:space="preserve">
<value>1=报警,0=正常</value>
</data>
<data name="FrmStoreBox_label11_Text" xml:space="preserve">
<value>HOME-CMP状态:</value>
</data>
<data name="FrmStoreBox_button2_Text" xml:space="preserve">
<value>读HOME状态</value>
</data>
<data name="FrmStoreBox_label10_Text" xml:space="preserve">
<value>BUSY状态:</value>
</data>
<data name="FrmStoreBox_button1_Text" xml:space="preserve">
<value>读BUSY状态</value>
</data>
<data name="FrmStoreBox_label2_Text" xml:space="preserve">
<value>报警状态:</value>
</data>
<data name="FrmStoreBox_btnGetAlarm_Text" xml:space="preserve">
<value>读报警状态</value>
</data>
<data name="FrmStoreBox_btnReadPosition_Text" xml:space="preserve">
<value>读取位置</value>
</data>
<data name="FrmStoreBox_label7_Text" xml:space="preserve">
<value>输出脉冲值:</value>
</data>
<data name="FrmStoreBox_label8_Text" xml:space="preserve">
<value>编码器计数:</value>
</data>
<data name="FrmStoreBox_btnOpenAxis_Text" xml:space="preserve">
<value>打开伺服</value>
</data>
<data name="FrmStoreBox_btnCloseAxis_Text" xml:space="preserve">
<value>关闭伺服</value>
</data>
<data name="FrmStoreBox_label47_Text" xml:space="preserve">
<value>速度:</value>
</data>
<data name="FrmStoreBox_btnAxisVMove_Text" xml:space="preserve">
<value>匀速运动</value>
</data>
<data name="FrmStoreBox_btnAxisRMove_Text" xml:space="preserve">
<value>相对运动</value>
</data>
<data name="FrmStoreBox_btnAxisReturnHome_Text" xml:space="preserve">
<value>原点返回</value>
</data>
<data name="FrmStoreBox_btnAxisAMove_Text" xml:space="preserve">
<value>绝对运动</value>
</data>
<data name="FrmStoreBox_Bt_ClearCounter_Text" xml:space="preserve">
<value>重置位置</value>
</data>
<data name="FrmStoreBox_btnComAlarmClear_Text" xml:space="preserve">
<value>清除报警</value>
</data>
<data name="FrmStoreBox_label48_Text" xml:space="preserve">
<value>位置:</value>
</data>
<data name="FrmStoreBox_btnAxisStop_Text" xml:space="preserve">
<value> 停止运动</value>
</data>
<data name="FrmStoreBox_label45_Text" xml:space="preserve">
<value>端口号:</value>
</data>
<data name="FrmStoreBox_label46_Text" xml:space="preserve">
<value>伺服地址:</value>
</data>
<data name="FrmStoreBox_label49_Text" xml:space="preserve">
<value>AC伺服:</value>
</data>
<data name="FrmStoreBox_groupBox2_Text" xml:space="preserve">
<value>料仓操作</value>
</data>
<data name="FrmStoreBox_lblTemp_Text" xml:space="preserve">
<value>当前温度--,当前湿度--</value>
</data>
<data name="FrmStoreBox_btnClearLog_Text" xml:space="preserve">
<value>清理日志</value>
</data>
<data name="FrmStoreBox_lblMsg_Text" xml:space="preserve">
<value>没有开启自动出入库</value>
</data>
<data name="FrmStoreBox_btnSavePosition_Text" xml:space="preserve">
<value>保存位置</value>
</data>
<data name="FrmStoreBox_btnStartAuTo_Text" xml:space="preserve">
<value>启动自动模式</value>
</data>
<data name="FrmStoreBox_label9_Text" xml:space="preserve">
<value>入库间隔仓位:</value>
</data>
<data name="FrmStoreBox_label21_Text" xml:space="preserve">
<value>选择仓位:</value>
</data>
<data name="FrmStoreBox_btnInStore_Text" xml:space="preserve">
<value>入库测试</value>
</data>
<data name="FrmStoreBox_btnOutStore_Text" xml:space="preserve">
<value>单盘出库</value>
</data>
<data name="FrmStoreBox_btnComP1_Text" xml:space="preserve">
<value>压紧轴待机点P1:</value>
</data>
<data name="FrmStoreBox_btnInOutP2_Text" xml:space="preserve">
<value>进出轴吸盘取料点P2:</value>
</data>
<data name="FrmStoreBox_btnInOutP1_Text" xml:space="preserve">
<value>进出轴待机点P1:</value>
</data>
<data name="FrmStoreBox_btnMiddleP1_Text" xml:space="preserve">
<value>旋转轴待机点P1:</value>
</data>
<data name="FrmStoreBox_btnUpDownP7_Text" xml:space="preserve">
<value>升降轴取料缓冲点P7:</value>
</data>
<data name="FrmStoreBox_btnUpDownP1_Text" xml:space="preserve">
<value>升降轴吸盘下方取料点P1:</value>
</data>
<data name="FrmStoreBox_btnComP3_Text" xml:space="preserve">
<value>压紧轴压紧前点P3:</value>
</data>
<data name="FrmStoreBox_btnComP2_Text" xml:space="preserve">
<value>压紧轴压紧点P2:</value>
</data>
<data name="FrmStoreBox_btnInOutP3_Text" xml:space="preserve">
<value>进出轴库位取料点P3:</value>
</data>
<data name="FrmStoreBox_btnMiddleP2_Text" xml:space="preserve">
<value>旋转轴库位点P2:</value>
</data>
<data name="FrmStoreBox_btnUpDownP5_Text" xml:space="preserve">
<value>升降轴出料前点P5:</value>
</data>
<data name="FrmStoreBox_btnUpDownP6_Text" xml:space="preserve">
<value>升降轴出料缓冲点P6:</value>
</data>
<data name="FrmStoreBox_btnUpDownP3_Text" xml:space="preserve">
<value>升降轴入料前点P3:</value>
</data>
<data name="FrmStoreBox_btnUpDownP4_Text" xml:space="preserve">
<value>升降轴入料缓冲点P4:</value>
</data>
<data name="FrmIOStatus_Text" xml:space="preserve">
<value>IO查看</value>
</data>
<data name="FrmIOStatus_groupBox1_Text" xml:space="preserve">
<value>DO写入</value>
</data>
<data name="FrmIOStatus_btnDisDoorClose_Text" xml:space="preserve">
<value>门禁功能打开</value>
</data>
<data name="FrmIOStatus_btnDisDoorOpen_Text" xml:space="preserve">
<value>门禁功能屏蔽</value>
</data>
<data name="FrmIOStatus_btnCloseLed_Text" xml:space="preserve">
<value>关闭照明</value>
</data>
<data name="FrmIOStatus_btnOpenLed_Text" xml:space="preserve">
<value>打开照明</value>
</data>
<data name="FrmIOStatus_button1_Text" xml:space="preserve">
<value>关闭</value>
</data>
<data name="FrmIOStatus_btnCloseAxisBreak_Text" xml:space="preserve">
<value>关闭刹车</value>
</data>
<data name="FrmIOStatus_btnOpenAxisBreak_Text" xml:space="preserve">
<value>打开刹车</value>
</data>
<data name="FrmIOStatus_btnLocationDown_Text" xml:space="preserve">
<value>定位气缸下降</value>
</data>
<data name="FrmIOStatus_btnLocationUp_Text" xml:space="preserve">
<value>定位气缸上升</value>
</data>
<data name="FrmIOStatus_btnCloseDoor_Text" xml:space="preserve">
<value>关闭仓门</value>
</data>
<data name="FrmIOStatus_btnOpenDoor_Text" xml:space="preserve">
<value>打开仓门</value>
</data>
<data name="FrmIOStatus_label3_Text" xml:space="preserve">
<value>选择DO:</value>
</data>
<data name="FrmIOStatus_label2_Text" xml:space="preserve">
<value>SlaveId</value>
</data>
<data name="FrmIOStatus_btnReadAllDo_Text" xml:space="preserve">
<value>读取所有DO</value>
</data>
<data name="FrmIOStatus_chbAutoRead_Text" xml:space="preserve">
<value>自动读取</value>
</data>
<data name="FrmIOStatus_btnReadAllDi_Text" xml:space="preserve">
<value>读取所有DI</value>
</data>
<data name="FrmIOStatus_btnReadIO_Text" xml:space="preserve">
<value>读取IO状态</value>
</data>
<data name="FrmIOStatus_label17_Text" xml:space="preserve">
<value>设备IP:</value>
</data>
<data name="FrmIOStatus_label14_Text" xml:space="preserve">
<value>地址:</value>
</data>
<data name="FrmIOStatus_label5_Text" xml:space="preserve">
<value>定时(ms):</value>
</data>
<data name="FrmIOStatus_label6_Text" xml:space="preserve">
<value>写入值:</value>
</data>
<data name="FrmIOStatus_btnWriteSingleDO_Text" xml:space="preserve">
<value>写入DO</value>
</data>
<data name="FrmIOStatus_groupBox4_Text" xml:space="preserve">
<value>DO列表</value>
</data>
<data name="FrmIOStatus_label1_Text" xml:space="preserve">
<value>Y01_自动指示灯</value>
</data>
<data name="FrmIOStatus_groupBox3_Text" xml:space="preserve">
<value>DI列表</value>
</data>
<data name="FrmAxisDebug_Text" xml:space="preserve">
<value>料仓BOX_1 _轴点动调试</value>
</data>
<data name="FrmAxisDebug_label6_Text" xml:space="preserve">
<value>实时坐标</value>
</data>
<data name="FrmAxisDebug_label5_Text" xml:space="preserve">
<value>点动速度</value>
</data>
<data name="FrmAxisDebug_button1_Text" xml:space="preserve">
<value>关闭</value>
</data>
<data name="FrmAxisDebug_btnInOutMovej_Text" xml:space="preserve">
<value>进出轴-(后退)</value>
</data>
<data name="FrmAxisDebug_btnUpDownMovej_Text" xml:space="preserve">
<value>升降轴-(下降)</value>
</data>
<data name="FrmAxisDebug_btnMiddleMovej_Text" xml:space="preserve">
<value>旋转轴-(逆时针)</value>
</data>
<data name="FrmAxisDebug_btnInOutMove_Text" xml:space="preserve">
<value>进出轴+(前进)</value>
</data>
<data name="FrmAxisDebug_btnUpDownMove_Text" xml:space="preserve">
<value>升降轴+(上升)</value>
</data>
<data name="FrmAxisDebug_btnMiddleMove_Text" xml:space="preserve">
<value>旋转轴+(顺时针)</value>
</data>
<data name="FrmAxisDebug_label3_Text" xml:space="preserve">
<value>(轴三)进出轴</value>
</data>
<data name="FrmAxisDebug_label2_Text" xml:space="preserve">
<value>(轴二)升降轴</value>
</data>
<data name="FrmAxisDebug_label1_Text" xml:space="preserve">
<value>(轴一)旋转轴</value>
</data>
<data name="FrmLanguage_Text" xml:space="preserve">
<value>语言</value>
</data>
<data name="FrmLanguage_rdDe_Text" xml:space="preserve">
<value>德文</value>
</data>
<data name="FrmLanguage_btnCancel_Text" xml:space="preserve">
<value>取消</value>
</data>
<data name="FrmLanguage_btnOk_Text" xml:space="preserve">
<value>确定</value>
</data>
<data name="FrmLanguage_rbtnEnglish_Text" xml:space="preserve">
<value>英文</value>
</data>
<data name="FrmLanguage_rbtnChina_Text" xml:space="preserve">
<value>中文</value>
</data>
<data name="FrmStoreBox_iO状态查看ToolStripMenuItem_Text" xml:space="preserve">
<value>IO状态调试</value>
</data>
<data name="FrmStoreBox_toolStripMenuItem2_Text" xml:space="preserve">
<value>打开照明</value>
</data>
<data name="FrmStoreBox_toolStripMenuItem3_Text" xml:space="preserve">
<value>关闭照明</value>
</data>
<data name="FrmStoreBox_停止ToolStripMenuItem_Text" xml:space="preserve">
<value>停止</value>
</data>
<data name="FrmStoreBox_关闭仓门ToolStripMenuItem_Text" xml:space="preserve">
<value>关闭仓门</value>
</data>
<data name="FrmStoreBox_启动ToolStripMenuItem_Text" xml:space="preserve">
<value>启动</value>
</data>
<data name="FrmStoreBox_回待机点ToolStripMenuItem_Text" xml:space="preserve">
<value>回待机点</value>
</data>
<data name="FrmStoreBox_复位ToolStripMenuItem_Text" xml:space="preserve">
<value>复位</value>
</data>
<data name="FrmStoreBox_学习二维码ToolStripMenuItem_Text" xml:space="preserve">
<value>学习二维码</value>
</data>
<data name="FrmStoreBox_德文ToolStripMenuItem_Text" xml:space="preserve">
<value>德文</value>
</data>
<data name="FrmStoreBox_打开舱门ToolStripMenuItem_Text" xml:space="preserve">
<value>打开仓门</value>
</data>
<data name="FrmStoreBox_扫码测试ToolStripMenuItem_Text" xml:space="preserve">
<value>扫码测试</value>
</data>
<data name="FrmStoreBox_料仓操作ToolStripMenuItem_Text" xml:space="preserve">
<value>料仓操作</value>
</data>
<data name="FrmStoreBox_料仓运转OFFToolStripMenuItem_Text" xml:space="preserve">
<value>料仓运转OFF</value>
</data>
<data name="FrmStoreBox_料仓运转ONToolStripMenuItem_Text" xml:space="preserve">
<value>料仓运转ON</value>
</data>
<data name="FrmStoreBox_显示ToolStripMenuItem_Text" xml:space="preserve">
<value>显示</value>
</data>
<data name="FrmStoreBox_查看IOToolStripMenuItem_Text" xml:space="preserve">
<value>查看IO</value>
</data>
<data name="FrmStoreBox_清理日志ToolStripMenuItem_Text" xml:space="preserve">
<value>中文</value>
</data>
<data name="FrmStoreBox_英文ToolStripMenuItem_Text" xml:space="preserve">
<value>英文</value>
</data>
<data name="FrmStoreBox_语言_Text" xml:space="preserve">
<value>语言</value>
</data>
<data name="FrmStoreBox_轴卡点动ToolStripMenuItem_Text" xml:space="preserve">
<value>轴卡点动</value>
</data>
<data name="FrmStoreBox_退出ToolStripMenuItem_Text" xml:space="preserve">
<value>退出系统</value>
</data>
<data name="CanotSingleInStore" xml:space="preserve">
<value>此设备不支持单个入库</value>
</data>
<data name="InoutNotOk" xml:space="preserve">
<value>叉子不在待机位,请先将叉子退回待机位</value>
</data>
<data name="InoutWarn" xml:space="preserve">
<value>警告(叉子在待机位时,才能移动升降轴和旋转轴)</value>
</data>
<data name="CanotBack" xml:space="preserve">
<value>无报警,无出入库或者重置操作时,才可以回待机点</value>
</data>
<data name="PCloseDoor" xml:space="preserve">
<value>请先关闭批量上下料门</value>
</data>
<data name="PWPwd" xml:space="preserve">
<value>请输入正确的密码</value>
</data>
<data name="CnotOpen" xml:space="preserve">
<value>忙碌中,无法打开门锁</value>
</data>
<data name="batchInError" xml:space="preserve">
<value>批量入库失败:请先关闭上料机构</value>
</data>
<data name="batchInError2" xml:space="preserve">
<value>批量入库失败:叉子料盘检测有料,请检查后再入库</value>
</data>
<data name="GetError" xml:space="preserve">
<value>取出料盘失败:无料盘可取</value>
</data>
<data name="GetError2" xml:space="preserve">
<value>取出料盘失败:忙碌中,无法打开门锁</value>
</data>
<data name="CloseError" xml:space="preserve">
<value>锁门失败:请先关闭上料机构</value>
</data>
<data name="TakeTrayOut" xml:space="preserve">
<value>关闭仓门</value>
</data>
<data name="NoAIr" xml:space="preserve">
<value>未检测到气压信号</value>
</data>
<data name="trayHeight" xml:space="preserve">
<value>料盘高度</value>
</data>
<data name="FuLimit" xml:space="preserve">
<value>负限位</value>
</data>
<data name="ZhLimit" xml:space="preserve">
<value>正限位</value>
</data>
<data name="BatchStop" xml:space="preserve">
<value>上料轴运动停止</value>
</data>
<data name="ScanOk" xml:space="preserve">
<value>扫码结束</value>
</data>
<data name="TakeTrayGo" xml:space="preserve">
<value>操作人员拿走料盘</value>
</data>
<data name="WaitEnd" xml:space="preserve">
<value>等待送料结束</value>
</data>
<data name="XiLiaoError" xml:space="preserve">
<value>吸盘吸料失败</value>
</data>
<data name="ServoOff" xml:space="preserve">
<value>伺服OFF</value>
</data>
<data name="servoON" xml:space="preserve">
<value>伺服ON</value>
</data>
<data name="NoDoorStatus" xml:space="preserve">
<value>仓门状态未知</value>
</data>
<data name="InstoreInfo" xml:space="preserve">
<value>批量出入库信息: 入库:</value>
</data>
<data name="oustore" xml:space="preserve">
<value>出库: </value>
</data>
<data name="doorClose" xml:space="preserve">
<value>门锁关闭</value>
</data>
<data name="doorOpen" xml:space="preserve">
<value>门锁打开</value>
</data>
<data name="X01" xml:space="preserve">
<value>急停</value>
</data>
<data name="X02" xml:space="preserve">
<value>复位</value>
</data>
<data name="X03" xml:space="preserve">
<value>自动启动</value>
</data>
<data name="X04" xml:space="preserve">
<value>安全光栅</value>
</data>
<data name="X05" xml:space="preserve">
<value>进料口门上升端</value>
</data>
<data name="X06" xml:space="preserve">
<value>进料口门下降端</value>
</data>
<data name="X07" xml:space="preserve">
<value>夹爪气缸上升端</value>
</data>
<data name="X08" xml:space="preserve">
<value>夹爪气缸下降端</value>
</data>
<data name="X09" xml:space="preserve">
<value>料盘宽度检测1</value>
</data>
<data name="X10" xml:space="preserve">
<value>料盘宽度检测2</value>
</data>
<data name="X11" xml:space="preserve">
<value>料盘检测1(上料机构)</value>
</data>
<data name="X12" xml:space="preserve">
<value>上料机构出料检测</value>
</data>
<data name="X13" xml:space="preserve">
<value>门锁气缸打开端</value>
</data>
<data name="X14" xml:space="preserve">
<value>门锁气缸关闭端</value>
</data>
<data name="X15" xml:space="preserve">
<value>料盘检测2(料叉机构)</value>
</data>
<data name="X16" xml:space="preserve">
<value>压紧机构计量检测</value>
</data>
<data name="Y01" xml:space="preserve">
<value>自动指示灯</value>
</data>
<data name="Y02" xml:space="preserve">
<value>故障指示灯</value>
</data>
<data name="Y03" xml:space="preserve">
<value>待机指示灯</value>
</data>
<data name="Y04" xml:space="preserve">
<value>吹气SOL ON</value>
</data>
<data name="Y05" xml:space="preserve">
<value>料仓运转ON</value>
</data>
<data name="Y06" xml:space="preserve">
<value>轴2刹车电源ON</value>
</data>
<data name="Y07" xml:space="preserve">
<value>相机照明开</value>
</data>
<data name="Y08" xml:space="preserve">
<value>设备照明开</value>
</data>
<data name="Y09" xml:space="preserve">
<value>进料口门上升SOL</value>
</data>
<data name="Y10" xml:space="preserve">
<value>进料口门下降SOL</value>
</data>
<data name="Y11" xml:space="preserve">
<value>夹爪气缸上升SOL</value>
</data>
<data name="Y12" xml:space="preserve">
<value>夹爪气缸下降SOL</value>
</data>
<data name="Y13" xml:space="preserve">
<value>门锁气缸打开SOL</value>
</data>
<data name="Y14" xml:space="preserve">
<value>门锁气缸关闭SOL</value>
</data>
<data name="Y15" xml:space="preserve">
<value>门禁功能屏蔽</value>
</data>
<data name="Y16" xml:space="preserve">
<value>报警蜂鸣器</value>
</data>
<data name="X21" xml:space="preserve">
<value>上料机构门关闭</value>
</data>
<data name="X22" xml:space="preserve">
<value>气压检测</value>
</data>
<data name="X23" xml:space="preserve">
<value>左侧门关闭</value>
</data>
<data name="X24" xml:space="preserve">
<value>右侧门关闭</value>
</data>
<data name="FrmStoreBox_groupBox6_Text" xml:space="preserve">
<value>批量上下料操作</value>
</data>
<data name="FrmStoreBox_btnOpenDoor_Text" xml:space="preserve">
<value>打开门锁</value>
</data>
<data name="FrmStoreBox_lblWaitTragGo_Text" xml:space="preserve">
<value>请拿走/放入料盘,并点击左侧按钮关闭仓门</value>
</data>
<data name="FrmStoreBox_btnWaitTrgGo_Text" xml:space="preserve">
<value>料盘已拿出/放入</value>
</data>
<data name="FrmStoreBox_lblBatchStatus_Text" xml:space="preserve">
<value>等待启动</value>
</data>
<data name="FrmStoreBox_btnCloseDoor_Text" xml:space="preserve">
<value>关闭门锁</value>
</data>
<data name="FrmStoreBox_btnGetOutTray_Text" xml:space="preserve">
<value>取出出库料盘</value>
</data>
<data name="FrmStoreBox_lblDoorStatus_Text" xml:space="preserve">
<value>仓门状态:关闭中</value>
</data>
<data name="FrmStoreBox_btnBatchInStore_Text" xml:space="preserve">
<value>开始批量入库</value>
</data>
<data name="FrmStoreBox_lblOutInfo_Text" xml:space="preserve">
<value>累积出库信息</value>
</data>
<data name="FrmStoreBox_tabPage2_Text" xml:space="preserve">
<value>伺服调试</value>
</data>
<data name="FrmStoreBox_btnUpdateSpeed_Text" xml:space="preserve">
<value>更改速度</value>
</data>
<data name="FrmStoreBox_btnUpdateStatus_Text" xml:space="preserve">
<value>读取所有状态</value>
</data>
<data name="FrmStoreBox_label24_Text" xml:space="preserve">
<value>负极限信号:</value>
</data>
<data name="FrmStoreBox_label26_Text" xml:space="preserve">
<value>1=ON,0=OFF</value>
</data>
<data name="FrmStoreBox_btnReadLimit2_Text" xml:space="preserve">
<value>读负极限信号</value>
</data>
<data name="FrmStoreBox_label22_Text" xml:space="preserve">
<value>正极限信号:</value>
</data>
<data name="FrmStoreBox_label23_Text" xml:space="preserve">
<value>1=ON,0=OFF</value>
</data>
<data name="FrmStoreBox_btnReadLimit1_Text" xml:space="preserve">
<value>读正极限信号</value>
</data>
<data name="FrmStoreBox_btnReadBusy_Text" xml:space="preserve">
<value>读BUSY状态</value>
</data>
<data name="FrmStoreBox_tabPage3_Text" xml:space="preserve">
<value>压紧轴调试</value>
</data>
<data name="FrmStoreBox_groupBox4_Text" xml:space="preserve">
<value>压紧轴</value>
</data>
<data name="FrmStoreBox_lblComMsg_Text" xml:space="preserve">
<value>步进电机信息</value>
</data>
<data name="FrmStoreBox_btnRelMove_Text" xml:space="preserve">
<value>相对运动</value>
</data>
<data name="FrmStoreBox_label18_Text" xml:space="preserve">
<value>地址</value>
</data>
<data name="FrmStoreBox_btnGetPosition_Text" xml:space="preserve">
<value>查询位置</value>
</data>
<data name="FrmStoreBox_label13_Text" xml:space="preserve">
<value>原点方向:</value>
</data>
<data name="FrmStoreBox_label17_Text" xml:space="preserve">
<value>速度:</value>
</data>
<data name="FrmStoreBox_btnVolMove_Text" xml:space="preserve">
<value>匀速运动</value>
</data>
<data name="FrmStoreBox_btnClose_Text" xml:space="preserve">
<value>关闭串口</value>
</data>
<data name="FrmStoreBox_btnOpen_Text" xml:space="preserve">
<value>打开串口</value>
</data>
<data name="FrmStoreBox_btnStatusSearch_Text" xml:space="preserve">
<value>查询运动状态</value>
</data>
<data name="FrmStoreBox_label19_Text" xml:space="preserve">
<value>位置:</value>
</data>
<data name="FrmStoreBox_btnHomeMove_Text" xml:space="preserve">
<value>原点返回</value>
</data>
<data name="FrmStoreBox_btnClearPosition_Text" xml:space="preserve">
<value>清理位置</value>
</data>
<data name="FrmStoreBox_btnStop_Text" xml:space="preserve">
<value>紧急停止</value>
</data>
<data name="FrmStoreBox_btnLineAbsMove_Text" xml:space="preserve">
<value>绝对运动</value>
</data>
<data name="FrmStoreBox_label25_Text" xml:space="preserve">
<value>端口号:</value>
</data>
<data name="FrmStoreBox_lblAxisStatus_Text" xml:space="preserve">
<value>点击按钮可读取轴实时状态</value>
</data>
<data name="FrmStoreBox_button3_Text" xml:space="preserve">
<value>读取位置</value>
</data>
<data name="FrmStoreBox_label20_Text" xml:space="preserve">
<value>批量出入料轴</value>
</data>
<data name="FrmStoreBox_tabPage1_Text" xml:space="preserve">
<value>温湿度调试</value>
</data>
<data name="FrmStoreBox_groupBox7_Text" xml:space="preserve">
<value>温控器调试</value>
</data>
<data name="FrmStoreBox_btnSelTemp_Text" xml:space="preserve">
<value>查询</value>
</data>
<data name="FrmStoreBox_label29_Text" xml:space="preserve">
<value>湿度:</value>
</data>
<data name="FrmStoreBox_label28_Text" xml:space="preserve">
<value>温度:</value>
</data>
<data name="FrmStoreBox_label27_Text" xml:space="preserve">
<value>端口号:</value>
</data>
<data name="FrmStoreBox_btnTempClose_Text" xml:space="preserve">
<value>断开</value>
</data>
<data name="FrmStoreBox_btnTempInit_Text" xml:space="preserve">
<value>初始化</value>
</data>
<data name="FrmStoreBox_btnBatchReset_Text" xml:space="preserve">
<value>批量上下料模块复位</value>
</data>
<data name="FrmStoreBox_tabPage4_Text" xml:space="preserve">
<value>日志</value>
</data>
<data name="FrmStoreBox_btnSave_Text" xml:space="preserve">
<value>保存为模拟入库库位</value>
</data>
<data name="FrmStoreBox_btnInOutP4_Text" xml:space="preserve">
<value>进出轴仓门出料点P4:</value>
</data>
<data name="FrmStoreBox_btnBatchOutTest_Text" xml:space="preserve">
<value>批量出库测试</value>
</data>
<data name="FrmStoreBox_btnUpdownP8_Text" xml:space="preserve">
<value>升降轴出库低点P8:</value>
</data>
<data name="FrmStoreBox_btnUpdownP2_Text" xml:space="preserve">
<value>升降轴出库高点P2:</value>
</data>
<data name="FrmStoreBox_btnUpDownDoor_Text" xml:space="preserve">
<value>升降轴仓门位置P7:</value>
</data>
<data name="FrmStoreBox_上料模块复位ToolStripMenuItem_Text" xml:space="preserve">
<value>上料模块复位</value>
</data>
<data name="FrmStoreBox_toolStripMenuItem4_Text" xml:space="preserve">
<value>门禁功能屏蔽</value>
</data>
<data name="FrmStoreBox_toolStripMenuItem5_Text" xml:space="preserve">
<value>门禁功能打开</value>
</data>
<data name="FrmStoreBox_批量上下轴ONToolStripMenuItem_Text" xml:space="preserve">
<value>批量上下轴ON</value>
</data>
<data name="FrmStoreBox_批量上下轴OFFToolStripMenuItem_Text" xml:space="preserve">
<value>批量上下轴OFF</value>
</data>
<data name="FrmStoreBox_设备调试ToolStripMenuItem_Text" xml:space="preserve">
<value>设备调试</value>
</data>
<data name="FrmStoreBox_摄像机调试ToolStripMenuItem_Text" xml:space="preserve">
<value>二维码学习</value>
</data>
<data name="FrmStoreBox_toolStripMenuItem1_Text" xml:space="preserve">
<value>退出</value>
</data>
<data name="FrmPwd_Text" xml:space="preserve">
<value>请输入密码</value>
</data>
<data name="FrmPwd_btnNext_Text" xml:space="preserve">
<value>确定</value>
</data>
<data name="FrmPwd_btnBack_Text" xml:space="preserve">
<value>返回</value>
</data>
<data name="FrmPwd_label1_Text" xml:space="preserve">
<value>请输入密码:</value>
</data>
<data name="FrmAxisDebug_btnAutoMovej_Text" xml:space="preserve">
<value>上下料轴-(向下)</value>
</data>
<data name="FrmAxisDebug_btnAutoMove_Text" xml:space="preserve">
<value>上下料轴+(向上)</value>
</data>
<data name="FrmAxisDebug_label7_Text" xml:space="preserve">
<value>批量上下料轴</value>
</data>
<data name="FrmAxisDebug_btnComMovej_Text" xml:space="preserve">
<value>压紧轴-(向上)</value>
</data>
<data name="FrmAxisDebug_btnComMove_Text" xml:space="preserve">
<value>压紧轴+(向下)</value>
</data>
<data name="FrmAxisDebug_label4_Text" xml:space="preserve">
<value>(轴四)压紧轴</value>
</data>
<data name="FrmIOStatus_button4_Text" xml:space="preserve">
<value>停止吹气</value>
</data>
<data name="FrmIOStatus_button5_Text" xml:space="preserve">
<value>开始吹气</value>
</data>
<data name="FrmIOStatus_button2_Text" xml:space="preserve">
<value>关闭运转ON</value>
</data>
<data name="FrmIOStatus_button3_Text" xml:space="preserve">
<value>打开运转ON</value>
</data>
<data name="FrmIOStatus_btnSXil_Text" xml:space="preserve">
<value>夹爪放松</value>
</data>
<data name="FrmIOStatus_btnSXi_Text" xml:space="preserve">
<value>夹爪夹紧</value>
</data>
<data name="FrmIOStatus_btnDClose_Text" xml:space="preserve">
<value>门锁关闭</value>
</data>
<data name="FrmIOStatus_btnDOpen_Text" xml:space="preserve">
<value>门锁打开</value>
</data>
<data name="FrmIOStatus_btnSuckingDiscDown_Text" xml:space="preserve">
<value>夹爪下降</value>
</data>
<data name="FrmIOStatus_btnSuckingDiscUp_Text" xml:space="preserve">
<value>夹爪上升</value>
</data>
<data name="PreConnectFail" xml:space="preserve">
<value>启动失败:压紧轴连接失败</value>
</data>
<data name="startFail" xml:space="preserve">
<value>启动失败:急停未开</value>
</data>
<data name="startFailAir" xml:space="preserve">
<value>启动失败:没有气压信号</value>
</data>
<data name="FrmStoreBox_groupAuto_Text" xml:space="preserve">
<value>自动出入库</value>
</data>
<data name="FrmStoreBox_checkBox1_Text" xml:space="preserve">
<value>手动出入库</value>
</data>
<data name="FrmStoreBox_label30_Text" xml:space="preserve">
<value>自动出入库间隔:</value>
</data>
<data name="FrmStoreBox_btnStart_Text" xml:space="preserve">
<value>开始自动出入库</value>
</data>
<data name="FrmStoreBox_btnSingleTrayIn_Text" xml:space="preserve">
<value>启动单盘入库</value>
</data>
<data name="FrmStoreBox_btnClearBuzzer_Text" xml:space="preserve">
<value>清理蜂鸣器</value>
</data>
<data name="FrmStoreBox_groupAxis_Text" xml:space="preserve">
<value>伺服运动</value>
</data>
<data name="FrmStoreBox_groupComAxis_Text" xml:space="preserve">
<value>压紧轴</value>
</data>
<data name="FrmStoreBox_groupInout_Text" xml:space="preserve">
<value>出入库操作</value>
</data>
<data name="FrmStoreBox_出入库调试ToolStripMenuItem_Text" xml:space="preserve">
<value>启用调试</value>
</data>
<data name="启用调试" xml:space="preserve">
<value>启用调试</value>
</data>
<data name="禁用调试" xml:space="preserve">
<value>禁用调试</value>
</data>
<data name="X25" xml:space="preserve">
<value>门锁气缸打开端2</value>
</data>
<data name="X26" xml:space="preserve">
<value>门锁气缸关闭端2</value>
</data>
<data name="X27" xml:space="preserve">
<value>上料机构上极限</value>
</data>
<data name="X28" xml:space="preserve">
<value>入料口料盘检测</value>
</data>
<data name="FrmIOStatus_radioButton2_Text" xml:space="preserve">
<value>关闭</value>
</data>
<data name="FrmIOStatus_radioButton1_Text" xml:space="preserve">
<value>打开</value>
</data>
<data name="FrmAxisDebug_btnUpdate_Text" xml:space="preserve">
<value>更新坐标</value>
</data>
<data name="温湿度报警" xml:space="preserve">
<value>温湿度报警</value>
</data>
<data name="压紧轴通信异常" xml:space="preserve">
<value>压紧轴通信异常</value>
</data>
<data name="自动出入库操作" xml:space="preserve">
<value>自动出入库操作</value>
</data>
<data name="AxisAlarm" xml:space="preserve">
<value>运动轴{0}报警</value>
</data>
<data name="OpenAxisFail" xml:space="preserve">
<value>打开轴{0}失败</value>
</data>
<data name="AxisHomeMoveAlarm" xml:space="preserve">
<value>运动{0}轴{1}收到原点完成信号,当前位置[{2}],误差过大,需要报警</value>
</data>
<data name="AxisMoveAlarm" xml:space="preserve">
<value>运动{0}轴{1}目标位置[{2}]当前位置{3}误差过大,需要报警</value>
</data>
<data name="MoveTimeOut" xml:space="preserve">
<value>[{0}]超时{1}[{2}]</value>
</data>
<data name="WaitSingleTimeOut" xml:space="preserve">
<value>等待信号{0}={1}超时</value>
</data>
<data name="WaitInstoreTimeOut" xml:space="preserve">
<value>[{0}]超时[等待可以入库][{1}秒]</value>
</data>
<data name="InStoreNoCode" xml:space="preserve">
<value>未扫到二维码,需要将料盘送出</value>
</data>
<data name="NoCodeMsg" xml:space="preserve">
<value>未扫到二维码,请重新放入料盘</value>
</data>
<data name="X29" xml:space="preserve">
<value>夹爪气缸夹紧端</value>
</data>
<data name="X30" xml:space="preserve">
<value>夹爪气缸放松端</value>
</data>
<data name="Y21" xml:space="preserve">
<value>夹爪气缸夹紧SOL</value>
</data>
<data name="Y22" xml:space="preserve">
<value>夹爪气缸放松SOL</value>
</data>
<data name="FrmPositionTool_btnAbsMove_Text" xml:space="preserve">
<value>开始运动</value>
</data>
<data name="FrmPositionTool_btnClear_Text" xml:space="preserve">
<value>清理</value>
</data>
<data name="FrmPositionTool_btnExit_Text" xml:space="preserve">
<value>退出</value>
</data>
<data name="FrmPositionTool_btnGetActualPosition_Text" xml:space="preserve">
<value>读取位置</value>
</data>
<data name="FrmPositionTool_btnHomeMove_Text" xml:space="preserve">
<value>原点返回</value>
</data>
<data name="FrmPositionTool_btnOpenFolder_Text" xml:space="preserve">
<value>打开文件夹</value>
</data>
<data name="FrmPositionTool_btnSdStop_Text" xml:space="preserve">
<value>停止</value>
</data>
<data name="FrmPositionTool_btnServoOff_Text" xml:space="preserve">
<value>关闭伺服</value>
</data>
<data name="FrmPositionTool_btnServoOn_Text" xml:space="preserve">
<value>打开伺服</value>
</data>
<data name="FrmPositionTool_groupBox6_Text" xml:space="preserve">
<value>伺服运动测试</value>
</data>
<data name="FrmPositionTool_label12_Text" xml:space="preserve">
<value>端口号:</value>
</data>
<data name="FrmPositionTool_label13_Text" xml:space="preserve">
<value>位置:</value>
</data>
<data name="FrmPositionTool_label18_Text" xml:space="preserve">
<value>地址:</value>
</data>
<data name="FrmPositionTool_label1_Text" xml:space="preserve">
<value>io模块IP:</value>
</data>
<data name="FrmPositionTool_label2_Text" xml:space="preserve">
<value>检测信号地址:</value>
</data>
<data name="FrmPositionTool_label3_Text" xml:space="preserve">
<value>保存文件名称:</value>
</data>
<data name="FrmPositionTool_label6_Text" xml:space="preserve">
<value>目标位置:</value>
</data>
<data name="FrmPositionTool_label7_Text" xml:space="preserve">
<value>实际位置:</value>
</data>
<data name="FrmPositionTool_label8_Text" xml:space="preserve">
<value>速度:</value>
</data>
<data name="FrmPositionTool_Text" xml:space="preserve">
<value>升降轴位置测试</value>
</data>
<data name="FrmStoreBox_升降轴位置调试ToolStripMenuItem_Text" xml:space="preserve">
<value>升降轴位置调试</value>
</data>
<data name="FrmStoreBox_btnSaveSinglePosId_Text" xml:space="preserve">
<value>保存为单盘入库库位</value>
</data>
<data name="确定将[{0}]保存为单盘入库默认库位?" xml:space="preserve">
<value>确定将[{0}]保存为单盘入库默认库位?</value>
</data>
<data name="启动失败:设备未初始化完成" xml:space="preserve">
<value>启动失败:设备未初始化完成</value>
</data>
<data name="FrmPositionTool_groupBox1_Text" xml:space="preserve">
<value>设备信息</value>
</data>
<data name="FrmPositionTool_groupBox2_Text" xml:space="preserve">
<value>位置信息</value>
</data>
<data name="FrmPositionTool_label10_Text" xml:space="preserve">
<value>入料缓冲点P4偏移量:</value>
</data>
<data name="FrmPositionTool_label4_Text" xml:space="preserve">
<value>出料前点P5偏移值:</value>
</data>
<data name="FrmPositionTool_label5_Text" xml:space="preserve">
<value>出料缓冲点P6偏移量:</value>
</data>
<data name="FrmPositionTool_label9_Text" xml:space="preserve">
<value>入料前点P3偏移量:</value>
</data>
<data name="升降轴位置调试:" xml:space="preserve">
<value>升降轴位置调试:</value>
</data>
<data name="打开串口失败" xml:space="preserve">
<value>打开串口失败</value>
</data>
<data name="文件【{0}】已存在,是否确定覆盖?" xml:space="preserve">
<value>文件【{0}】已存在,是否确定覆盖?</value>
</data>
<data name="检测信号" xml:space="preserve">
<value>检测信号</value>
</data>
<data name="请输入正确的速度" xml:space="preserve">
<value>请输入正确的速度</value>
</data>
<data name="StartCycle" xml:space="preserve">
<value>开始循环出库</value>
</data>
<data name="StopCycle" xml:space="preserve">
<value>停止循环出库</value>
</data>
<data name="FrmStoreBox_btnCycleOut_Text" xml:space="preserve">
<value>开始循环出库</value>
</data>
<data name="OutFull" xml:space="preserve">
<value>批量轴已满,请取出料盘</value>
</data>
<data name="TheDoorOpen" xml:space="preserve">
<value>The door lock is not closed, unable to exit the warehouse</value>
</data>
<data name="伺服OFF" xml:space="preserve">
<value>伺服OFF</value>
</data>
<data name="伺服ON" xml:space="preserve">
<value>伺服ON</value>
</data>
<data name="右侧门未关" xml:space="preserve">
<value>右侧门未关</value>
</data>
<data name="左侧门未关" xml:space="preserve">
<value>左侧门未关</value>
</data>
<data name="循环出库" xml:space="preserve">
<value>循环出库</value>
</data>
<data name="确定开始{0}循环出库" xml:space="preserve">
<value>确定开始{0}循环出库</value>
</data>
<data name="确定开始自动出入库?" xml:space="preserve">
<value>确定开始自动出入库?</value>
</data>
<data name="自动入库" xml:space="preserve">
<value>自动入库</value>
</data>
<data name="自动出入库" xml:space="preserve">
<value>自动出入库</value>
</data>
<data name="自动出库" xml:space="preserve">
<value>自动出库</value>
</data>
<data name="FrmIOStatus_btnCloseDeviceLed_Text" xml:space="preserve">
<value>关闭设备照明</value>
</data>
<data name="FrmIOStatus_btnOpenDeviceLed_Text" xml:space="preserve">
<value>打开设备照明</value>
</data>
<data name="NO_Clamping_Check" xml:space="preserve">
<value>夹爪气缸料盘检测无信号</value>
</data>
<data name="X31" xml:space="preserve">
<value>夹爪气缸料盘检测</value>
</data>
<data name="FrmStoreBox_toolStripMenuItem6_Text" xml:space="preserve">
<value>セーター</value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
...@@ -1422,4 +1422,7 @@ ...@@ -1422,4 +1422,7 @@
<data name="X31" xml:space="preserve"> <data name="X31" xml:space="preserve">
<value>夹爪气缸料盘检测</value> <value>夹爪气缸料盘检测</value>
</data> </data>
<data name="FrmStoreBox_toolStripMenuItem6_Text" xml:space="preserve">
<value>日语</value>
</data>
</root> </root>
\ No newline at end of file \ No newline at end of file
...@@ -20,6 +20,7 @@ namespace OnlineStore.AutoInOutStore ...@@ -20,6 +20,7 @@ namespace OnlineStore.AutoInOutStore
public static string China = "zh-CN"; public static string China = "zh-CN";
public static string English = "en-US"; public static string English = "en-US";
public static string German = "ge-DE"; public static string German = "ge-DE";
public static string Japanese = "ja-JP";
private static ResourceManager rm = null; private static ResourceManager rm = null;
public static string CurrLanguage = "zh-CN"; public static string CurrLanguage = "zh-CN";
...@@ -34,11 +35,10 @@ namespace OnlineStore.AutoInOutStore ...@@ -34,11 +35,10 @@ namespace OnlineStore.AutoInOutStore
CodeLibrary.CodeResourceControl.OpenResourceLog = ShowLog; CodeLibrary.CodeResourceControl.OpenResourceLog = ShowLog;
ResourceControl.GetStrEvent += GetString; ResourceControl.GetStrEvent += GetString;
ResourceControl.GetStringEvent += GetString; ResourceControl.GetStringEvent += GetString;
ResourceControl.GetStringByLanEvent += GetStringByLan;
CodeLibrary.CodeResourceControl.GetLanguageEvent += CodeResourceControl_GetLanguageEvent; CodeLibrary.CodeResourceControl.GetLanguageEvent += CodeResourceControl_GetLanguageEvent;
CSVResourceControl.GetStrEvent += GetString; CSVResourceControl.GetStrEvent += GetString;
CSVResourceControl.GetStringEvent += GetString; CSVResourceControl.GetStringEvent += GetString;
//UserFromControl.UserControlResource.GetStrEvent += GetString;
//UserFromControl.UserControlResource.GetStringEvent += GetString;
if (string.IsNullOrEmpty(name)) if (string.IsNullOrEmpty(name))
{ {
name = "en-US"; name = "en-US";
...@@ -137,7 +137,7 @@ namespace OnlineStore.AutoInOutStore ...@@ -137,7 +137,7 @@ namespace OnlineStore.AutoInOutStore
} }
return strCurLanguage; return strCurLanguage;
} }
public static string GetString(string id, string defaultStr, params object[] param) private static string GetStringByLan(string language, string id, string defaultStr, params object[] param)
{ {
string strCurLanguage = ""; string strCurLanguage = "";
...@@ -148,7 +148,7 @@ namespace OnlineStore.AutoInOutStore ...@@ -148,7 +148,7 @@ namespace OnlineStore.AutoInOutStore
rm = new ResourceManager("OnlineStore.AutoInOutStore.Properties.Resource", assembly); rm = new ResourceManager("OnlineStore.AutoInOutStore.Properties.Resource", assembly);
} }
//CultureInfo ci = Thread.CurrentThread.CurrentCulture; //CultureInfo ci = Thread.CurrentThread.CurrentCulture;
CultureInfo ci = new CultureInfo(CurrLanguage); CultureInfo ci = new CultureInfo(language);
strCurLanguage = rm.GetString(id, ci).Trim(); strCurLanguage = rm.GetString(id, ci).Trim();
if (strCurLanguage.Equals("") && (!defaultStr.Equals(""))) if (strCurLanguage.Equals("") && (!defaultStr.Equals("")))
{ {
...@@ -171,6 +171,12 @@ namespace OnlineStore.AutoInOutStore ...@@ -171,6 +171,12 @@ namespace OnlineStore.AutoInOutStore
return String.Format(strCurLanguage, param); return String.Format(strCurLanguage, param);
} }
public static string GetString(string id, string defaultStr, params object[] param)
{
return GetStringByLan(CurrLanguage, id, defaultStr, param);
}
private static void NoIdLog(string id, string defaultStr) private static void NoIdLog(string id, string defaultStr)
{ {
if (ShowLog) if (ShowLog)
......
...@@ -72,6 +72,11 @@ namespace OnlineStore.Common ...@@ -72,6 +72,11 @@ namespace OnlineStore.Common
/// </summary> /// </summary>
public string[] msgParam { get; set; } public string[] msgParam { get; set; }
/// <summary> /// <summary>
/// 中文: zh 英文: en 日语: jp
/// msgData中key为zh, value为对应语言的消息内容
/// </summary>
public Dictionary<string,string> msgData { get; set; }
/// <summary>
/// 包含的多个 BOX 的状态信息 /// 包含的多个 BOX 的状态信息
/// </summary> /// </summary>
public Dictionary<int, BoxStatus> boxStatus = new Dictionary<int, BoxStatus>(); public Dictionary<int, BoxStatus> boxStatus = new Dictionary<int, BoxStatus>();
...@@ -79,12 +84,7 @@ namespace OnlineStore.Common ...@@ -79,12 +84,7 @@ namespace OnlineStore.Common
/// 报警集合 /// 报警集合
/// </summary> /// </summary>
public List<AlarmInfo> alarmList = new List<AlarmInfo>(); public List<AlarmInfo> alarmList = new List<AlarmInfo>();
public void SetMsg(string msg, string type, params string[] param)
{
this.msg = msg;
this.msgCode = type;
this.msgParam = param;
}
} }
/// <summary> /// <summary>
......
...@@ -7,11 +7,18 @@ namespace OnlineStore.DeviceLibrary ...@@ -7,11 +7,18 @@ namespace OnlineStore.DeviceLibrary
{ {
public class ResourceControl public class ResourceControl
{ {
public static string China = "zh-CN";
public static string English = "en-US";
// public static string German = "ge-DE";
public static string Japanese = "ja-JP";
public delegate string GetStrDelegate(string id, string defaultStr); public delegate string GetStrDelegate(string id, string defaultStr);
public static event GetStrDelegate GetStrEvent; public static event GetStrDelegate GetStrEvent;
public delegate string GetStringDelegate(string id, string defaultStr, params object[] param); public delegate string GetStringDelegate(string id, string defaultStr, params object[] param);
public static event GetStringDelegate GetStringEvent; public static event GetStringDelegate GetStringEvent;
public delegate string GetStringByLanDelegate(string language, string id, string defaultStr, params object[] param);
public static event GetStringByLanDelegate GetStringByLanEvent;
public static string GetMsgStr(string value) public static string GetMsgStr(string value)
{ {
...@@ -33,7 +40,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -33,7 +40,11 @@ namespace OnlineStore.DeviceLibrary
string result = GetStringEvent?.Invoke(id, defaultStr, param); string result = GetStringEvent?.Invoke(id, defaultStr, param);
return result; return result;
} }
public static string GetStringByLan(string language, string id, string defaultStr, params object[] param)
{
string result = GetStringByLanEvent?.Invoke(language, id, defaultStr, param);
return result;
}
/// <summary> /// <summary>
/// AutoOut 自动出库: /// AutoOut 自动出库:
......
...@@ -36,7 +36,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -36,7 +36,7 @@ namespace OnlineStore.DeviceLibrary
/// </summary> /// </summary>
private Dictionary<string, AxisAlarmInfo> AxisAlarmCodeMap = new Dictionary<string, AxisAlarmInfo>(); private Dictionary<string, AxisAlarmInfo> AxisAlarmCodeMap = new Dictionary<string, AxisAlarmInfo>();
private IO_VALUE preAirValue = IO_VALUE.HIGH; private IO_VALUE preAirValue = IO_VALUE.HIGH;
private bool IsHasCompress_Axis = true; private bool IsHasCompress_Axis = true;
private bool LoadOk = false; private bool LoadOk = false;
public AC_SA_BoxBean(AUTO_SA_Config config) public AC_SA_BoxBean(AUTO_SA_Config config)
...@@ -100,7 +100,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -100,7 +100,7 @@ namespace OnlineStore.DeviceLibrary
{ {
return; return;
} }
ledInProcess = true; ledInProcess = true;
LedProcess(); LedProcess();
ledInProcess = false; ledInProcess = false;
} }
...@@ -115,13 +115,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -115,13 +115,13 @@ namespace OnlineStore.DeviceLibrary
if (IOManager.IOValue(IO_Type.SuddenStop_BTN).Equals(IO_VALUE.LOW)) if (IOManager.IOValue(IO_Type.SuddenStop_BTN).Equals(IO_VALUE.LOW))
{ {
if (isInSuddenDown.Equals(false)) if (isInSuddenDown.Equals(false))
{ {
isInSuddenDown = true; isInSuddenDown = true;
LogUtil.error(LOGGER, StoreName + "收到急停信号,报警急停"); LogUtil.error(LOGGER, StoreName + "收到急停信号,报警急停");
// WarnMsg = StoreName + ResourceControl.GetString(ResourceControl.inSuddenStop, "收到急停信号,报警急停"); // WarnMsg = StoreName + ResourceControl.GetString(ResourceControl.inSuddenStop, "收到急停信号,报警急停");
SetWarnMsg( ResourceControl.inSuddenStop); SetWarnMsg(ResourceControl.inSuddenStop);
//报警时会关闭所有轴 //报警时会关闭所有轴
Alarm(StoreAlarmType.SuddenStop, "1", WarnObj.WarnMsg, StoreMoveType.None); Alarm(StoreAlarmType.SuddenStop, "1", WarnObj.WarnMsg, StoreMoveType.None);
} }
} }
else else
...@@ -132,7 +132,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -132,7 +132,7 @@ namespace OnlineStore.DeviceLibrary
//SafetyLightProcess(); //SafetyLightProcess();
} }
} }
}catch(Exception ex) } catch (Exception ex)
{ {
LogUtil.error("IoCheckTimer_Elapsed出错:" + ex.ToString()); LogUtil.error("IoCheckTimer_Elapsed出错:" + ex.ToString());
} }
...@@ -151,13 +151,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -151,13 +151,13 @@ namespace OnlineStore.DeviceLibrary
if (currAirValue.Equals(IO_VALUE.LOW)) if (currAirValue.Equals(IO_VALUE.LOW))
{ {
//判断是否持续了3秒 //判断是否持续了3秒
if (preAirValue.Equals(IO_VALUE.LOW) ) if (preAirValue.Equals(IO_VALUE.LOW))
{ {
TimeSpan span = DateTime.Now - lastAirCloseTime; TimeSpan span = DateTime.Now - lastAirCloseTime;
if (span.TotalSeconds > Config.AirCheckSeconds) if (span.TotalSeconds > Config.AirCheckSeconds)
{ {
// WarnMsg = ResourceControl.GetString(ResourceControl.NoAIr, "未检测到气压信号"); // WarnMsg = ResourceControl.GetString(ResourceControl.NoAIr, "未检测到气压信号");
SetWarnMsg( ResourceControl.NoAIr); SetWarnMsg(ResourceControl.NoAIr);
preAirValue = IO_VALUE.LOW; preAirValue = IO_VALUE.LOW;
LogUtil.error("已持续【" + FormUtil.GetSpanStr(span) + "】未检测到气压信号,报警"); LogUtil.error("已持续【" + FormUtil.GetSpanStr(span) + "】未检测到气压信号,报警");
Alarm(StoreAlarmType.NoAirCheck, "2", WarnObj.WarnMsg, StoreMoveType.None); Alarm(StoreAlarmType.NoAirCheck, "2", WarnObj.WarnMsg, StoreMoveType.None);
...@@ -174,7 +174,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -174,7 +174,7 @@ namespace OnlineStore.DeviceLibrary
{ {
isNoAirCheck = false; isNoAirCheck = false;
} }
preAirValue = currAirValue; preAirValue = currAirValue;
} }
/// <summary> /// <summary>
/// 配置速度,加减速时间 /// 配置速度,加减速时间
...@@ -208,13 +208,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -208,13 +208,13 @@ namespace OnlineStore.DeviceLibrary
if (!LoadOk) if (!LoadOk)
{ {
SetWarnMsg("启动失败:设备未初始化完成"); SetWarnMsg("启动失败:设备未初始化完成");
return false; return false;
} }
runTimeWatch.Restart(); runTimeWatch.Restart();
LogUtil.info(LOGGER, StoreName + "开始启动,启动时间:" + DateTime.Now.ToLongTimeString()); LogUtil.info(LOGGER, StoreName + "开始启动,启动时间:" + DateTime.Now.ToLongTimeString());
AutomaticBaiting.CylinderMove(IO_Type.Clamping_Work, IO_Type.Clamping_Relax, null); AutomaticBaiting.CylinderMove(IO_Type.Clamping_Work, IO_Type.Clamping_Relax, null);
// IOManager.IOMove(IO_Type.SuckingDisc_Work, IO_VALUE.LOW); // IOManager.IOMove(IO_Type.SuckingDisc_Work, IO_VALUE.LOW);
//if (IsHasCompress_Axis) //if (IsHasCompress_Axis)
//{ //{
// if (ShuoKeControls.isRun == false && (!StoreManager.OpenShuoKe(this))) // if (ShuoKeControls.isRun == false && (!StoreManager.OpenShuoKe(this)))
...@@ -230,7 +230,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -230,7 +230,7 @@ namespace OnlineStore.DeviceLibrary
{ {
//WarnMsg = canStart; //WarnMsg = canStart;
SetWarnMsg(canStart); SetWarnMsg(canStart);
// LogUtil.info(StoreName + canStart); // LogUtil.info(StoreName + canStart);
return false; return false;
} }
autoNext = false; autoNext = false;
...@@ -253,7 +253,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -253,7 +253,7 @@ namespace OnlineStore.DeviceLibrary
{ {
return false; return false;
} }
AutomaticBaiting.StartReset( ); AutomaticBaiting.StartReset();
//TODO 启动时先所有轴远点返回,测试暂时关闭 //TODO 启动时先所有轴远点返回,测试暂时关闭
storeRunStatus = StoreRunStatus.HomeMoving; storeRunStatus = StoreRunStatus.HomeMoving;
...@@ -271,7 +271,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -271,7 +271,7 @@ namespace OnlineStore.DeviceLibrary
{ {
//WarnMsg = ResourceControl.GetString(ResourceControl.startFail, "Startup failure: emergency stop not opened"); //WarnMsg = ResourceControl.GetString(ResourceControl.startFail, "Startup failure: emergency stop not opened");
SetWarnMsgAndLog(ResourceControl.startFail); SetWarnMsgAndLog(ResourceControl.startFail);
// LogUtil.error(LOGGER, " (" + StoreName + ")启动出现错误:急停没开 !启动失败!"); // LogUtil.error(LOGGER, " (" + StoreName + ")启动出现错误:急停没开 !启动失败!");
} }
else else
{ {
...@@ -281,20 +281,20 @@ namespace OnlineStore.DeviceLibrary ...@@ -281,20 +281,20 @@ namespace OnlineStore.DeviceLibrary
} }
return false; return false;
} }
}catch(Exception ex) } catch (Exception ex)
{ {
LogUtil.error("启动错误"+ex.StackTrace); LogUtil.error("启动错误" + ex.StackTrace);
return false; return false;
} }
} }
#region 原点返回和复位处理 #region 原点返回和复位处理
private void ReturnHome() private void ReturnHome()
{ {
ResetEvent?.Invoke(); ResetEvent?.Invoke();
// WarnMsg = ""; // WarnMsg = "";
SetWarnMsg(""); SetWarnMsg("");
CurrInOutACount = 0; CurrInOutACount = 0;
CurrInOutCount = 0; CurrInOutCount = 0;
IOManager.IOMove(IO_Type.Alarm_HddLed, IO_VALUE.LOW); IOManager.IOMove(IO_Type.Alarm_HddLed, IO_VALUE.LOW);
IOManager.IOMove(IO_Type.AutoRun_HddLed, IO_VALUE.HIGH); IOManager.IOMove(IO_Type.AutoRun_HddLed, IO_VALUE.HIGH);
...@@ -373,8 +373,8 @@ namespace OnlineStore.DeviceLibrary ...@@ -373,8 +373,8 @@ namespace OnlineStore.DeviceLibrary
StoreMove.NextMoveStep(StoreMoveStep.BOX_H_LocationCylinderBack); StoreMove.NextMoveStep(StoreMoveStep.BOX_H_LocationCylinderBack);
LocationDownAndWait(); LocationDownAndWait();
} }
AutomaticBaiting.StartReset( ); AutomaticBaiting.StartReset();
isInPro = false; isInPro = false;
} }
private void InoutStartReset() private void InoutStartReset()
{ {
...@@ -389,7 +389,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -389,7 +389,7 @@ namespace OnlineStore.DeviceLibrary
} }
private void ResetLog(string msg) private void ResetLog(string msg)
{ {
LogUtil.info(LOGGER, StoreName + msg); LogUtil.info(LOGGER, StoreName + msg);
} }
/// <summary> /// <summary>
...@@ -413,14 +413,14 @@ namespace OnlineStore.DeviceLibrary ...@@ -413,14 +413,14 @@ namespace OnlineStore.DeviceLibrary
case StoreMoveStep.BOX_H_InOutMove: case StoreMoveStep.BOX_H_InOutMove:
StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutBack); StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutBack);
ACAxisHomeMove(Config.InOut_Axis); ACAxisHomeMove(Config.InOut_Axis);
ResetLog( "复位中:进出轴开始原点返回"); ResetLog("复位中:进出轴开始原点返回");
StoreMove.WaitList.Add(WaitResultInfo.WaitTime(2000)); StoreMove.WaitList.Add(WaitResultInfo.WaitTime(2000));
ResetCloseDoor(); ResetCloseDoor();
break; break;
case StoreMoveStep.BOX_H_InOutBack: case StoreMoveStep.BOX_H_InOutBack:
Thread.Sleep(200); Thread.Sleep(200);
StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutToP1); StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutToP1);
ResetLog("复位中:进出轴到待机点P1,压紧轴先相对走-2000"); ResetLog("复位中:进出轴到待机点P1,压紧轴先相对走-2000");
ACAxisMove(Config.InOut_Axis, Config.InOutAxis_P1_Position, Config.InOutAxis_P1_Speed); ACAxisMove(Config.InOut_Axis, Config.InOutAxis_P1_Position, Config.InOutAxis_P1_Speed);
//ComBeforeHomeMove(); //ComBeforeHomeMove();
ResetCloseDoor(); ResetCloseDoor();
...@@ -448,11 +448,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -448,11 +448,11 @@ namespace OnlineStore.DeviceLibrary
ResetLog("复位中:旋转轴到P1,上下轴到P7门口位置,压紧轴到P1"); ResetLog("复位中:旋转轴到P1,上下轴到P7门口位置,压紧轴到P1");
ACAxisMove(Config.Middle_Axis, Config.MiddleAxis_P1_Position, Config.MiddleAxis_P1_Speed); ACAxisMove(Config.Middle_Axis, Config.MiddleAxis_P1_Position, Config.MiddleAxis_P1_Speed);
ACAxisMove(Config.UpDown_Axis, Config.UpDownAxis_Door_P7, Config.UpDownAxis_P7_Speed); ACAxisMove(Config.UpDown_Axis, Config.UpDownAxis_Door_P7, Config.UpDownAxis_P7_Speed);
ComMoveToPosition( Config.CompressAxis_P1_Position,Config.CompAxis_P1_Speed); ComMoveToPosition(Config.CompressAxis_P1_Position, Config.CompAxis_P1_Speed);
CloseDoorAndWait(); CloseDoorAndWait();
break; break;
case StoreMoveStep.BOX_H_MiddleAxisToP1: case StoreMoveStep.BOX_H_MiddleAxisToP1:
if (!StartResetOut()) if (!StartResetOut())
{ {
ResetLog("复位完成"); ResetLog("复位完成");
ResetEnd(); ResetEnd();
...@@ -465,7 +465,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -465,7 +465,7 @@ namespace OnlineStore.DeviceLibrary
if (IsHasCompress_Axis) if (IsHasCompress_Axis)
{ {
ACAxisHomeMove(Config.Comp_Axis); ACAxisHomeMove(Config.Comp_Axis);
} }
break; break;
case StoreMoveStep.BOX_M_H_TOP1_CompressHome: case StoreMoveStep.BOX_M_H_TOP1_CompressHome:
StoreMove.NextMoveStep(StoreMoveStep.BOX_M_H_TOP1_OtherAxisToP1); StoreMove.NextMoveStep(StoreMoveStep.BOX_M_H_TOP1_OtherAxisToP1);
...@@ -502,13 +502,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -502,13 +502,13 @@ namespace OnlineStore.DeviceLibrary
{ {
StoreMove.NextMoveStep(StoreMoveStep.BOX_R44_GoBack); StoreMove.NextMoveStep(StoreMoveStep.BOX_R44_GoBack);
ResetLog("复位时清料:进出轴返回P1,关闭舱门"); ResetLog("复位时清料:进出轴返回P1,关闭舱门");
ACAxisMove(Config.InOut_Axis, StoreMove.MoveParam.MoveP.InOut_P1, Config.InOutAxis_P1_Speed); ACAxisMove(Config.InOut_Axis, StoreMove.MoveParam.MoveP.InOut_P1, Config.InOutAxis_P1_Speed);
CloseDoorAndWait(); CloseDoorAndWait();
} }
break; break;
case StoreMoveStep.BOX_R44_GoBack: case StoreMoveStep.BOX_R44_GoBack:
ResetLog("复位并清料完成"); ResetLog("复位并清料完成");
ResetEnd(); ResetEnd();
break; break;
default: break; default: break;
} }
...@@ -553,17 +553,17 @@ namespace OnlineStore.DeviceLibrary ...@@ -553,17 +553,17 @@ namespace OnlineStore.DeviceLibrary
else else
{ {
LogUtil.error(LOGGER, StoreName + " 启动清料失败:【" + PositionNumList[0] + "】加载参数失败"); LogUtil.error(LOGGER, StoreName + " 启动清料失败:【" + PositionNumList[0] + "】加载参数失败");
} }
} }
return false; return false;
} }
private void ComMoveToPosition(int targetPosition, int targetSpeed) private void ComMoveToPosition(int targetPosition, int targetSpeed)
{ {
if (IsHasCompress_Axis) if (IsHasCompress_Axis)
{ {
ACAxisMove(Config.Comp_Axis, targetPosition, targetSpeed); ACAxisMove(Config.Comp_Axis, targetPosition, targetSpeed);
} }
//LogUtil.debug("压紧轴绝对运动目标位置:" + targetPosition); //LogUtil.debug("压紧轴绝对运动目标位置:" + targetPosition);
//if (isNeedCheckSingle) //if (isNeedCheckSingle)
//{ //{
...@@ -608,8 +608,8 @@ namespace OnlineStore.DeviceLibrary ...@@ -608,8 +608,8 @@ namespace OnlineStore.DeviceLibrary
} }
} }
else if (StoreMove.MoveType.Equals(StoreMoveType.OutStore) && StoreMove.IsBatchInOutStore) else if (StoreMove.MoveType.Equals(StoreMoveType.OutStore) && StoreMove.IsBatchInOutStore)
{ {
return; return;
} }
StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.Door_Down, IO_VALUE.HIGH)); StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.Door_Down, IO_VALUE.HIGH));
StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.Door_Up, IO_VALUE.LOW)); StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.Door_Up, IO_VALUE.LOW));
...@@ -658,7 +658,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -658,7 +658,7 @@ namespace OnlineStore.DeviceLibrary
case StoreMoveStep.BOX_H_InOutBack: case StoreMoveStep.BOX_H_InOutBack:
Thread.Sleep(200); Thread.Sleep(200);
StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutToP1); StoreMove.NextMoveStep(StoreMoveStep.BOX_H_InOutToP1);
ResetLog("原点返回中,进出轴退回P1点,关闭仓门,压紧轴先相对走-2000"); ResetLog("原点返回中,进出轴退回P1点,关闭仓门,压紧轴先相对走-2000");
ACAxisMove(Config.InOut_Axis, Config.InOutAxis_P1_Position, Config.InOutAxis_P1_Speed); ACAxisMove(Config.InOut_Axis, Config.InOutAxis_P1_Position, Config.InOutAxis_P1_Speed);
//ComBeforeHomeMove(); //ComBeforeHomeMove();
ResetCloseDoor(); ResetCloseDoor();
...@@ -690,7 +690,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -690,7 +690,7 @@ namespace OnlineStore.DeviceLibrary
ACAxisMove(Config.Middle_Axis, Config.MiddleAxis_P1_Position, Config.MiddleAxis_P1_Speed); ACAxisMove(Config.Middle_Axis, Config.MiddleAxis_P1_Position, Config.MiddleAxis_P1_Speed);
ACAxisMove(Config.UpDown_Axis, Config.UpDownAxis_Door_P7, Config.UpDownAxis_P7_Speed); ACAxisMove(Config.UpDown_Axis, Config.UpDownAxis_Door_P7, Config.UpDownAxis_P7_Speed);
ComMoveToPosition(Config.CompressAxis_P1_Position, Config.CompAxis_P1_Speed); ComMoveToPosition(Config.CompressAxis_P1_Position, Config.CompAxis_P1_Speed);
CloseDoorAndWait(); CloseDoorAndWait();
break; break;
case StoreMoveStep.BOX_H_MiddleAxisToP1: case StoreMoveStep.BOX_H_MiddleAxisToP1:
ResetLog("回原点完成"); ResetLog("回原点完成");
...@@ -773,7 +773,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -773,7 +773,7 @@ namespace OnlineStore.DeviceLibrary
{ {
ACServerManager.ServoOff(axis.DeviceName, axis.GetAxisValue()); ACServerManager.ServoOff(axis.DeviceName, axis.GetAxisValue());
int alarmCode = GetAlarmCodeByAxis(axis); int alarmCode = GetAlarmCodeByAxis(axis);
// WarnMsg = StoreName + "打开轴" + axis.Explain + "失败 "; // WarnMsg = StoreName + "打开轴" + axis.Explain + "失败 ";
//LogUtil.info(LOGGER, StoreName + WarnMsg); //LogUtil.info(LOGGER, StoreName + WarnMsg);
SetWarnMsgAndLog(ResourceControl.OpenAxisFail, axis.GetNameStr()); SetWarnMsgAndLog(ResourceControl.OpenAxisFail, axis.GetNameStr());
Alarm(StoreAlarmType.AxisAlarm, GetAlarmCodeByAxis(axis).ToString(), WarnObj.WarnMsg, StoreMove.MoveType); Alarm(StoreAlarmType.AxisAlarm, GetAlarmCodeByAxis(axis).ToString(), WarnObj.WarnMsg, StoreMove.MoveType);
...@@ -791,10 +791,10 @@ namespace OnlineStore.DeviceLibrary ...@@ -791,10 +791,10 @@ namespace OnlineStore.DeviceLibrary
LogUtil.debug(StoreName + "关闭刹车完成,开始关闭伺服"); LogUtil.debug(StoreName + "关闭刹车完成,开始关闭伺服");
foreach (ConfigMoveAxis axis in moveAxisList) foreach (ConfigMoveAxis axis in moveAxisList)
{ {
LogUtil.info(StoreName + " 开始关闭伺服 " +axis.DisplayStr); LogUtil.info(StoreName + " 开始关闭伺服 " + axis.DisplayStr);
ACServerManager.ServoOff(axis.DeviceName, axis.GetAxisValue()); ACServerManager.ServoOff(axis.DeviceName, axis.GetAxisValue());
} }
Thread.Sleep(100); Thread.Sleep(100);
LogUtil.debug(StoreName + "关闭伺服完成,开始关闭Run_Sign"); LogUtil.debug(StoreName + "关闭伺服完成,开始关闭Run_Sign");
IOManager.IOMove(IO_Type.Run_Sign, IO_VALUE.LOW); IOManager.IOMove(IO_Type.Run_Sign, IO_VALUE.LOW);
...@@ -885,7 +885,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -885,7 +885,7 @@ namespace OnlineStore.DeviceLibrary
{ {
LogUtil.error(LOGGER, StoreName + "轴报警,关闭刹车,停止运动,关闭轴,打开报警灯"); LogUtil.error(LOGGER, StoreName + "轴报警,关闭刹车,停止运动,关闭轴,打开报警灯");
IOManager.IOMove(IO_Type.Axis_Brake, IO_VALUE.LOW); IOManager.IOMove(IO_Type.Axis_Brake, IO_VALUE.LOW);
StoreMove.EndMove(); StoreMove.EndMove();
StopMove(true); StopMove(true);
} }
else if (alarmType == StoreAlarmType.SuddenStop) else if (alarmType == StoreAlarmType.SuddenStop)
...@@ -905,14 +905,14 @@ namespace OnlineStore.DeviceLibrary ...@@ -905,14 +905,14 @@ namespace OnlineStore.DeviceLibrary
StoreMove.EndMove(); StoreMove.EndMove();
StopMove(true); StopMove(true);
storeStatus = StoreStatus.SuddenStop; storeStatus = StoreStatus.SuddenStop;
}else if (alarmType.Equals(StoreAlarmType.BatchAxisAlarm)) } else if (alarmType.Equals(StoreAlarmType.BatchAxisAlarm))
{ {
LogUtil.error("批量上下料轴报警,批量上料模块停止运动"); LogUtil.error("批量上下料轴报警,批量上料模块停止运动");
ACServerManager.SuddenStop(Config.Batch_Axis.DeviceName, Config.Batch_Axis.GetAxisValue()); ACServerManager.SuddenStop(Config.Batch_Axis.DeviceName, Config.Batch_Axis.GetAxisValue());
AutomaticBaiting.StopMove(); AutomaticBaiting.StopMove();
} }
} }
private bool InProcess = false; private bool InProcess = false;
private bool IsChongfu = false; private bool IsChongfu = false;
private Stopwatch stopwatch = new Stopwatch(); private Stopwatch stopwatch = new Stopwatch();
protected override void timersTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) protected override void timersTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
...@@ -933,7 +933,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -933,7 +933,7 @@ namespace OnlineStore.DeviceLibrary
} }
InProcess = true; InProcess = true;
stopwatch.Restart(); stopwatch.Restart();
IoCheckProcess(); IoCheckProcess();
ShowTimeLog("IoCheckProcess"); ShowTimeLog("IoCheckProcess");
...@@ -1096,8 +1096,8 @@ namespace OnlineStore.DeviceLibrary ...@@ -1096,8 +1096,8 @@ namespace OnlineStore.DeviceLibrary
bool result = StartRun(); bool result = StartRun();
if (!result) if (!result)
{ {
LogUtil.info("料仓启动失败,继续等待下次启动!"); LogUtil.info("料仓启动失败,继续等待下次启动!");
mainTimer.Enabled = true; mainTimer.Enabled = true;
} }
} }
lastAutoRun = autoSingle; lastAutoRun = autoSingle;
...@@ -1128,7 +1128,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1128,7 +1128,7 @@ namespace OnlineStore.DeviceLibrary
} }
else else
{ {
LogUtil.info(LOGGER, "收到复位信号但是已经在" + StoreMove.MoveType + "处理中,且无报警,不处理"); LogUtil.info(LOGGER, "收到复位信号但是已经在" + StoreMove.MoveType + "处理中,且无报警,不处理");
} }
} }
else else
...@@ -1142,16 +1142,16 @@ namespace OnlineStore.DeviceLibrary ...@@ -1142,16 +1142,16 @@ namespace OnlineStore.DeviceLibrary
{ {
//收到复位信号 //收到复位信号
LogUtil.info(LOGGER, "收到复位信号,自动复位"); LogUtil.info(LOGGER, "收到复位信号,自动复位");
// WarnMsg = ResourceControl.GetString(ResourceControl.AutoReset, "收到复位信号,自动复位"); // WarnMsg = ResourceControl.GetString(ResourceControl.AutoReset, "收到复位信号,自动复位");
SetWarnMsg(ResourceControl.AutoReset); SetWarnMsg(ResourceControl.AutoReset);
Reset(); Reset();
} }
} }
} }
} }
} }
private void TimerProcess() private void TimerProcess()
{ {
try try
...@@ -1163,7 +1163,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1163,7 +1163,7 @@ namespace OnlineStore.DeviceLibrary
ShowTimeLog("BusyMoveProcess"); ShowTimeLog("BusyMoveProcess");
} }
else if (storeRunStatus.Equals(StoreRunStatus.Runing)) else if (storeRunStatus.Equals(StoreRunStatus.Runing))
{ {
//ShowTimeLog("判断是否需要出入库"); //ShowTimeLog("判断是否需要出入库");
AutoResetProcess(); AutoResetProcess();
ShowTimeLog("AutoResetProcess"); ShowTimeLog("AutoResetProcess");
...@@ -1206,7 +1206,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1206,7 +1206,7 @@ namespace OnlineStore.DeviceLibrary
if (alarmType.Equals(StoreAlarmType.IoSingleTimeOut) && StoreMove.IsInWait == false) if (alarmType.Equals(StoreAlarmType.IoSingleTimeOut) && StoreMove.IsInWait == false)
{ {
LogUtil.info(StoreName + "当前空闲中,清理信号超时异常【" + StoreManager.Store.alarmType + "】" + WarnObj.WarnMsg); LogUtil.info(StoreName + "当前空闲中,清理信号超时异常【" + StoreManager.Store.alarmType + "】" + WarnObj.WarnMsg);
alarmType = StoreAlarmType.None; alarmType = StoreAlarmType.None;
IOManager.IOMove(IO_Type.Buzzer_Sign, IO_VALUE.LOW); IOManager.IOMove(IO_Type.Buzzer_Sign, IO_VALUE.LOW);
// WarnMsg = ""; // WarnMsg = "";
SetWarnMsg(""); SetWarnMsg("");
...@@ -1218,7 +1218,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1218,7 +1218,7 @@ namespace OnlineStore.DeviceLibrary
LogUtil.info("批量上下料模块空闲中,清理报警【" + StoreManager.Store.alarmType + "】" + AutomaticBaiting.WarnObj.WarnMsg); LogUtil.info("批量上下料模块空闲中,清理报警【" + StoreManager.Store.alarmType + "】" + AutomaticBaiting.WarnObj.WarnMsg);
alarmType = StoreAlarmType.None; alarmType = StoreAlarmType.None;
IOManager.IOMove(IO_Type.Buzzer_Sign, IO_VALUE.LOW); IOManager.IOMove(IO_Type.Buzzer_Sign, IO_VALUE.LOW);
AutomaticBaiting.SetWarnMsg( ""); AutomaticBaiting.SetWarnMsg("");
} }
} }
} }
...@@ -1226,14 +1226,14 @@ namespace OnlineStore.DeviceLibrary ...@@ -1226,14 +1226,14 @@ namespace OnlineStore.DeviceLibrary
{ {
if (WarnObj.WarnMsg.Contains(AutomaticBaiting.TimeOut)) if (WarnObj.WarnMsg.Contains(AutomaticBaiting.TimeOut))
{ {
LogUtil.info("清理超时异常信息:"+ WarnObj.WarnMsg); LogUtil.info("清理超时异常信息:" + WarnObj.WarnMsg);
//WarnMsg = ""; //WarnMsg = "";
SetWarnMsg(""); SetWarnMsg("");
} }
if (AutomaticBaiting.WarnObj.WarnMsg.Contains(AutomaticBaiting.TimeOut)) if (AutomaticBaiting.WarnObj.WarnMsg.Contains(AutomaticBaiting.TimeOut))
{ {
LogUtil.info("清理超时异常信息:" + AutomaticBaiting.WarnObj.WarnMsg); LogUtil.info("清理超时异常信息:" + AutomaticBaiting.WarnObj.WarnMsg);
AutomaticBaiting.SetWarnMsg(""); AutomaticBaiting.SetWarnMsg("");
} }
} }
...@@ -1288,7 +1288,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1288,7 +1288,7 @@ namespace OnlineStore.DeviceLibrary
FixtureCodeInfo currInOutFixture = null; FixtureCodeInfo currInOutFixture = null;
lock (waitOutListLock) lock (waitOutListLock)
{ {
if (waitOutStoreList.Count > 0 ) if (waitOutStoreList.Count > 0)
{ {
currInOutFixture = waitOutStoreList[0]; currInOutFixture = waitOutStoreList[0];
waitOutStoreList.RemoveAt(0); waitOutStoreList.RemoveAt(0);
...@@ -1396,18 +1396,18 @@ namespace OnlineStore.DeviceLibrary ...@@ -1396,18 +1396,18 @@ namespace OnlineStore.DeviceLibrary
if (alarmIo == 1) if (alarmIo == 1)
{ {
if (Config.Batch_Axis.IsSameAxis(axisInfo.DeviceName,axisInfo.GetAxisValue()) ) if (Config.Batch_Axis.IsSameAxis(axisInfo.DeviceName, axisInfo.GetAxisValue()))
{ {
// AutomaticBaiting.WarnMsg = ResourceControl.GetString(ResourceControl.MoveAxis, " 运动轴") + axisInfo.Explain + ResourceControl.GetString(ResourceControl.Alarm, "报警"); // AutomaticBaiting.WarnMsg = ResourceControl.GetString(ResourceControl.MoveAxis, " 运动轴") + axisInfo.Explain + ResourceControl.GetString(ResourceControl.Alarm, "报警");
AutomaticBaiting.SetWarnMsg(ResourceControl.AxisAlarm, axisInfo.GetNameStr()); AutomaticBaiting.SetWarnMsg(ResourceControl.AxisAlarm, axisInfo.GetNameStr());
info.AlarmIoValue = alarmIo; info.AlarmIoValue = alarmIo;
Alarm(StoreAlarmType.BatchAxisAlarm, GetAlarmCodeByAxis(axisInfo).ToString(), AutomaticBaiting.WarnObj.WarnMsg, StoreMoveType.None); Alarm(StoreAlarmType.BatchAxisAlarm, GetAlarmCodeByAxis(axisInfo).ToString(), AutomaticBaiting.WarnObj.WarnMsg, StoreMoveType.None);
} }
else else
{ {
// WarnMsg = StoreName + ResourceControl.GetString(ResourceControl.MoveAxis, " 运动轴") + axisInfo.Explain + ResourceControl.GetString(ResourceControl.Alarm, "报警"); // WarnMsg = StoreName + ResourceControl.GetString(ResourceControl.MoveAxis, " 运动轴") + axisInfo.Explain + ResourceControl.GetString(ResourceControl.Alarm, "报警");
SetWarnMsg(ResourceControl.AxisAlarm,axisInfo.GetNameStr()); SetWarnMsg(ResourceControl.AxisAlarm, axisInfo.GetNameStr());
info.AlarmIoValue = alarmIo; info.AlarmIoValue = alarmIo;
Alarm(StoreAlarmType.AxisAlarm, GetAlarmCodeByAxis(axisInfo).ToString(), WarnObj.WarnMsg, StoreMoveType.None); Alarm(StoreAlarmType.AxisAlarm, GetAlarmCodeByAxis(axisInfo).ToString(), WarnObj.WarnMsg, StoreMoveType.None);
} }
...@@ -1428,7 +1428,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1428,7 +1428,7 @@ namespace OnlineStore.DeviceLibrary
return isInAlarm; return isInAlarm;
} }
public void AxisSuddenStop() public void AxisSuddenStop()
{ {
ACServerManager.SuddenStop(Config.Middle_Axis); ACServerManager.SuddenStop(Config.Middle_Axis);
ACServerManager.SuddenStop(Config.UpDown_Axis); ACServerManager.SuddenStop(Config.UpDown_Axis);
ACServerManager.SuddenStop(Config.InOut_Axis); ACServerManager.SuddenStop(Config.InOut_Axis);
...@@ -1440,12 +1440,12 @@ namespace OnlineStore.DeviceLibrary ...@@ -1440,12 +1440,12 @@ namespace OnlineStore.DeviceLibrary
BatchAxisController.StopCheck(); BatchAxisController.StopCheck();
AxisSuddenStop(); AxisSuddenStop();
if (IsHasCompress_Axis.Equals(false) && Config.IsHasLocationCylinder >= 1) if (IsHasCompress_Axis.Equals(false) && Config.IsHasLocationCylinder >= 1)
{ {
//定位气缸停止 //定位气缸停止
IOManager.IOMove(IO_Type.LocationCylinder_Down, IO_VALUE.LOW); IOManager.IOMove(IO_Type.LocationCylinder_Down, IO_VALUE.LOW);
IOManager.IOMove(IO_Type.LocationCylinder_Up, IO_VALUE.LOW); IOManager.IOMove(IO_Type.LocationCylinder_Up, IO_VALUE.LOW);
} }
// MeteringSignal.StopCheck(); // MeteringSignal.StopCheck();
AutomaticBaiting.StopMove(); AutomaticBaiting.StopMove();
if (IsCloseAxis) if (IsCloseAxis)
{ {
...@@ -1463,7 +1463,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1463,7 +1463,7 @@ namespace OnlineStore.DeviceLibrary
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public bool CanStarInOut() public bool CanStarInOut()
{ {
if ((isInSuddenDown.Equals(false)) && (isNoAirCheck.Equals(false)) && (StoreMove.MoveType.Equals(StoreMoveType.None)) if ((isInSuddenDown.Equals(false)) && (isNoAirCheck.Equals(false)) && (StoreMove.MoveType.Equals(StoreMoveType.None))
&& (storeRunStatus.Equals(StoreRunStatus.Runing))) && (storeRunStatus.Equals(StoreRunStatus.Runing)))
{ {
...@@ -1471,9 +1471,9 @@ namespace OnlineStore.DeviceLibrary ...@@ -1471,9 +1471,9 @@ namespace OnlineStore.DeviceLibrary
} }
return false; return false;
} }
public void LoguStatus() public void LoguStatus()
{ {
LogUtil.error(StoreName+"当前状态:"+"isInSuddenDown["+ isInSuddenDown + "],isNoAirCheck[" + isNoAirCheck + "]," + "StoreMove.MoveType[" + StoreMove.MoveType + "],storeRunStatus[" + storeRunStatus + "]",106); LogUtil.error(StoreName + "当前状态:" + "isInSuddenDown[" + isInSuddenDown + "],isNoAirCheck[" + isNoAirCheck + "]," + "StoreMove.MoveType[" + StoreMove.MoveType + "],storeRunStatus[" + storeRunStatus + "]", 106);
} }
#region 温湿度处理 #region 温湿度处理
...@@ -1513,7 +1513,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1513,7 +1513,7 @@ namespace OnlineStore.DeviceLibrary
{ {
humidity = param.Humidity; humidity = param.Humidity;
temp = param.Temperate; temp = param.Temperate;
currTempStr = ("" + humidity.ToString() + "%," + temp+ "℃"); currTempStr = ("" + humidity.ToString() + "%," + temp + "℃");
//currTempStr = ("当前湿度:" + humidity.ToString() + ",当前温度:" + temp); //currTempStr = ("当前湿度:" + humidity.ToString() + ",当前温度:" + temp);
} }
//double currMaxHumidity = HumitureServer.GetMaxHumidity(Config.GetTempAddrList()); //double currMaxHumidity = HumitureServer.GetMaxHumidity(Config.GetTempAddrList());
...@@ -1616,7 +1616,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1616,7 +1616,7 @@ namespace OnlineStore.DeviceLibrary
if (isInProcess) if (isInProcess)
{ {
return; return;
} }
isInProcess = true; isInProcess = true;
if (StoreManager.IsConnectServer) if (StoreManager.IsConnectServer)
{ {
...@@ -1632,7 +1632,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1632,7 +1632,7 @@ namespace OnlineStore.DeviceLibrary
//温湿度暂时注释 //温湿度暂时注释
HumitureController.QueryData(); HumitureController.QueryData();
HumidityProcess(); HumidityProcess();
// LedProcess(); // LedProcess();
isInProcess = false; isInProcess = false;
} }
...@@ -1650,52 +1650,52 @@ namespace OnlineStore.DeviceLibrary ...@@ -1650,52 +1650,52 @@ namespace OnlineStore.DeviceLibrary
lineOperation.status = 1; lineOperation.status = 1;
if (WarnObj.WarnMsg != "") if (WarnObj.WarnMsg != "")
{ {
lineOperation.status = (int)StoreStatus.Warning; lineOperation.status = (int)StoreStatus.Warning;
} }
lineOperation.status = (int)StoreStatus.StoreOnline; lineOperation.status = (int)StoreStatus.StoreOnline;
BoxStatus boxStatus = new BoxStatus(); BoxStatus boxStatus = new BoxStatus();
boxStatus.boxId = StoreID; boxStatus.boxId = StoreID;
boxStatus.SetMsg(WarnObj.WarnMsg,WarnObj.MsgCode,WarnObj.MsgParam); boxStatus.SetMsg(WarnObj.WarnMsg, WarnObj.MsgCode, WarnObj.MsgParam);
lineOperation.SetMsg(WarnObj.WarnMsg, WarnObj.MsgCode,WarnObj.MsgParam); SetOpMsgData(lineOperation, WarnObj.WarnMsg, WarnObj.MsgCode, WarnObj.MsgParam);
if (lineOperation.msg.Equals("")) if (lineOperation.msg.Equals(""))
{ {
WarnInfo obj = AutomaticBaiting.WarnObj; WarnInfo obj = AutomaticBaiting.WarnObj;
boxStatus.SetMsg(obj.WarnMsg, obj.MsgCode, obj.MsgParam); boxStatus.SetMsg(obj.WarnMsg, obj.MsgCode, obj.MsgParam);
lineOperation.SetMsg(obj.WarnMsg, obj.MsgCode, obj.MsgParam); SetOpMsgData(lineOperation,obj.WarnMsg, obj.MsgCode, obj.MsgParam);
} }
if (lineOperation.msg.Equals("") && (!AutomaticBaiting.CodeMsg.Equals(""))) if (lineOperation.msg.Equals("") && (!AutomaticBaiting.CodeMsg.Equals("")))
{ {
boxStatus.SetMsg(AutomaticBaiting.CodeMsg, ResourceControl.NoCodeMsg); boxStatus.SetMsg(AutomaticBaiting.CodeMsg, ResourceControl.NoCodeMsg);
lineOperation.SetMsg(AutomaticBaiting.CodeMsg, ResourceControl.NoCodeMsg); SetOpMsgData(lineOperation,AutomaticBaiting.CodeMsg, ResourceControl.NoCodeMsg);
AutomaticBaiting.CodeMsg = ""; AutomaticBaiting.CodeMsg = "";
} }
if (lineOperation.msg.Equals("") && (!CodeOrInoutMsg.Equals(""))) if (lineOperation.msg.Equals("") && (!CodeOrInoutMsg.Equals("")))
{ {
boxStatus.SetMsg(CodeOrInoutMsg, ResourceControl.InStoreNoCode); boxStatus.SetMsg(CodeOrInoutMsg, ResourceControl.InStoreNoCode);
lineOperation.SetMsg(CodeOrInoutMsg, ResourceControl.InStoreNoCode); SetOpMsgData(lineOperation,CodeOrInoutMsg, ResourceControl.InStoreNoCode);
CodeOrInoutMsg = ""; CodeOrInoutMsg = "";
} }
if (CodeOrInoutMsg.Equals("")) if (CodeOrInoutMsg.Equals(""))
{ {
if (storeRunStatus.Equals(StoreRunStatus.Runing)&&AutomaticBaiting.AutoBaitingStatus.Equals(StoreRunStatus.Runing) if (storeRunStatus.Equals(StoreRunStatus.Runing) && AutomaticBaiting.AutoBaitingStatus.Equals(StoreRunStatus.Runing)
&& IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH)) && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
{ {
boxStatus.SetMsg(ResourceControl.GetString(ResourceControl.HasWare, "叉子料盘检测有料,请检查"),ResourceControl.HasWare); boxStatus.SetMsg(ResourceControl.GetString(ResourceControl.HasWare, "叉子料盘检测有料,请检查"), ResourceControl.HasWare);
lineOperation.SetMsg(ResourceControl.GetString(ResourceControl.HasWare, "叉子料盘检测有料,请检查"), ResourceControl.HasWare); SetOpMsgData(lineOperation,ResourceControl.GetString(ResourceControl.HasWare, "叉子料盘检测有料,请检查"), ResourceControl.HasWare);
}else if(waitOutStoreList.Count>0 && (!AutomaticBaiting.DoorCloseOK())) } else if (waitOutStoreList.Count > 0 && (!AutomaticBaiting.DoorCloseOK()))
{ {
boxStatus.SetMsg(ResourceControl.GetString(ResourceControl.TheDoorOpen, "门锁未关闭,无法出库"), ResourceControl.TheDoorOpen); boxStatus.SetMsg(ResourceControl.GetString(ResourceControl.TheDoorOpen, "门锁未关闭,无法出库"), ResourceControl.TheDoorOpen);
lineOperation.SetMsg(ResourceControl.GetString(ResourceControl.TheDoorOpen, "门锁未关闭,无法出库"), ResourceControl.TheDoorOpen); SetOpMsgData(lineOperation,ResourceControl.GetString(ResourceControl.TheDoorOpen, "门锁未关闭,无法出库"), ResourceControl.TheDoorOpen);
} }
else if(AutomaticBaiting.BatchOutStoreHeight >= Config.BatchAxis_MaxHeight) else if (AutomaticBaiting.BatchOutStoreHeight >= Config.BatchAxis_MaxHeight)
{ {
boxStatus.SetMsg(ResourceControl.GetString(ResourceControl.OutFull, "批量轴已满,请取出料盘"), ResourceControl.OutFull); boxStatus.SetMsg(ResourceControl.GetString(ResourceControl.OutFull, "批量轴已满,请取出料盘"), ResourceControl.OutFull);
lineOperation.SetMsg(ResourceControl.GetString(ResourceControl.OutFull, "批量轴已满,请取出料盘"), ResourceControl.OutFull); SetOpMsgData(lineOperation,ResourceControl.GetString(ResourceControl.OutFull, "批量轴已满,请取出料盘"), ResourceControl.OutFull);
} }
} }
//WarnMsg = ""; //WarnMsg = "";
//状态 //状态
boxStatus.status = GetStoreStatus(); boxStatus.status = GetStoreStatus();
...@@ -1717,7 +1717,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1717,7 +1717,7 @@ namespace OnlineStore.DeviceLibrary
} }
lastPosId = ""; lastPosId = "";
} }
ASTemperateParam param = HumitureController.LastData; ASTemperateParam param = HumitureController.LastData;
if (param != null) if (param != null)
{ {
...@@ -1781,7 +1781,16 @@ namespace OnlineStore.DeviceLibrary ...@@ -1781,7 +1781,16 @@ namespace OnlineStore.DeviceLibrary
} }
return lineOperation; return lineOperation;
} }
private void SetOpMsgData(Operation op, string msg, string type, params string[] param)
{
op.msg = msg;
op.msgCode = type;
op.msgParam = param;
op.msgData = new Dictionary<string, string>();
op.msgData.Add("zh", ResourceControl.GetStringByLan(ResourceControl.China, type, msg, param));
op.msgData.Add("en", ResourceControl.GetStringByLan(ResourceControl.English, type, msg, param));
op.msgData.Add("jp", ResourceControl.GetStringByLan(ResourceControl.Japanese, type, msg, param));
}
public int GetStoreStatus() public int GetStoreStatus()
{ {
int status = (int)storeStatus; int status = (int)storeStatus;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!