From b82b87a847372a8c8c014e2f01ee821d971b9ae9 Mon Sep 17 00:00:00 2001 From: wangsr Date: Wed, 23 Aug 2023 16:42:37 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=B5=E6=9C=BA=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E7=8A=B6=E6=80=81=E7=9B=91=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...onicMachineryDataStateMonitor.Designer.cs} | 2 +- .../ElectronicMachineryDataStateMonitor.cs} | 4 +- .../ElectronicMachineryDataStateMonitor.resx} | 0 .../InstrumentDataStateMonitor.Designer.cs | 2 +- .../MotorInitStateMonitor.Designer.cs | 39 + .../MotorInitStateMonitor.cs | 20 + .../MotorInitStateMonitor.resx} | 0 .../ValveStateMonitor.Designer.cs | 157 ++-- .../ValveStateMonitor.cs | 7 +- .../ValveStateMonitor.resx | 0 .../ValveInitStateMonitor.Designer.cs | 881 ++++++++++++++++++ .../ValveInitStateMonitor.cs | 197 ++++ .../ValveInitStateMonitor.resx} | 0 .../ElectronicMachinery.Designer.cs | 0 .../ElectronicMachinery.cs | 0 .../ElectronicMachinery.resx} | 0 .../ElectronicMachinery_2.Designer.cs | 0 .../ElectronicMachinery_2.cs | 0 .../ElectronicMachinery_2.resx} | 0 .../ElectronicMachinery_3.Designer.cs | 0 .../ElectronicMachinery_3.cs | 0 .../ElectronicMachinery_3.resx | 120 +++ .../ValveStateControl.Designer.cs | 0 .../ValveStateControl/ValveStateControl.cs | 0 .../ValveStateControl/ValveStateControl.resx | 120 +++ .../Mesnac.Action.ChemicalWeighing.csproj | 49 +- .../Test/TestAction.cs | 3 +- 27 files changed, 1493 insertions(+), 108 deletions(-) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs => ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.Designer.cs} (99%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.cs => ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs} (98%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ElectronicMachinery/ElectronicMachinery.resx => ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.resx} (100%) create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.cs rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ElectronicMachinery/ElectronicMachinery_2.resx => MotorInitStateMonitor/MotorInitStateMonitor.resx} (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ValveStateMonitor => ValveDataStateMonitor}/ValveStateMonitor.Designer.cs (89%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ValveStateMonitor => ValveDataStateMonitor}/ValveStateMonitor.cs (98%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ValveStateMonitor => ValveDataStateMonitor}/ValveStateMonitor.resx (100%) create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.Designer.cs create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.cs rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ElectronicMachinery/ElectronicMachinery_3.resx => ValveInitStateMonitor/ValveInitStateMonitor.resx} (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ElectronicMachinery/ElectronicMachinery.Designer.cs (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ElectronicMachinery/ElectronicMachinery.cs (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.resx => x-Contorl/ElectronicMachinery/ElectronicMachinery.resx} (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ElectronicMachinery/ElectronicMachinery_2.Designer.cs (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ElectronicMachinery/ElectronicMachinery_2.cs (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ValveStateControl/ValveStateControl.resx => x-Contorl/ElectronicMachinery/ElectronicMachinery_2.resx} (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ElectronicMachinery/ElectronicMachinery_3.Designer.cs (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ElectronicMachinery/ElectronicMachinery_3.cs (100%) create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.resx rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ValveStateControl/ValveStateControl.Designer.cs (100%) rename Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/{ => x-Contorl}/ValveStateControl/ValveStateControl.cs (100%) create mode 100644 Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.Designer.cs similarity index 99% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.Designer.cs index 119f202..21d954d 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.Designer.cs @@ -1,6 +1,6 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMachinaryStateMonitor { - partial class ElectronicMachineryStateMonitor + partial class ElectronicMachineryDataStateMonitor { /// /// Required designer variable. diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs similarity index 98% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs index efd92f4..e191a20 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs @@ -11,12 +11,12 @@ using System.Windows.Forms; namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMachinaryStateMonitor { - public partial class ElectronicMachineryStateMonitor : Form + public partial class ElectronicMachineryDataStateMonitor : Form { string DmName_FOR_MOTOR = "DM1GDP01"; string DmName_FOR_MOTOR_S = "DM1GDS06"; string DmName_FOR_MOTOR_VFD = "DM1DSM01"; - public ElectronicMachineryStateMonitor() + public ElectronicMachineryDataStateMonitor() { InitializeComponent(); StateMonitor_FOR_MOTOR(DmName_FOR_MOTOR); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.resx similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery.resx rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/InstrumentDataStateMonitor/InstrumentDataStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/InstrumentDataStateMonitor/InstrumentDataStateMonitor.Designer.cs index cf1a518..46fb843 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/InstrumentDataStateMonitor/InstrumentDataStateMonitor.Designer.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/InstrumentDataStateMonitor/InstrumentDataStateMonitor.Designer.cs @@ -336,7 +336,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(454, 339); + this.ClientSize = new System.Drawing.Size(375, 339); this.Controls.Add(this.Refresh); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs new file mode 100644 index 0000000..9dd964b --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs @@ -0,0 +1,39 @@ +namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitStateMonitor +{ + partial class MotorInitStateMonitor + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "MotorInitStateMonitor"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.cs new file mode 100644 index 0000000..9fc767b --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitStateMonitor +{ + public partial class MotorInitStateMonitor : Form + { + public MotorInitStateMonitor() + { + InitializeComponent(); + } + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_2.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.resx similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_2.resx rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.Designer.cs similarity index 89% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.Designer.cs index 96badfd..1e126c8 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.Designer.cs @@ -654,68 +654,70 @@ this.DmChange_S.FormattingEnabled = true; this.DmChange_S.ItemHeight = 12; this.DmChange_S.Items.AddRange(new object[] { - "输送线C1号压送罐出料蝶阀电磁阀", - "输送线C2号压送罐出料蝶阀电磁阀", - "输送线A1号压送罐进料蝶阀电磁阀", - "输送线A1号压送罐返气蝶阀电磁阀", - "输送线A2号压送罐进料蝶阀电磁阀", - "输送线A2号压送罐返气蝶阀电磁阀", - "输送线B1号压送罐进料蝶阀电磁阀", - "输送线B1号压送罐返气蝶阀电磁阀", - "输送线B2号压送罐进料蝶阀电磁阀", - "输送线B2号压送罐返气蝶阀电磁阀", - "输送线C1号压送罐进料蝶阀电磁阀", - "输送线C1号压送罐返气蝶阀电磁阀", - "输送线C2号压送罐进料蝶阀电磁阀", - "输送线C2号压送罐返气蝶阀电磁阀", - "输送线A1号压送罐出料蝶阀电磁阀", - "输送线A2号压送罐出料蝶阀电磁阀", - "输送线B1号压送罐出料蝶阀电磁阀", - "输送线B2号压送罐出料蝶阀电磁阀", - "输送线A1号压送罐充气角座阀", - "输送线A2号压送罐充气角座阀", - "输送线A清扫角座阀", - "输送线A1号压送罐流态化角座阀", - "输送线A2号压送罐流态化角座阀", - "输送线A压送罐出料主管角座阀", - "输送线A压送罐出料辅管角座阀", - "输送线B1号压送罐充气角座阀", - "输送线B2号压送罐充气角座阀", - "输送线B清扫角座阀", - "输送线B1号压送罐流态化角座阀", - "输送线B2号压送罐流态化角座阀", - "输送线B压送罐出料主管角座阀", - "输送线B压送罐出料辅管角座阀", - "输送线C1号压送罐充气角座阀", - "输送线C2号压送罐充气角座阀", - "输送线C清扫角座阀", - "输送线C1号压送罐流态化角座阀", - "输送线C2号压送罐流态化角座阀", - "输送线C压送罐出料主管角座阀", - "输送线C压送罐出料辅管角座阀", - "输送线A辅管角座阀", - "输送线B辅管角座阀", - "输送线C辅管角座阀", - "大仓A外喷淋阀门", - "大仓B外喷淋阀门", - "大仓C外喷淋阀门", - "大仓D外喷淋阀门", - "大仓E外喷淋阀门", - "大仓F外喷淋阀门", - "大仓G外喷淋阀门", - "大仓H外喷淋阀门", - "大仓I外喷淋阀门", - "大仓J外喷淋阀门", - "大仓O外喷淋阀门", - "输送线A滚筒筛分机侧吹阀", - "输送线A滚筒筛分机振动阀", - "输送线B滚筒筛分机侧吹阀", - "输送线B滚筒筛分机振动阀", - "输送线C滚筒筛分机侧吹阀", - "输送线C滚筒筛分机振动阀", - "二级除尘器侧吹脉冲阀1", - "二级除尘器侧吹脉冲阀2", - "磨粉系统旋转阀气密封电磁阀"}); + "输送线C1号压送罐出料蝶阀电磁阀", + "输送线C2号压送罐出料蝶阀电磁阀", + "输送线A1号压送罐进料蝶阀电磁阀", + "输送线A1号压送罐返气蝶阀电磁阀", + "输送线A2号压送罐进料蝶阀电磁阀", + "输送线A2号压送罐返气蝶阀电磁阀", + "输送线B1号压送罐进料蝶阀电磁阀", + "输送线B1号压送罐返气蝶阀电磁阀", + "输送线B2号压送罐进料蝶阀电磁阀", + "输送线B2号压送罐返气蝶阀电磁阀", + "输送线C1号压送罐进料蝶阀电磁阀", + "输送线C1号压送罐返气蝶阀电磁阀", + "输送线C2号压送罐进料蝶阀电磁阀", + "输送线C2号压送罐返气蝶阀电磁阀", + "输送线A1号压送罐出料蝶阀电磁阀", + "输送线A2号压送罐出料蝶阀电磁阀", + "输送线B1号压送罐出料蝶阀电磁阀", + "输送线B2号压送罐出料蝶阀电磁阀", + "输送线A1号压送罐充气角座阀", + "输送线A2号压送罐充气角座阀", + "输送线A清扫角座阀", + "输送线A1号压送罐流态化角座阀", + "输送线A2号压送罐流态化角座阀", + "输送线A压送罐出料主管角座阀", + "输送线A压送罐出料辅管角座阀", + "输送线B1号压送罐充气角座阀", + "输送线B2号压送罐充气角座阀", + "输送线B清扫角座阀", + "输送线B1号压送罐流态化角座阀", + "输送线B2号压送罐流态化角座阀", + "输送线B压送罐出料主管角座阀", + "输送线B压送罐出料辅管角座阀", + "输送线C1号压送罐充气角座阀", + "输送线C2号压送罐充气角座阀", + "输送线C清扫角座阀", + "输送线C1号压送罐流态化角座阀", + "输送线C2号压送罐流态化角座阀", + "输送线C压送罐出料主管角座阀", + "输送线C压送罐出料辅管角座阀", + "输送线A辅管角座阀", + "输送线B辅管角座阀", + "输送线C辅管角座阀", + "大仓A外喷淋阀门", + "大仓B外喷淋阀门", + "大仓C外喷淋阀门", + "大仓D外喷淋阀门", + "大仓E外喷淋阀门", + "大仓F外喷淋阀门", + "大仓G外喷淋阀门", + "大仓H外喷淋阀门", + "大仓I外喷淋阀门", + "大仓J外喷淋阀门", + "大仓O外喷淋阀门", + "输送线A滚筒筛分机侧吹阀", + "输送线A滚筒筛分机振动阀", + "输送线B滚筒筛分机侧吹阀", + "输送线B滚筒筛分机振动阀", + "输送线C滚筒筛分机侧吹阀", + "输送线C滚筒筛分机振动阀", + "二级除尘器侧吹脉冲阀1", + "二级除尘器侧吹脉冲阀2", + "磨粉系统旋转阀气密封电磁阀" + + }); this.DmChange_S.Location = new System.Drawing.Point(12, 191); this.DmChange_S.Name = "DmChange_S"; this.DmChange_S.Size = new System.Drawing.Size(208, 172); @@ -727,21 +729,22 @@ this.DmChange_D.FormattingEnabled = true; this.DmChange_D.ItemHeight = 12; this.DmChange_D.Items.AddRange(new object[] { - "分配阀1直通电磁阀", - "分配阀2直通电磁阀", - "分配阀3直通电磁阀", - "分配阀4直通电磁阀", - "分配阀5直通电磁阀", - "分配阀6直通电磁阀", - "分配阀7直通电磁阀", - "分配阀8直通电磁阀", - "分配阀9直通电磁阀", - "分配阀10直通电磁阀", - "分配阀11直通电磁阀", - "分配阀12直通电磁阀", - "分配阀13直通电磁阀", - "分配阀14直通电磁阀", - "分配阀15直通电磁阀"}); + "分配阀1直通电磁阀", + "分配阀2直通电磁阀", + "分配阀3直通电磁阀", + "分配阀4直通电磁阀", + "分配阀5直通电磁阀", + "分配阀6直通电磁阀", + "分配阀7直通电磁阀", + "分配阀8直通电磁阀", + "分配阀9直通电磁阀", + "分配阀10直通电磁阀", + "分配阀11直通电磁阀", + "分配阀12直通电磁阀", + "分配阀13直通电磁阀", + "分配阀14直通电磁阀", + "分配阀15直通电磁阀" + }); this.DmChange_D.Location = new System.Drawing.Point(226, 227); this.DmChange_D.Name = "DmChange_D"; this.DmChange_D.Size = new System.Drawing.Size(157, 136); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.cs similarity index 98% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.cs index acf8ead..0794731 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.cs @@ -23,14 +23,9 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateMoni public ValveStateMonitor() { InitializeComponent(); - } - - - private void ValueTimer_Tick(object sender, EventArgs e) - { StateMonitor_D(DmName_D); StateMonitor_S(DmName_S); - } + } private void DmChange_S_SelectedIndexChanged(object sender, EventArgs e) { diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.resx similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.resx rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveDataStateMonitor/ValveStateMonitor.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.Designer.cs new file mode 100644 index 0000000..b648a64 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.Designer.cs @@ -0,0 +1,881 @@ +namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.NewFolder1 +{ + partial class ValveInitStateMonitor + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.Refresh = new System.Windows.Forms.Button(); + this.DmChange_D = new System.Windows.Forms.ListBox(); + this.DmChange_S = new System.Windows.Forms.ListBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.label23 = new System.Windows.Forms.Label(); + this.label24 = new System.Windows.Forms.Label(); + this.label25 = new System.Windows.Forms.Label(); + this.label26 = new System.Windows.Forms.Label(); + this.label27 = new System.Windows.Forms.Label(); + this.Alarm_D = new System.Windows.Forms.Label(); + this.AlarmPosition_D = new System.Windows.Forms.Label(); + this.AlarmRightPosition_D = new System.Windows.Forms.Label(); + this.AlarmLeftPosition_D = new System.Windows.Forms.Label(); + this.SetRight_D = new System.Windows.Forms.Label(); + this.SetLeft_D = new System.Windows.Forms.Label(); + this.RightPosition_D = new System.Windows.Forms.Label(); + this.LeftPosition_D = new System.Windows.Forms.Label(); + this.AlarmReset_D = new System.Windows.Forms.Label(); + this.SetRightAuto_D = new System.Windows.Forms.Label(); + this.SetLeftAuto_D = new System.Windows.Forms.Label(); + this.SetRightManual_D = new System.Windows.Forms.Label(); + this.SetLeftManual_D = new System.Windows.Forms.Label(); + this.ManualMode_D = new System.Windows.Forms.Label(); + this.AutoMode_D = new System.Windows.Forms.Label(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label29 = new System.Windows.Forms.Label(); + this.P_S = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.AlarmPosition_S = new System.Windows.Forms.Label(); + this.Alarm_S = new System.Windows.Forms.Label(); + this.AlarmUnSetPos_S = new System.Windows.Forms.Label(); + this.AlarmSetPos_S = new System.Windows.Forms.Label(); + this.Set_S = new System.Windows.Forms.Label(); + this.UnSetPosition_S = new System.Windows.Forms.Label(); + this.SetPosition_S = new System.Windows.Forms.Label(); + this.AlarmReset_S = new System.Windows.Forms.Label(); + this.SetAuto_S = new System.Windows.Forms.Label(); + this.SetManual_S = new System.Windows.Forms.Label(); + this.ManualMode_S = new System.Windows.Forms.Label(); + this.AutoMode_S = new System.Windows.Forms.Label(); + this.groupBox2.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.SuspendLayout(); + // + // Refresh + // + this.Refresh.Location = new System.Drawing.Point(110, 375); + this.Refresh.Name = "Refresh"; + this.Refresh.Size = new System.Drawing.Size(164, 33); + this.Refresh.TabIndex = 9; + this.Refresh.Text = "刷新"; + this.Refresh.UseVisualStyleBackColor = true; + this.Refresh.Click += new System.EventHandler(this.Refresh_Click); + // + // DmChange_D + // + this.DmChange_D.FormattingEnabled = true; + this.DmChange_D.ItemHeight = 12; + this.DmChange_D.Items.AddRange(new object[] { + "二级气力输送管道分配阀1", + "二级气力输送管道分配阀2", + "二级气力输送管道分配阀3", + "二级气力动送管道分配阀4", + "二级气力输送管道分配阀5", + "二级气力输送管道分配阀6", + "二级气力动送管道分配阀7", + "二级气力输送管道分配阀8", + "二级气力输送管道分配阀9", + "二级气力动送管道分配阀10", + "二级气力输送管道分配阀11", + "二级气力输送管道分配阀12", + "二级气力动送管道分配阀13", + "二级气力输送管道分配阀14"}); + this.DmChange_D.Location = new System.Drawing.Point(227, 221); + this.DmChange_D.Name = "DmChange_D"; + this.DmChange_D.Size = new System.Drawing.Size(207, 148); + this.DmChange_D.TabIndex = 8; + this.DmChange_D.SelectedIndexChanged += new System.EventHandler(this.DmChange_D_SelectedIndexChanged); + // + // DmChange_S + // + this.DmChange_S.FormattingEnabled = true; + this.DmChange_S.ItemHeight = 12; + this.DmChange_S.Items.AddRange(new object[] { + "螺旋输送机1A出料蝶阀", + "螺旋输送机1B出料蝶阀", + "螺旋输送机1C出料蝶阀", + "螺旋输送机1D出料蝶阀", + "螺旋输送机1E出料蝶阀", + "螺旋输送机1F出料蝶阀", + "螺旋输送机1G出料蝶阀", + "螺旋输送机1H出料蝶阀", + "螺旋输送机1I出料蝶阀", + "螺旋输送机1J出料蝶阀", + "螺旋输送机1K出料蝶阀", + "螺旋输送机1L出料蝶阀", + "螺旋输送机1M出料蝶阀", + "螺旋输送机1N出料蝶阀", + "螺旋输送机1O出料蝶阀", + "压送秤A进料蝶阀", + "压送秤A进料蝶阀", + "压送秤A进料蝶阀", + "压送秤A进料蝶阀", + "压送秤A返气蝶阀", + "压送秤A出料蝶阀", + "压送秤A除尘出料蝶阀", + "压送秤B进料蝶阀", + "压送秤B进料蝶阀", + "压送秤B返气蝶阀", + "压送秤B出料蝶阀", + "压送秤B除尘出料蝶阀", + "压送秤C进料蝶阀", + "压送秤C进料蝶阀", + "压送秤C进料蝶阀", + "压送秤C进料蝶阀", + "压送秤C返气蝶阀", + "压送秤C出料蝶阀", + "压送秤C除尘出料蝶阀", + "压送秤D进料蝶阀", + "压送秤D进料蝶阀", + "压送秤D进料蝶阀", + "压送秤D进料蝶阀", + "压送秤D返气蝶阀", + "压送秤D出料蝶阀", + "压送秤D除尘出料蝶阀", + "压送秤E进料蝶阀", + "压送秤E返气蝶阀", + "压送秤E出料蝶阀", + "压送秤E除尘出料蝶阀", + "双向螺旋输送机2A出料蝶阀", + "双向螺旋输送机2A出料蝶阀", + "双向螺旋输送机2B出料蝶阀", + "双向螺旋输送机2B出料蝶阀", + "双向螺旋输送机2C出料蝶阀", + "双向螺旋输送机2C出料蝶阀", + "双向螺旋输送机2D出料蝶阀", + "双向螺旋输送机2D出料蝶阀", + "缓存仓1A出料蝶阀", + "缓存仓1B出料蝶阀", + "缓存仓1C出料蝶阀", + "缓存仓1D出料蝶阀", + "缓存仓1E出料蝶阀", + "缓存仓1F出料蝶阀", + "缓存仓1G出料蝶阀", + "缓存仓1H出料蝶阀", + "缓存仓1I出料蝶阀", + "缓存仓1J出料蝶阀", + "缓存仓1K出料蝶阀", + "缓存仓1L出料蝶阀", + "干混机卸料阀", + "干混机卸料阀", + "干混机卸料阀", + "干混机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀", + "糊化机卸料阀"}); + this.DmChange_S.Location = new System.Drawing.Point(12, 197); + this.DmChange_S.Name = "DmChange_S"; + this.DmChange_S.Size = new System.Drawing.Size(208, 172); + this.DmChange_S.TabIndex = 7; + this.DmChange_S.SelectedIndexChanged += new System.EventHandler(this.DmChange_S_SelectedIndexChanged); + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.label13); + this.groupBox2.Controls.Add(this.label14); + this.groupBox2.Controls.Add(this.label15); + this.groupBox2.Controls.Add(this.label16); + this.groupBox2.Controls.Add(this.label17); + this.groupBox2.Controls.Add(this.label18); + this.groupBox2.Controls.Add(this.label19); + this.groupBox2.Controls.Add(this.label20); + this.groupBox2.Controls.Add(this.label21); + this.groupBox2.Controls.Add(this.label22); + this.groupBox2.Controls.Add(this.label23); + this.groupBox2.Controls.Add(this.label24); + this.groupBox2.Controls.Add(this.label25); + this.groupBox2.Controls.Add(this.label26); + this.groupBox2.Controls.Add(this.label27); + this.groupBox2.Controls.Add(this.Alarm_D); + this.groupBox2.Controls.Add(this.AlarmPosition_D); + this.groupBox2.Controls.Add(this.AlarmRightPosition_D); + this.groupBox2.Controls.Add(this.AlarmLeftPosition_D); + this.groupBox2.Controls.Add(this.SetRight_D); + this.groupBox2.Controls.Add(this.SetLeft_D); + this.groupBox2.Controls.Add(this.RightPosition_D); + this.groupBox2.Controls.Add(this.LeftPosition_D); + this.groupBox2.Controls.Add(this.AlarmReset_D); + this.groupBox2.Controls.Add(this.SetRightAuto_D); + this.groupBox2.Controls.Add(this.SetLeftAuto_D); + this.groupBox2.Controls.Add(this.SetRightManual_D); + this.groupBox2.Controls.Add(this.SetLeftManual_D); + this.groupBox2.Controls.Add(this.ManualMode_D); + this.groupBox2.Controls.Add(this.AutoMode_D); + this.groupBox2.Location = new System.Drawing.Point(227, 13); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(207, 202); + this.groupBox2.TabIndex = 6; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "FOR_VALVE_Double"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(23, 185); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(53, 12); + this.label13.TabIndex = 44; + this.label13.Text = "故障指示"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(23, 173); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(77, 12); + this.label14.TabIndex = 43; + this.label14.Text = "反馈位置故障"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(23, 161); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(95, 12); + this.label15.TabIndex = 42; + this.label15.Text = "右位置故障-斜通"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(23, 149); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(95, 12); + this.label16.TabIndex = 41; + this.label16.Text = "左位置故障-直通"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(23, 137); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(119, 12); + this.label17.TabIndex = 40; + this.label17.Text = "右启动输出指令-斜通"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(23, 125); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(119, 12); + this.label18.TabIndex = 39; + this.label18.Text = "左启动输出指令-直通"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(23, 113); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(95, 12); + this.label19.TabIndex = 38; + this.label19.Text = "右位置反馈-斜通"; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(23, 101); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(95, 12); + this.label20.TabIndex = 37; + this.label20.Text = "左位置反馈-直通"; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(23, 89); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(53, 12); + this.label21.TabIndex = 36; + this.label21.Text = "报警复位"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(23, 77); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(119, 12); + this.label22.TabIndex = 35; + this.label22.Text = "自动右启动指令-斜通"; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(23, 65); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(119, 12); + this.label23.TabIndex = 34; + this.label23.Text = "自动左启动指令-直通"; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(23, 53); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(119, 12); + this.label24.TabIndex = 33; + this.label24.Text = "手动右启动指令-斜通"; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(23, 41); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(119, 12); + this.label25.TabIndex = 32; + this.label25.Text = "手动左启动指令-直通"; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Location = new System.Drawing.Point(23, 17); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(53, 12); + this.label26.TabIndex = 30; + this.label26.Text = "手动模式"; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Location = new System.Drawing.Point(23, 29); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(53, 12); + this.label27.TabIndex = 31; + this.label27.Text = "自动模式"; + // + // Alarm_D + // + this.Alarm_D.AutoSize = true; + this.Alarm_D.Location = new System.Drawing.Point(6, 185); + this.Alarm_D.Name = "Alarm_D"; + this.Alarm_D.Size = new System.Drawing.Size(11, 12); + this.Alarm_D.TabIndex = 29; + this.Alarm_D.Text = "0"; + // + // AlarmPosition_D + // + this.AlarmPosition_D.AutoSize = true; + this.AlarmPosition_D.Location = new System.Drawing.Point(6, 173); + this.AlarmPosition_D.Name = "AlarmPosition_D"; + this.AlarmPosition_D.Size = new System.Drawing.Size(11, 12); + this.AlarmPosition_D.TabIndex = 28; + this.AlarmPosition_D.Text = "0"; + // + // AlarmRightPosition_D + // + this.AlarmRightPosition_D.AutoSize = true; + this.AlarmRightPosition_D.Location = new System.Drawing.Point(6, 161); + this.AlarmRightPosition_D.Name = "AlarmRightPosition_D"; + this.AlarmRightPosition_D.Size = new System.Drawing.Size(11, 12); + this.AlarmRightPosition_D.TabIndex = 27; + this.AlarmRightPosition_D.Text = "0"; + // + // AlarmLeftPosition_D + // + this.AlarmLeftPosition_D.AutoSize = true; + this.AlarmLeftPosition_D.Location = new System.Drawing.Point(6, 149); + this.AlarmLeftPosition_D.Name = "AlarmLeftPosition_D"; + this.AlarmLeftPosition_D.Size = new System.Drawing.Size(11, 12); + this.AlarmLeftPosition_D.TabIndex = 26; + this.AlarmLeftPosition_D.Text = "0"; + // + // SetRight_D + // + this.SetRight_D.AutoSize = true; + this.SetRight_D.Location = new System.Drawing.Point(6, 137); + this.SetRight_D.Name = "SetRight_D"; + this.SetRight_D.Size = new System.Drawing.Size(11, 12); + this.SetRight_D.TabIndex = 25; + this.SetRight_D.Text = "0"; + // + // SetLeft_D + // + this.SetLeft_D.AutoSize = true; + this.SetLeft_D.Location = new System.Drawing.Point(6, 125); + this.SetLeft_D.Name = "SetLeft_D"; + this.SetLeft_D.Size = new System.Drawing.Size(11, 12); + this.SetLeft_D.TabIndex = 24; + this.SetLeft_D.Text = "0"; + // + // RightPosition_D + // + this.RightPosition_D.AutoSize = true; + this.RightPosition_D.Location = new System.Drawing.Point(6, 113); + this.RightPosition_D.Name = "RightPosition_D"; + this.RightPosition_D.Size = new System.Drawing.Size(11, 12); + this.RightPosition_D.TabIndex = 23; + this.RightPosition_D.Text = "0"; + // + // LeftPosition_D + // + this.LeftPosition_D.AutoSize = true; + this.LeftPosition_D.Location = new System.Drawing.Point(6, 101); + this.LeftPosition_D.Name = "LeftPosition_D"; + this.LeftPosition_D.Size = new System.Drawing.Size(11, 12); + this.LeftPosition_D.TabIndex = 22; + this.LeftPosition_D.Text = "0"; + // + // AlarmReset_D + // + this.AlarmReset_D.AutoSize = true; + this.AlarmReset_D.Location = new System.Drawing.Point(6, 89); + this.AlarmReset_D.Name = "AlarmReset_D"; + this.AlarmReset_D.Size = new System.Drawing.Size(11, 12); + this.AlarmReset_D.TabIndex = 21; + this.AlarmReset_D.Text = "0"; + // + // SetRightAuto_D + // + this.SetRightAuto_D.AutoSize = true; + this.SetRightAuto_D.Location = new System.Drawing.Point(6, 77); + this.SetRightAuto_D.Name = "SetRightAuto_D"; + this.SetRightAuto_D.Size = new System.Drawing.Size(11, 12); + this.SetRightAuto_D.TabIndex = 20; + this.SetRightAuto_D.Text = "0"; + // + // SetLeftAuto_D + // + this.SetLeftAuto_D.AutoSize = true; + this.SetLeftAuto_D.Location = new System.Drawing.Point(6, 65); + this.SetLeftAuto_D.Name = "SetLeftAuto_D"; + this.SetLeftAuto_D.Size = new System.Drawing.Size(11, 12); + this.SetLeftAuto_D.TabIndex = 19; + this.SetLeftAuto_D.Text = "0"; + // + // SetRightManual_D + // + this.SetRightManual_D.AutoSize = true; + this.SetRightManual_D.Location = new System.Drawing.Point(6, 53); + this.SetRightManual_D.Name = "SetRightManual_D"; + this.SetRightManual_D.Size = new System.Drawing.Size(11, 12); + this.SetRightManual_D.TabIndex = 18; + this.SetRightManual_D.Text = "0"; + // + // SetLeftManual_D + // + this.SetLeftManual_D.AutoSize = true; + this.SetLeftManual_D.Location = new System.Drawing.Point(6, 41); + this.SetLeftManual_D.Name = "SetLeftManual_D"; + this.SetLeftManual_D.Size = new System.Drawing.Size(11, 12); + this.SetLeftManual_D.TabIndex = 17; + this.SetLeftManual_D.Text = "0"; + // + // ManualMode_D + // + this.ManualMode_D.AutoSize = true; + this.ManualMode_D.Location = new System.Drawing.Point(6, 17); + this.ManualMode_D.Name = "ManualMode_D"; + this.ManualMode_D.Size = new System.Drawing.Size(11, 12); + this.ManualMode_D.TabIndex = 15; + this.ManualMode_D.Text = "0"; + // + // AutoMode_D + // + this.AutoMode_D.AutoSize = true; + this.AutoMode_D.Location = new System.Drawing.Point(6, 29); + this.AutoMode_D.Name = "AutoMode_D"; + this.AutoMode_D.Size = new System.Drawing.Size(11, 12); + this.AutoMode_D.TabIndex = 16; + this.AutoMode_D.Text = "0"; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.label29); + this.groupBox1.Controls.Add(this.P_S); + this.groupBox1.Controls.Add(this.label12); + this.groupBox1.Controls.Add(this.label11); + this.groupBox1.Controls.Add(this.label10); + this.groupBox1.Controls.Add(this.label9); + this.groupBox1.Controls.Add(this.label8); + this.groupBox1.Controls.Add(this.label7); + this.groupBox1.Controls.Add(this.label6); + this.groupBox1.Controls.Add(this.label5); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.AlarmPosition_S); + this.groupBox1.Controls.Add(this.Alarm_S); + this.groupBox1.Controls.Add(this.AlarmUnSetPos_S); + this.groupBox1.Controls.Add(this.AlarmSetPos_S); + this.groupBox1.Controls.Add(this.Set_S); + this.groupBox1.Controls.Add(this.UnSetPosition_S); + this.groupBox1.Controls.Add(this.SetPosition_S); + this.groupBox1.Controls.Add(this.AlarmReset_S); + this.groupBox1.Controls.Add(this.SetAuto_S); + this.groupBox1.Controls.Add(this.SetManual_S); + this.groupBox1.Controls.Add(this.ManualMode_S); + this.groupBox1.Controls.Add(this.AutoMode_S); + this.groupBox1.Location = new System.Drawing.Point(13, 13); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(208, 178); + this.groupBox1.TabIndex = 5; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "FOR_VALVE_Single"; + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Location = new System.Drawing.Point(23, 161); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(53, 12); + this.label29.TabIndex = 25; + this.label29.Text = "状态标识"; + // + // P_S + // + this.P_S.AutoSize = true; + this.P_S.Location = new System.Drawing.Point(6, 161); + this.P_S.Name = "P_S"; + this.P_S.Size = new System.Drawing.Size(11, 12); + this.P_S.TabIndex = 24; + this.P_S.Text = "0"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(23, 149); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(53, 12); + this.label12.TabIndex = 23; + this.label12.Text = "故障指示"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(23, 137); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(77, 12); + this.label11.TabIndex = 22; + this.label11.Text = "反馈位置故障"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(23, 125); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(125, 12); + this.label10.TabIndex = 21; + this.label10.Text = "非输出指令时位置故障"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(23, 113); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(113, 12); + this.label9.TabIndex = 20; + this.label9.Text = "输出指令时位置故障"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(23, 101); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(53, 12); + this.label8.TabIndex = 19; + this.label8.Text = "输出指令"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(23, 89); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(89, 12); + this.label7.TabIndex = 18; + this.label7.Text = "非输出位置反馈"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(23, 77); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(77, 12); + this.label6.TabIndex = 17; + this.label6.Text = "输出位置反馈"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(23, 41); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(53, 12); + this.label5.TabIndex = 16; + this.label5.Text = "报警复位"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(23, 17); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 2; + this.label1.Text = "手动模式"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(23, 29); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(53, 12); + this.label2.TabIndex = 3; + this.label2.Text = "自动模式"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(23, 53); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(77, 12); + this.label3.TabIndex = 4; + this.label3.Text = "手动启动指令"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(23, 65); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(77, 12); + this.label4.TabIndex = 15; + this.label4.Text = "自动启动指令"; + // + // AlarmPosition_S + // + this.AlarmPosition_S.AutoSize = true; + this.AlarmPosition_S.Location = new System.Drawing.Point(6, 137); + this.AlarmPosition_S.Name = "AlarmPosition_S"; + this.AlarmPosition_S.Size = new System.Drawing.Size(11, 12); + this.AlarmPosition_S.TabIndex = 14; + this.AlarmPosition_S.Text = "0"; + // + // Alarm_S + // + this.Alarm_S.AutoSize = true; + this.Alarm_S.Location = new System.Drawing.Point(6, 149); + this.Alarm_S.Name = "Alarm_S"; + this.Alarm_S.Size = new System.Drawing.Size(11, 12); + this.Alarm_S.TabIndex = 13; + this.Alarm_S.Text = "0"; + // + // AlarmUnSetPos_S + // + this.AlarmUnSetPos_S.AutoSize = true; + this.AlarmUnSetPos_S.Location = new System.Drawing.Point(6, 125); + this.AlarmUnSetPos_S.Name = "AlarmUnSetPos_S"; + this.AlarmUnSetPos_S.Size = new System.Drawing.Size(11, 12); + this.AlarmUnSetPos_S.TabIndex = 12; + this.AlarmUnSetPos_S.Text = "0"; + // + // AlarmSetPos_S + // + this.AlarmSetPos_S.AutoSize = true; + this.AlarmSetPos_S.Location = new System.Drawing.Point(6, 113); + this.AlarmSetPos_S.Name = "AlarmSetPos_S"; + this.AlarmSetPos_S.Size = new System.Drawing.Size(11, 12); + this.AlarmSetPos_S.TabIndex = 11; + this.AlarmSetPos_S.Text = "0"; + // + // Set_S + // + this.Set_S.AutoSize = true; + this.Set_S.Location = new System.Drawing.Point(6, 101); + this.Set_S.Name = "Set_S"; + this.Set_S.Size = new System.Drawing.Size(11, 12); + this.Set_S.TabIndex = 10; + this.Set_S.Text = "0"; + // + // UnSetPosition_S + // + this.UnSetPosition_S.AutoSize = true; + this.UnSetPosition_S.Location = new System.Drawing.Point(6, 89); + this.UnSetPosition_S.Name = "UnSetPosition_S"; + this.UnSetPosition_S.Size = new System.Drawing.Size(11, 12); + this.UnSetPosition_S.TabIndex = 8; + this.UnSetPosition_S.Text = "0"; + // + // SetPosition_S + // + this.SetPosition_S.AutoSize = true; + this.SetPosition_S.Location = new System.Drawing.Point(6, 77); + this.SetPosition_S.Name = "SetPosition_S"; + this.SetPosition_S.Size = new System.Drawing.Size(11, 12); + this.SetPosition_S.TabIndex = 7; + this.SetPosition_S.Text = "0"; + // + // AlarmReset_S + // + this.AlarmReset_S.AutoSize = true; + this.AlarmReset_S.Location = new System.Drawing.Point(6, 41); + this.AlarmReset_S.Name = "AlarmReset_S"; + this.AlarmReset_S.Size = new System.Drawing.Size(11, 12); + this.AlarmReset_S.TabIndex = 6; + this.AlarmReset_S.Text = "0"; + // + // SetAuto_S + // + this.SetAuto_S.AutoSize = true; + this.SetAuto_S.Location = new System.Drawing.Point(6, 65); + this.SetAuto_S.Name = "SetAuto_S"; + this.SetAuto_S.Size = new System.Drawing.Size(11, 12); + this.SetAuto_S.TabIndex = 5; + this.SetAuto_S.Text = "0"; + // + // SetManual_S + // + this.SetManual_S.AutoSize = true; + this.SetManual_S.Location = new System.Drawing.Point(6, 53); + this.SetManual_S.Name = "SetManual_S"; + this.SetManual_S.Size = new System.Drawing.Size(11, 12); + this.SetManual_S.TabIndex = 4; + this.SetManual_S.Text = "0"; + // + // ManualMode_S + // + this.ManualMode_S.AutoSize = true; + this.ManualMode_S.Location = new System.Drawing.Point(6, 17); + this.ManualMode_S.Name = "ManualMode_S"; + this.ManualMode_S.Size = new System.Drawing.Size(11, 12); + this.ManualMode_S.TabIndex = 2; + this.ManualMode_S.Text = "0"; + // + // AutoMode_S + // + this.AutoMode_S.AutoSize = true; + this.AutoMode_S.Location = new System.Drawing.Point(6, 29); + this.AutoMode_S.Name = "AutoMode_S"; + this.AutoMode_S.Size = new System.Drawing.Size(11, 12); + this.AutoMode_S.TabIndex = 3; + this.AutoMode_S.Text = "0"; + // + // ValveInitStateMonitor + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(444, 420); + this.Controls.Add(this.Refresh); + this.Controls.Add(this.DmChange_D); + this.Controls.Add(this.DmChange_S); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Name = "ValveInitStateMonitor"; + this.Text = "ValveInitStateSonitor"; + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button Refresh; + private System.Windows.Forms.ListBox DmChange_D; + private System.Windows.Forms.ListBox DmChange_S; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.Label Alarm_D; + private System.Windows.Forms.Label AlarmPosition_D; + private System.Windows.Forms.Label AlarmRightPosition_D; + private System.Windows.Forms.Label AlarmLeftPosition_D; + private System.Windows.Forms.Label SetRight_D; + private System.Windows.Forms.Label SetLeft_D; + private System.Windows.Forms.Label RightPosition_D; + private System.Windows.Forms.Label LeftPosition_D; + private System.Windows.Forms.Label AlarmReset_D; + private System.Windows.Forms.Label SetRightAuto_D; + private System.Windows.Forms.Label SetLeftAuto_D; + private System.Windows.Forms.Label SetRightManual_D; + private System.Windows.Forms.Label SetLeftManual_D; + private System.Windows.Forms.Label ManualMode_D; + private System.Windows.Forms.Label AutoMode_D; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label AlarmPosition_S; + private System.Windows.Forms.Label Alarm_S; + private System.Windows.Forms.Label AlarmUnSetPos_S; + private System.Windows.Forms.Label AlarmSetPos_S; + private System.Windows.Forms.Label Set_S; + private System.Windows.Forms.Label UnSetPosition_S; + private System.Windows.Forms.Label SetPosition_S; + private System.Windows.Forms.Label AlarmReset_S; + private System.Windows.Forms.Label SetAuto_S; + private System.Windows.Forms.Label SetManual_S; + private System.Windows.Forms.Label ManualMode_S; + private System.Windows.Forms.Label AutoMode_S; + private System.Windows.Forms.Label P_S; + private System.Windows.Forms.Label label29; + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.cs new file mode 100644 index 0000000..449a7db --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.cs @@ -0,0 +1,197 @@ +using Mesnac.Action.ChemicalWeighing.Entity; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.NewFolder1 +{ + public partial class ValveInitStateMonitor : Form + { + string DmName_S = "BU1ASF01"; + string DmName_D = "DV2PCP01"; + + public ValveInitStateMonitor() + { + InitializeComponent(); + StateMonitor_D(DmName_D); + StateMonitor_S(DmName_S); + } + + private void DmChange_S_SelectedIndexChanged(object sender, EventArgs e) + { + DmName_S = dmNameValue[DmChange_S.Text]; + StateMonitor_S(DmName_S); + } + + private void StateMonitor_S(string dmName) + { + ManualMode_S.Text = GetDataToString(dmName, "_ManualMode"); + AutoMode_S.Text = GetDataToString(dmName, "_AutoMode"); + AlarmReset_S.Text = GetDataToString(dmName, "_AlarmReset"); + SetManual_S.Text = GetDataToString(dmName, "_SetManual"); + SetAuto_S.Text = GetDataToString(dmName, "_SetAuto"); + SetPosition_S.Text = GetDataToString(dmName, "_SetPosition"); + UnSetPosition_S.Text = GetDataToString(dmName, "_UnSetPosition"); + Set_S.Text = GetDataToString(dmName, "_Set"); + AlarmSetPos_S.Text = GetDataToString(dmName, "_AlarmSetPos"); + AlarmUnSetPos_S.Text = GetDataToString(dmName, "_AlarmUnSetPos"); + AlarmPosition_S.Text = GetDataToString(dmName, "_AlarmPosition"); + Alarm_S.Text = GetDataToString(dmName, "_Alarm"); + P_S.Text = GetDataToString(dmName, "_P"); + } + + private void DmChange_D_SelectedIndexChanged(object sender, EventArgs e) + { + DmName_D = dmNameValue[DmChange_D.Text]; + StateMonitor_D(DmName_D); + } + + private void StateMonitor_D(string dmName) + { + ManualMode_D.Text = GetDataToString(dmName, "_ManualMode"); + AutoMode_D.Text = GetDataToString(dmName, "_AutoMode"); + SetLeftManual_D.Text = GetDataToString(dmName, "_SetLeftManual"); + SetRightManual_D.Text = GetDataToString(dmName, "_SetRightManual"); + SetLeftAuto_D.Text = GetDataToString(dmName, "_SetLeftAuto"); + SetRightAuto_D.Text = GetDataToString(dmName, "_SetRightAuto"); + AlarmReset_D.Text = GetDataToString(dmName, "_AlarmReset"); + LeftPosition_D.Text = GetDataToString(dmName, "_LeftPosition"); + RightPosition_D.Text = GetDataToString(dmName, "_RightPosition"); + SetLeft_D.Text = GetDataToString(dmName, "_SetLeft"); + SetRight_D.Text = GetDataToString(dmName, "_SetRight"); + AlarmLeftPosition_D.Text = GetDataToString(dmName, "_AlarmLeftPosition"); + AlarmRightPosition_D.Text = GetDataToString(dmName, "_AlarmRightPosition"); + AlarmPosition_D.Text = GetDataToString(dmName, "_AlarmPosition"); + Alarm_D.Text = GetDataToString(dmName, "_Alarm"); + + } + + private void Refresh_Click(object sender, EventArgs e) + { + StateMonitor_D(DmName_D); + StateMonitor_S(DmName_S); + } + + /// + /// 根据属性名和现在选择的数据块名得到PLC数据块的具体引用 + /// + /// 数据块属性名 + /// + private DataKeyValue GetDataNameValue(string dmName, string dmValue) + { + return new DataKeyValue(dmName + dmValue); + } + + /// + /// 从PLC中读取值 + /// + /// 要读取的属性 + /// + private string GetDataToString(string dmName, string dmValue) + { + return GetDataNameValue(dmName, dmValue).NowValue.ToString(); + } + + private IDictionary dmNameValue = new Dictionary() + { + ["螺旋输送机1A出料蝶阀"] = "BU1ASF01", + ["螺旋输送机1B出料蝶阀"] = "BU1BSF01", + ["螺旋输送机1C出料蝶阀"] = "BU1CSF01", + ["螺旋输送机1D出料蝶阀"] = "BU1DSF01", + ["螺旋输送机1E出料蝶阀"] = "BU1ESF01", + ["螺旋输送机1F出料蝶阀"] = "BU1FSF01", + ["螺旋输送机1G出料蝶阀"] = "BU1GSF01", + ["螺旋输送机1H出料蝶阀"] = "BU1HSF01", + ["螺旋输送机1I出料蝶阀"] = "BU1ISF01", + ["螺旋输送机1J出料蝶阀"] = "BU1JSF01", + ["螺旋输送机1K出料蝶阀"] = "BU1KSF01", + ["螺旋输送机1L出料蝶阀"] = "BU1LSF01", + ["螺旋输送机1M出料蝶阀"] = "BU1MSF01", + ["螺旋输送机1N出料蝶阀"] = "BU1NSF01", + ["螺旋输送机1O出料蝶阀"] = "BU1OSF01", + ["压送秤A进料蝶阀"] = "BU1BLT01", + ["压送秤A进料蝶阀"] = "BU1BLT02", + ["压送秤A进料蝶阀"] = "BU1BLT03", + ["压送秤A进料蝶阀"] = "BU1BLT04", + ["压送秤A返气蝶阀"] = "BU1BLT05", + ["压送秤A出料蝶阀"] = "BU1BLT06", + ["压送秤A除尘出料蝶阀"] = "BU1BLT07", + ["压送秤B进料蝶阀"] = "BU2BLT01", + ["压送秤B进料蝶阀"] = "BU2BLT02", + ["压送秤B返气蝶阀"] = "BU2BLT03", + ["压送秤B出料蝶阀"] = "BU2BLT04", + ["压送秤B除尘出料蝶阀"] = "BU2BLT05", + ["压送秤C进料蝶阀"] = "BU3BLT01", + ["压送秤C进料蝶阀"] = "BU3BLT02", + ["压送秤C进料蝶阀"] = "BU3BLT03", + ["压送秤C进料蝶阀"] = "BU3BLT04", + ["压送秤C返气蝶阀"] = "BU3BLT05", + ["压送秤C出料蝶阀"] = "BU3BLT06", + ["压送秤C除尘出料蝶阀"] = "BU3BLT07", + ["压送秤D进料蝶阀"] = "BU4BLT01", + ["压送秤D进料蝶阀"] = "BU4BLT02", + ["压送秤D进料蝶阀"] = "BU4BLT03", + ["压送秤D进料蝶阀"] = "BU4BLT04", + ["压送秤D返气蝶阀"] = "BU4BLT05", + ["压送秤D出料蝶阀"] = "BU4BLT06", + ["压送秤D除尘出料蝶阀"] = "BU4BLT07", + ["压送秤E进料蝶阀"] = "BU5BLT01", + ["压送秤E返气蝶阀"] = "BU5BLT02", + ["压送秤E出料蝶阀"] = "BU5BLT03", + ["压送秤E除尘出料蝶阀"] = "BU5BLT04", + ["双向螺旋输送机2A出料蝶阀"] = "BU2ASF01", + ["双向螺旋输送机2A出料蝶阀"] = "BU2ASF02", + ["双向螺旋输送机2B出料蝶阀"] = "BU2BSF01", + ["双向螺旋输送机2B出料蝶阀"] = "BU2BSF02", + ["双向螺旋输送机2C出料蝶阀"] = "BU2CSF01", + ["双向螺旋输送机2C出料蝶阀"] = "BU2CSF02", + ["双向螺旋输送机2D出料蝶阀"] = "BU2DSF01", + ["双向螺旋输送机2D出料蝶阀"] = "BU2DSF02", + ["缓存仓1A出料蝶阀"] = "BU1ADB01", + ["缓存仓1B出料蝶阀"] = "BU1BDB01", + ["缓存仓1C出料蝶阀"] = "BU1CDB01", + ["缓存仓1D出料蝶阀"] = "BU1DDB01", + ["缓存仓1E出料蝶阀"] = "BU1EDB01", + ["缓存仓1F出料蝶阀"] = "BU1FDB01", + ["缓存仓1G出料蝶阀"] = "BU1GDB01", + ["缓存仓1H出料蝶阀"] = "BU1HDB01", + ["缓存仓1I出料蝶阀"] = "BU1IDB01", + ["缓存仓1J出料蝶阀"] = "BU1JDB01", + ["缓存仓1K出料蝶阀"] = "BU1KDB01", + ["缓存仓1L出料蝶阀"] = "BU1LDB01", + ["二级气力输送管道分配阀1"] = "DV2PCP01", + ["二级气力输送管道分配阀2"] = "DV2PCP02", + ["二级气力输送管道分配阀3"] = "DV2PCP03", + ["二级气力动送管道分配阀4"] = "DV2PCP04", + ["二级气力输送管道分配阀5"] = "DV2PCP05", + ["二级气力输送管道分配阀6"] = "DV2PCP06", + ["二级气力动送管道分配阀7"] = "DV2PCP07", + ["二级气力输送管道分配阀8"] = "DV2PCP08", + ["二级气力输送管道分配阀9"] = "DV2PCP09", + ["二级气力动送管道分配阀10"] = "DV2PCP10", + ["二级气力输送管道分配阀11"] = "DV2PCP11", + ["二级气力输送管道分配阀12"] = "DV2PCP12", + ["二级气力动送管道分配阀13"] = "DV2PCP13", + ["二级气力输送管道分配阀14"] = "DV2PCP14", + ["干混机卸料阀"] = "BU1DRB01", + ["干混机卸料阀"] = "BU2DRB01", + ["干混机卸料阀"] = "BU3DRB01", + ["干混机卸料阀"] = "BU4DRB01", + ["糊化机卸料阀"] = "BU1GEB01", + ["糊化机卸料阀"] = "BU2GEB01", + ["糊化机卸料阀"] = "BU3GEB01", + ["糊化机卸料阀"] = "BU4GEB01", + ["糊化机卸料阀"] = "BU5GEB01", + ["糊化机卸料阀"] = "BU6GEB01", + ["糊化机卸料阀"] = "BU7GEB01", + ["糊化机卸料阀"] = "BU8GEB01" + + }; + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_3.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.resx similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_3.resx rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveInitStateMonitor/ValveInitStateMonitor.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery.Designer.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery.Designer.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery.Designer.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery.resx similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.resx rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_2.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_2.Designer.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_2.Designer.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_2.Designer.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_2.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_2.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_2.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_2.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateControl/ValveStateControl.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_2.resx similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateControl/ValveStateControl.resx rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_2.resx diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_3.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.Designer.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_3.Designer.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.Designer.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_3.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachinery/ElectronicMachinery_3.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ElectronicMachinery/ElectronicMachinery_3.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateControl/ValveStateControl.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.Designer.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateControl/ValveStateControl.Designer.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.Designer.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateControl/ValveStateControl.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.cs similarity index 100% rename from Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateControl/ValveStateControl.cs rename to Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/x-Contorl/ValveStateControl/ValveStateControl.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj index 5c9e70d..c9637e8 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -212,28 +212,28 @@ - + Form - - ElectronicMachineryStateMonitor.cs + + ElectronicMachineryDataStateMonitor.cs - + Form - + ElectronicMachinery.cs - + Form - + ElectronicMachinery_2.cs - + Form - + ElectronicMachinery_3.cs @@ -242,17 +242,23 @@ InstrumentDataStateMonitor.cs + + Form + + + ValveInitStateMonitor.cs + - + Form - + ValveStateControl.cs - + Form - + ValveStateMonitor.cs @@ -708,25 +714,28 @@ FrmBin.cs - - ElectronicMachineryStateMonitor.cs + + ElectronicMachineryDataStateMonitor.cs + + + ValveInitStateMonitor.cs - + ElectronicMachinery.cs - + ElectronicMachinery_2.cs - + ElectronicMachinery_3.cs InstrumentDataStateMonitor.cs - + ValveStateControl.cs - + ValveStateMonitor.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs index 0c19065..b8c9114 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs @@ -9,6 +9,7 @@ using Mesnac.Action.Base; using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMachinaryStateMonitor; using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMachinery; using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.InstrumentDataStateMonitor; +using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.NewFolder1; using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateControl; using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateMonitor; using Mesnac.Action.ChemicalWeighing.Entity; @@ -43,7 +44,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test // dbHelper.CommandText = sql; - InstrumentDataStateMonitor Form = new InstrumentDataStateMonitor(); + ValveInitStateMonitor Form = new ValveInitStateMonitor(); Form.Show();