diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs index b710909..2987417 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryStateMonitor/ElectronicMachineryStateMonitor.Designer.cs @@ -1140,7 +1140,7 @@ this.Controls.Add(this.DmChange_FOR_MOTOR); this.Controls.Add(this.FOR_MOTOR); this.Name = "ElectronicMachineryStateMonitor"; - this.Text = " "; + this.Text = " 电机数据块状态检测"; this.FOR_MOTOR.ResumeLayout(false); this.FOR_MOTOR.PerformLayout(); this.FOR_MOTOR_S_TO_T.ResumeLayout(false); diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs index e603cfc..849c01b 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.Designer.cs @@ -28,12 +28,803 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + 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 = 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.DmChange_S = new System.Windows.Forms.ListBox(); + this.DmChange_D = new System.Windows.Forms.ListBox(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.SuspendLayout(); + // + // groupBox1 + // + 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(12, 12); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(208, 173); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "FOR_VALVE_Single"; + // + // 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, 65); + 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, 41); + 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, 53); + 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, 65); + 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, 53); + 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, 41); + 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"; + // + // 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(226, 12); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(157, 209); + this.groupBox2.TabIndex = 1; + 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"; + // + // DmChange_S + // + 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", + "磨粉系统旋转阀气密封电磁阀"}); + 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); + this.DmChange_S.TabIndex = 2; + this.DmChange_S.SelectedIndexChanged += new System.EventHandler(this.DmChange_S_SelectedIndexChanged); + // + // 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直通电磁阀", + "分配阀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); + this.DmChange_D.TabIndex = 3; + this.DmChange_D.SelectedIndexChanged += new System.EventHandler(this.DmChange_D_SelectedIndexChanged); + // + // ValveStateMonitor + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; + this.ClientSize = new System.Drawing.Size(397, 369); + this.Controls.Add(this.DmChange_D); + this.Controls.Add(this.DmChange_S); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Name = "ValveStateMonitor"; + this.Text = "阀门数据块状态监测"; + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.ResumeLayout(false); + } #endregion + + private System.Windows.Forms.GroupBox groupBox1; + 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.GroupBox groupBox2; + 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 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.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.ListBox DmChange_S; + private System.Windows.Forms.ListBox DmChange_D; } } \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs index c0ded7c..83bdb37 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.cs @@ -1,4 +1,6 @@ -using System; +using DevExpress.PivotGrid.OLAP.Mdx; +using Mesnac.Action.ChemicalWeighing.Entity; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; @@ -12,9 +14,162 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateMoni { public partial class ValveStateMonitor : Form { + string DmName_S = "BU3DBT06"; + string DmName_D = "DV1PCP01"; public ValveStateMonitor() { InitializeComponent(); } + + 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"); + SetManual_S.Text = GetDataToString(dmName, "_SetManual"); + SetAuto_S.Text = GetDataToString(dmName, "_SetAuto"); + AlarmReset_S.Text = GetDataToString(dmName, "_AlarmReset"); + 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"); + + } + + 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 IDictionary dmNameValue = new Dictionary() + { + ["输送线C1号压送罐出料蝶阀电磁阀"] = "BU3DBT06", + ["输送线C2号压送罐出料蝶阀电磁阀"] = "BU3DBT07", + ["输送线A1号压送罐进料蝶阀电磁阀"] = "BU1DBT01", + ["输送线A1号压送罐返气蝶阀电磁阀"] = "BU1DBT03", + ["输送线A2号压送罐进料蝶阀电磁阀"] = "BU1DBT02", + ["输送线A2号压送罐返气蝶阀电磁阀"] = "BU1DBT04", + ["输送线B1号压送罐进料蝶阀电磁阀"] = "BU2DBT01", + ["输送线B1号压送罐返气蝶阀电磁阀"] = "BU2DBT03", + ["输送线B2号压送罐进料蝶阀电磁阀"] = "BU2DBT02", + ["输送线B2号压送罐返气蝶阀电磁阀"] = "BU2DBT04", + ["输送线C1号压送罐进料蝶阀电磁阀"] = "BU3DBT01", + ["输送线C1号压送罐返气蝶阀电磁阀"] = "BU3DBT03", + ["输送线C2号压送罐进料蝶阀电磁阀"] = "BU3DBT02", + ["输送线C2号压送罐返气蝶阀电磁阀"] = "BU3DBT04", + ["输送线A1号压送罐出料蝶阀电磁阀"] = "BU1DBT06", + ["输送线A2号压送罐出料蝶阀电磁阀"] = "BU1DBT07", + ["输送线B1号压送罐出料蝶阀电磁阀"] = "BU2DBT06", + ["输送线B2号压送罐出料蝶阀电磁阀"] = "BU2DBT07", + ["输送线A1号压送罐充气角座阀"] = "AS1DBT01", + ["输送线A2号压送罐充气角座阀"] = "AS1DBT02", + ["输送线A清扫角座阀"] = "AS1DBT03", + ["输送线A1号压送罐流态化角座阀"] = "AS1DBT04", + ["输送线A2号压送罐流态化角座阀"] = "AS1DBT05", + ["输送线A压送罐出料主管角座阀"] = "AS1DBT06", + ["输送线A压送罐出料辅管角座阀"] = "AS1DBT07", + ["输送线B1号压送罐充气角座阀"] = "AS2DBT01", + ["输送线B2号压送罐充气角座阀"] = "AS2DBT02", + ["输送线B清扫角座阀"] = "AS2DBT03", + ["输送线B1号压送罐流态化角座阀"] = "AS2DBT04", + ["输送线B2号压送罐流态化角座阀"] = "AS2DBT05", + ["输送线B压送罐出料主管角座阀"] = "AS2DBT06", + ["输送线B压送罐出料辅管角座阀"] = "AS2DBT07", + ["输送线C1号压送罐充气角座阀"] = "AS3DBT01", + ["输送线C2号压送罐充气角座阀"] = "AS3DBT02", + ["输送线C清扫角座阀"] = "AS3DBT03", + ["输送线C1号压送罐流态化角座阀"] = "AS3DBT04", + ["输送线C2号压送罐流态化角座阀"] = "AS3DBT05", + ["输送线C压送罐出料主管角座阀"] = "AS3DBT06", + ["输送线C压送罐出料辅管角座阀"] = "AS3DBT07", + ["输送线A辅管角座阀"] = "AS1PCP01", + ["输送线B辅管角座阀"] = "AS1PCP02", + ["输送线C辅管角座阀"] = "AS1PCP03", + ["大仓A外喷淋阀门"] = "AS1ASI01", + ["大仓B外喷淋阀门"] = "AS1BSI01", + ["大仓C外喷淋阀门"] = "AS1CSI01", + ["大仓D外喷淋阀门"] = "AS1DSI01", + ["大仓E外喷淋阀门"] = "AS1ESI01", + ["大仓F外喷淋阀门"] = "AS1FSI01", + ["大仓G外喷淋阀门"] = "AS1GSI01", + ["大仓H外喷淋阀门"] = "AS1HSI01", + ["大仓I外喷淋阀门"] = "AS1ISI01", + ["大仓J外喷淋阀门"] = "AS1JSI01", + ["大仓O外喷淋阀门"] = "AS1OSI01", + ["输送线A滚筒筛分机侧吹阀"] = "SV1DSM01", + ["输送线A滚筒筛分机振动阀"] = "SV1DSM02", + ["输送线B滚筒筛分机侧吹阀"] = "SV2DSM01", + ["输送线B滚筒筛分机振动阀"] = "SV2DSM02", + ["输送线C滚筒筛分机侧吹阀"] = "SV3DSM01", + ["输送线C滚筒筛分机振动阀"] = "SV3DSM02", + ["二级除尘器侧吹脉冲阀1"] = "PV1GDC01", + ["二级除尘器侧吹脉冲阀2"] = "PV1GDC02", + ["分配阀1直通电磁阀"] = "DV1PCP01", + ["分配阀2直通电磁阀"] = "DV1PCP02", + ["分配阀3直通电磁阀"] = "DV1PCP03", + ["分配阀4直通电磁阀"] = "DV1PCP04", + ["分配阀5直通电磁阀"] = "DV1PCP05", + ["分配阀6直通电磁阀"] = "DV1PCP06", + ["分配阀7直通电磁阀"] = "DV1PCP07", + ["分配阀8直通电磁阀"] = "DV1PCP08", + ["分配阀9直通电磁阀"] = "DV1PCP09", + ["分配阀10直通电磁阀"] = "DV1PCP10", + ["分配阀11直通电磁阀"] = "DV1PCP11", + ["分配阀12直通电磁阀"] = "DV1PCP12", + ["分配阀13直通电磁阀"] = "DV1PCP13", + ["分配阀14直通电磁阀"] = "DV1PCP14", + ["分配阀15直通电磁阀"] = "DV1PCP15", + ["磨粉系统旋转阀气密封电磁阀"] = "SV1GDS01" + }; + + + /// + /// 根据属性名和现在选择的数据块名得到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(); + } } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.resx b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ValveStateMonitor/ValveStateMonitor.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 5f84c0f..7b9342d 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -717,6 +717,9 @@ ValveStateControl.cs + + ValveStateMonitor.cs + FrmDevice.cs diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs index 308eca9..f820286 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.ValveStateControl; +using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateMonitor; using Mesnac.Action.ChemicalWeighing.Entity; using Mesnac.Action.ChemicalWeighing.LjMetageFormula; using Mesnac.Action.ChemicalWeighing.LjMixFormula; @@ -41,7 +42,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test // dbHelper.CommandText = sql; - ElectronicMachineryStateMonitor Form = new ElectronicMachineryStateMonitor(); + ValveStateMonitor Form = new ValveStateMonitor(); Form.Show();