diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs
index e191a20..c24e3be 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/ElectronicMachineryDataStateMonitor/ElectronicMachineryDataStateMonitor.cs
@@ -43,6 +43,7 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMach
{
return GetDataNameValue(dmName, dmValue).NowValue.ToString();
}
+
private void DmChange_FOR_MOTOR_SelectedIndexChanged(object sender, EventArgs e)
{
switch (DmChange_FOR_MOTOR.Text)
diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs
index 9dd964b..6e747a8 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.Designer.cs
@@ -28,12 +28,795 @@
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
+ this.DmChange_FOR_MOTOR = new System.Windows.Forms.ListBox();
+ this.FOR_MOTOR = new System.Windows.Forms.GroupBox();
+ this.Alarm = new System.Windows.Forms.Label();
+ this.Run = new System.Windows.Forms.Label();
+ this.Running = new System.Windows.Forms.Label();
+ this.AlarmReset = new System.Windows.Forms.Label();
+ this.StopAuto = new System.Windows.Forms.Label();
+ this.StartAuto = new System.Windows.Forms.Label();
+ this.StopManual = new System.Windows.Forms.Label();
+ this.StartManual = new System.Windows.Forms.Label();
+ this.AutoMode = new System.Windows.Forms.Label();
+ this.ManualMode = new System.Windows.Forms.Label();
+ this.AlarmLable = new System.Windows.Forms.Label();
+ this.RunLable = new System.Windows.Forms.Label();
+ this.RunningLable = new System.Windows.Forms.Label();
+ this.AlarmResetLable = new System.Windows.Forms.Label();
+ this.StopAutoLable = new System.Windows.Forms.Label();
+ this.StartAutoLable = new System.Windows.Forms.Label();
+ this.StopManualLable = new System.Windows.Forms.Label();
+ this.StartManualLable = new System.Windows.Forms.Label();
+ this.AutoModeLable = new System.Windows.Forms.Label();
+ this.ManualModeLable = new System.Windows.Forms.Label();
+ this.DmChange_FOR_MOTOR_VFD = new System.Windows.Forms.ListBox();
+ this.FOR_MOTOR_VFD = new System.Windows.Forms.GroupBox();
+ this.label37 = new System.Windows.Forms.Label();
+ this.label38 = new System.Windows.Forms.Label();
+ this.label41 = new System.Windows.Forms.Label();
+ this.label42 = new System.Windows.Forms.Label();
+ this.label43 = new System.Windows.Forms.Label();
+ this.label44 = new System.Windows.Forms.Label();
+ this.label45 = new System.Windows.Forms.Label();
+ this.label46 = new System.Windows.Forms.Label();
+ this.label47 = new System.Windows.Forms.Label();
+ this.label48 = new System.Windows.Forms.Label();
+ this.label49 = new System.Windows.Forms.Label();
+ this.label50 = new System.Windows.Forms.Label();
+ this.label51 = new System.Windows.Forms.Label();
+ this.label52 = new System.Windows.Forms.Label();
+ this.label53 = new System.Windows.Forms.Label();
+ this.label55 = new System.Windows.Forms.Label();
+ this.ACT_Speed_VFD = new System.Windows.Forms.Label();
+ this.SetSpeed_M_VFD = new System.Windows.Forms.Label();
+ this.SetSpeed_A_VFD = new System.Windows.Forms.Label();
+ this.Start_A_VFD = new System.Windows.Forms.Label();
+ this.Stop_A_VFD = new System.Windows.Forms.Label();
+ this.Polarity_VFD = new System.Windows.Forms.Label();
+ this.Start_M_VFD = new System.Windows.Forms.Label();
+ this.Stop_M_VFD = new System.Windows.Forms.Label();
+ this.Enable_VFD = new System.Windows.Forms.Label();
+ this.AlarmReset_VFD = new System.Windows.Forms.Label();
+ this.EXT_Estop_VFD = new System.Windows.Forms.Label();
+ this.Error_VFD = new System.Windows.Forms.Label();
+ this.AutoMode_VFD = new System.Windows.Forms.Label();
+ this.ManMode_VFD = new System.Windows.Forms.Label();
+ this.Alarm_VFD = new System.Windows.Forms.Label();
+ this.Running_VFD = new System.Windows.Forms.Label();
+ this.Refresh = new System.Windows.Forms.Button();
+ this.FOR_MOTOR.SuspendLayout();
+ this.FOR_MOTOR_VFD.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // DmChange_FOR_MOTOR
+ //
+ this.DmChange_FOR_MOTOR.FormattingEnabled = true;
+ this.DmChange_FOR_MOTOR.ItemHeight = 12;
+ this.DmChange_FOR_MOTOR.Items.AddRange(new object[] {
+ "大储仓A活化料斗振动电机",
+ "大储仓B活化料斗振动电机",
+ "大储仓C活化料斗振动电机",
+ "大储仓D活化料斗振动电机",
+ "大储仓E活化料斗振动电机",
+ "大储仓F活化料斗振动电机",
+ "大储仓G活化料斗振动电机",
+ "大储仓H活化料斗振动电机",
+ "大储仓I活化料斗振动电机",
+ "大储仓J活化料斗振动电机",
+ "大储仓K活化料斗振动电机",
+ "大储仓L活化料斗振动电机",
+ "大储仓M活化料斗振动电机",
+ "大储仓N活化料斗振动电机",
+ "大储仓O活化料斗振动电机",
+ "缓存仓1A出料旋转阀电机",
+ "缓存仓1B出料旋转阀电机",
+ "缓存仓1C出料旋转阀电机",
+ "缓存仓1D出料旋转阀电机",
+ "缓存仓1E出料旋转阀电机",
+ "缓存仓1F出料旋转阀电机",
+ "缓存仓1G出料旋转阀电机",
+ "缓存仓1H出料旋转阀电机",
+ "缓存仓1I出料旋转阀电机",
+ "缓存仓1J出料旋转阀电机",
+ "缓存仓1K出料旋转阀电机",
+ "缓存仓1L出料旋转阀电机",
+ "日储仓除尘器1A除尘风机电机",
+ "日储仓除尘器1B除尘风机电机",
+ "日储仓除尘器1C除尘风机电机",
+ "日储仓除尘器1D除尘风机电机",
+ "日储仓除尘器1E除尘风机电机",
+ "日储仓除尘器1F除尘风机电机",
+ "日储仓除尘器1G除尘风机电机",
+ "日储仓除尘器1H除尘风机电机",
+ "日储仓除尘器1I除尘风机电机",
+ "日储仓除尘器1J除尘风机电机",
+ "日储仓除尘器1K除尘风机电机",
+ "日储仓除尘器1L除尘风机电机",
+ "主除尘风机",
+ "螺旋输送机1A减速机电机",
+ "螺旋输送机1B减速机电机",
+ "螺旋输送机1C减速机电机",
+ "螺旋输送机1D减速机电机",
+ "螺旋输送机1E减速机电机",
+ "螺旋输送机1F减速机电机",
+ "螺旋输送机1G减速机电机",
+ "螺旋输送机1H减速机电机",
+ "螺旋输送机1I减速机电机",
+ "螺旋输送机1J减速机电机",
+ "螺旋输送机1K减速机电机",
+ "螺旋输送机1L减速机电机",
+ "螺旋输送机1M减速机电机",
+ "螺旋输送机1N减速机电机"
+
+ });
+ this.DmChange_FOR_MOTOR.Location = new System.Drawing.Point(12, 163);
+ this.DmChange_FOR_MOTOR.Name = "DmChange_FOR_MOTOR";
+ this.DmChange_FOR_MOTOR.Size = new System.Drawing.Size(187, 208);
+ this.DmChange_FOR_MOTOR.TabIndex = 3;
+ this.DmChange_FOR_MOTOR.SelectedIndexChanged += new System.EventHandler(this.DmChange_FOR_MOTOR_SelectedIndexChanged);
+ //
+ // DmChange_FOR_MOTOR_VFD
+ //
+ this.DmChange_FOR_MOTOR_VFD.FormattingEnabled = true;
+ this.DmChange_FOR_MOTOR_VFD.ItemHeight = 12;
+ this.DmChange_FOR_MOTOR_VFD.Items.AddRange(new object[] {
+ "螺旋A-D变频(共用)",
+ "螺旋G-J变频(共用)",
+ "螺旋E-F变频(共用)",
+ "螺旋K-N变频(共用)",
+ "螺旋输送机1O减速机电机",
+ "双向螺旋电机01",
+ "双向螺旋电机02",
+ "双向螺旋电机03",
+ "双向螺旋电机04",
+ "干混主电机D1",
+ "干混主电机D2",
+ "干混主电机D3",
+ "干混主电机D4",
+ "糊化锅A",
+ "糊化锅B",
+ "糊化锅C",
+ "糊化锅D",
+ "糊化锅E",
+ "糊化锅F",
+ "糊化锅G",
+ "糊化锅H"
+
+ });
+ this.DmChange_FOR_MOTOR_VFD.Location = new System.Drawing.Point(205, 235);
+ this.DmChange_FOR_MOTOR_VFD.Name = "DmChange_FOR_MOTOR_VFD";
+ this.DmChange_FOR_MOTOR_VFD.Size = new System.Drawing.Size(187, 136);
+ this.DmChange_FOR_MOTOR_VFD.TabIndex = 7;
+ this.DmChange_FOR_MOTOR_VFD.SelectedIndexChanged += new System.EventHandler(this.DmChange_FOR_MOTOR_VFD_SelectedIndexChanged);
+ //
+ // FOR_MOTOR
+ //
+ this.FOR_MOTOR.Controls.Add(this.Alarm);
+ this.FOR_MOTOR.Controls.Add(this.Run);
+ this.FOR_MOTOR.Controls.Add(this.Running);
+ this.FOR_MOTOR.Controls.Add(this.AlarmReset);
+ this.FOR_MOTOR.Controls.Add(this.StopAuto);
+ this.FOR_MOTOR.Controls.Add(this.StartAuto);
+ this.FOR_MOTOR.Controls.Add(this.StopManual);
+ this.FOR_MOTOR.Controls.Add(this.StartManual);
+ this.FOR_MOTOR.Controls.Add(this.AutoMode);
+ this.FOR_MOTOR.Controls.Add(this.ManualMode);
+ this.FOR_MOTOR.Controls.Add(this.AlarmLable);
+ this.FOR_MOTOR.Controls.Add(this.RunLable);
+ this.FOR_MOTOR.Controls.Add(this.RunningLable);
+ this.FOR_MOTOR.Controls.Add(this.AlarmResetLable);
+ this.FOR_MOTOR.Controls.Add(this.StopAutoLable);
+ this.FOR_MOTOR.Controls.Add(this.StartAutoLable);
+ this.FOR_MOTOR.Controls.Add(this.StopManualLable);
+ this.FOR_MOTOR.Controls.Add(this.StartManualLable);
+ this.FOR_MOTOR.Controls.Add(this.AutoModeLable);
+ this.FOR_MOTOR.Controls.Add(this.ManualModeLable);
+ this.FOR_MOTOR.Location = new System.Drawing.Point(12, 12);
+ this.FOR_MOTOR.Name = "FOR_MOTOR";
+ this.FOR_MOTOR.Size = new System.Drawing.Size(187, 145);
+ this.FOR_MOTOR.TabIndex = 2;
+ this.FOR_MOTOR.TabStop = false;
+ this.FOR_MOTOR.Text = "FOR_MOTOR";
+ //
+ // Alarm
+ //
+ this.Alarm.AutoSize = true;
+ this.Alarm.Location = new System.Drawing.Point(6, 125);
+ this.Alarm.Name = "Alarm";
+ this.Alarm.Size = new System.Drawing.Size(11, 12);
+ this.Alarm.TabIndex = 28;
+ this.Alarm.Text = "0";
+ //
+ // Run
+ //
+ this.Run.AutoSize = true;
+ this.Run.Location = new System.Drawing.Point(6, 113);
+ this.Run.Name = "Run";
+ this.Run.Size = new System.Drawing.Size(11, 12);
+ this.Run.TabIndex = 27;
+ this.Run.Text = "0";
+ //
+ // Running
+ //
+ this.Running.AutoSize = true;
+ this.Running.Location = new System.Drawing.Point(6, 101);
+ this.Running.Name = "Running";
+ this.Running.Size = new System.Drawing.Size(11, 12);
+ this.Running.TabIndex = 26;
+ this.Running.Text = "0";
+ //
+ // AlarmReset
+ //
+ this.AlarmReset.AutoSize = true;
+ this.AlarmReset.Location = new System.Drawing.Point(6, 41);
+ this.AlarmReset.Name = "AlarmReset";
+ this.AlarmReset.Size = new System.Drawing.Size(11, 12);
+ this.AlarmReset.TabIndex = 25;
+ this.AlarmReset.Text = "0";
+ //
+ // StopAuto
+ //
+ this.StopAuto.AutoSize = true;
+ this.StopAuto.Location = new System.Drawing.Point(6, 89);
+ this.StopAuto.Name = "StopAuto";
+ this.StopAuto.Size = new System.Drawing.Size(11, 12);
+ this.StopAuto.TabIndex = 24;
+ this.StopAuto.Text = "0";
+ //
+ // StartAuto
+ //
+ this.StartAuto.AutoSize = true;
+ this.StartAuto.Location = new System.Drawing.Point(6, 77);
+ this.StartAuto.Name = "StartAuto";
+ this.StartAuto.Size = new System.Drawing.Size(11, 12);
+ this.StartAuto.TabIndex = 23;
+ this.StartAuto.Text = "0";
+ //
+ // StopManual
+ //
+ this.StopManual.AutoSize = true;
+ this.StopManual.Location = new System.Drawing.Point(6, 65);
+ this.StopManual.Name = "StopManual";
+ this.StopManual.Size = new System.Drawing.Size(11, 12);
+ this.StopManual.TabIndex = 22;
+ this.StopManual.Text = "0";
+ //
+ // StartManual
+ //
+ this.StartManual.AutoSize = true;
+ this.StartManual.Location = new System.Drawing.Point(6, 53);
+ this.StartManual.Name = "StartManual";
+ this.StartManual.Size = new System.Drawing.Size(11, 12);
+ this.StartManual.TabIndex = 21;
+ this.StartManual.Text = "0";
+ //
+ // AutoMode
+ //
+ this.AutoMode.AutoSize = true;
+ this.AutoMode.Location = new System.Drawing.Point(6, 29);
+ this.AutoMode.Name = "AutoMode";
+ this.AutoMode.Size = new System.Drawing.Size(11, 12);
+ this.AutoMode.TabIndex = 20;
+ this.AutoMode.Text = "0";
+ //
+ // ManualMode
+ //
+ this.ManualMode.AutoSize = true;
+ this.ManualMode.Location = new System.Drawing.Point(6, 17);
+ this.ManualMode.Name = "ManualMode";
+ this.ManualMode.Size = new System.Drawing.Size(11, 12);
+ this.ManualMode.TabIndex = 19;
+ this.ManualMode.Text = "0";
+ //
+ // AlarmLable
+ //
+ this.AlarmLable.AutoSize = true;
+ this.AlarmLable.Location = new System.Drawing.Point(23, 125);
+ this.AlarmLable.Name = "AlarmLable";
+ this.AlarmLable.Size = new System.Drawing.Size(29, 12);
+ this.AlarmLable.TabIndex = 18;
+ this.AlarmLable.Text = "报警";
+ //
+ // RunLable
+ //
+ this.RunLable.AutoSize = true;
+ this.RunLable.Location = new System.Drawing.Point(23, 113);
+ this.RunLable.Name = "RunLable";
+ this.RunLable.Size = new System.Drawing.Size(53, 12);
+ this.RunLable.TabIndex = 16;
+ this.RunLable.Text = "输出运行";
+ //
+ // RunningLable
+ //
+ this.RunningLable.AutoSize = true;
+ this.RunningLable.Location = new System.Drawing.Point(23, 101);
+ this.RunningLable.Name = "RunningLable";
+ this.RunningLable.Size = new System.Drawing.Size(53, 12);
+ this.RunningLable.TabIndex = 14;
+ this.RunningLable.Text = "运行检测";
+ //
+ // AlarmResetLable
+ //
+ this.AlarmResetLable.AutoSize = true;
+ this.AlarmResetLable.Location = new System.Drawing.Point(23, 41);
+ this.AlarmResetLable.Name = "AlarmResetLable";
+ this.AlarmResetLable.Size = new System.Drawing.Size(53, 12);
+ this.AlarmResetLable.TabIndex = 12;
+ this.AlarmResetLable.Text = "报警复位";
+ //
+ // StopAutoLable
+ //
+ this.StopAutoLable.AutoSize = true;
+ this.StopAutoLable.Location = new System.Drawing.Point(23, 89);
+ this.StopAutoLable.Name = "StopAutoLable";
+ this.StopAutoLable.Size = new System.Drawing.Size(77, 12);
+ this.StopAutoLable.TabIndex = 10;
+ this.StopAutoLable.Text = "自动停止指令";
+ //
+ // StartAutoLable
+ //
+ this.StartAutoLable.AutoSize = true;
+ this.StartAutoLable.Location = new System.Drawing.Point(23, 77);
+ this.StartAutoLable.Name = "StartAutoLable";
+ this.StartAutoLable.Size = new System.Drawing.Size(77, 12);
+ this.StartAutoLable.TabIndex = 8;
+ this.StartAutoLable.Text = "自动启动指令";
+ //
+ // StopManualLable
+ //
+ this.StopManualLable.AutoSize = true;
+ this.StopManualLable.Location = new System.Drawing.Point(23, 65);
+ this.StopManualLable.Name = "StopManualLable";
+ this.StopManualLable.Size = new System.Drawing.Size(77, 12);
+ this.StopManualLable.TabIndex = 6;
+ this.StopManualLable.Text = "手动停止指令";
+ //
+ // StartManualLable
+ //
+ this.StartManualLable.AutoSize = true;
+ this.StartManualLable.Location = new System.Drawing.Point(23, 53);
+ this.StartManualLable.Name = "StartManualLable";
+ this.StartManualLable.Size = new System.Drawing.Size(77, 12);
+ this.StartManualLable.TabIndex = 4;
+ this.StartManualLable.Text = "手动启动指令";
+ //
+ // AutoModeLable
+ //
+ this.AutoModeLable.AutoSize = true;
+ this.AutoModeLable.Location = new System.Drawing.Point(23, 29);
+ this.AutoModeLable.Name = "AutoModeLable";
+ this.AutoModeLable.Size = new System.Drawing.Size(53, 12);
+ this.AutoModeLable.TabIndex = 2;
+ this.AutoModeLable.Text = "自动模式";
+ //
+ // ManualModeLable
+ //
+ this.ManualModeLable.AutoSize = true;
+ this.ManualModeLable.Location = new System.Drawing.Point(23, 17);
+ this.ManualModeLable.Name = "ManualModeLable";
+ this.ManualModeLable.Size = new System.Drawing.Size(53, 12);
+ this.ManualModeLable.TabIndex = 0;
+ this.ManualModeLable.Text = "手动模式";
+ //
+ // FOR_MOTOR_VFD
+ //
+ this.FOR_MOTOR_VFD.Controls.Add(this.label37);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label38);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label41);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label42);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label43);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label44);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label45);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label46);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label47);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label48);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label49);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label50);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label51);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label52);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label53);
+ this.FOR_MOTOR_VFD.Controls.Add(this.label55);
+ this.FOR_MOTOR_VFD.Controls.Add(this.ACT_Speed_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.SetSpeed_M_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.SetSpeed_A_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Start_A_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Stop_A_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Polarity_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Start_M_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Stop_M_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Enable_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.AlarmReset_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.EXT_Estop_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Error_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.AutoMode_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.ManMode_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Alarm_VFD);
+ this.FOR_MOTOR_VFD.Controls.Add(this.Running_VFD);
+ this.FOR_MOTOR_VFD.Cursor = System.Windows.Forms.Cursors.Arrow;
+ this.FOR_MOTOR_VFD.Location = new System.Drawing.Point(205, 12);
+ this.FOR_MOTOR_VFD.Name = "FOR_MOTOR_VFD";
+ this.FOR_MOTOR_VFD.Size = new System.Drawing.Size(187, 217);
+ this.FOR_MOTOR_VFD.TabIndex = 6;
+ this.FOR_MOTOR_VFD.TabStop = false;
+ this.FOR_MOTOR_VFD.Text = "FOR_MOTOR_VFD";
+ //
+ // label37
+ //
+ this.label37.AutoSize = true;
+ this.label37.Location = new System.Drawing.Point(59, 197);
+ this.label37.Name = "label37";
+ this.label37.Size = new System.Drawing.Size(77, 12);
+ this.label37.TabIndex = 37;
+ this.label37.Text = "运行速度反馈";
+ //
+ // label38
+ //
+ this.label38.AutoSize = true;
+ this.label38.Location = new System.Drawing.Point(59, 185);
+ this.label38.Name = "label38";
+ this.label38.Size = new System.Drawing.Size(77, 12);
+ this.label38.TabIndex = 36;
+ this.label38.Text = "自动速度设定";
+ //
+ // label41
+ //
+ this.label41.AutoSize = true;
+ this.label41.Location = new System.Drawing.Point(59, 173);
+ this.label41.Name = "label41";
+ this.label41.Size = new System.Drawing.Size(77, 12);
+ this.label41.TabIndex = 35;
+ this.label41.Text = "手动速度设定";
+ //
+ // label42
+ //
+ this.label42.AutoSize = true;
+ this.label42.Location = new System.Drawing.Point(23, 41);
+ this.label42.Name = "label42";
+ this.label42.Size = new System.Drawing.Size(77, 12);
+ this.label42.TabIndex = 21;
+ this.label42.Text = "自动启动按钮";
+ //
+ // label43
+ //
+ this.label43.AutoSize = true;
+ this.label43.Location = new System.Drawing.Point(23, 53);
+ this.label43.Name = "label43";
+ this.label43.Size = new System.Drawing.Size(77, 12);
+ this.label43.TabIndex = 22;
+ this.label43.Text = "自动停止按钮";
+ //
+ // label44
+ //
+ this.label44.AutoSize = true;
+ this.label44.Location = new System.Drawing.Point(23, 161);
+ this.label44.Name = "label44";
+ this.label44.Size = new System.Drawing.Size(65, 12);
+ this.label44.TabIndex = 34;
+ this.label44.Text = "0正转1反转";
+ //
+ // label45
+ //
+ this.label45.AutoSize = true;
+ this.label45.Location = new System.Drawing.Point(23, 65);
+ this.label45.Name = "label45";
+ this.label45.Size = new System.Drawing.Size(77, 12);
+ this.label45.TabIndex = 23;
+ this.label45.Text = "手动启动按钮";
+ //
+ // label46
+ //
+ this.label46.AutoSize = true;
+ this.label46.Location = new System.Drawing.Point(23, 77);
+ this.label46.Name = "label46";
+ this.label46.Size = new System.Drawing.Size(77, 12);
+ this.label46.TabIndex = 24;
+ this.label46.Text = "手动停止按钮";
+ //
+ // label47
+ //
+ this.label47.AutoSize = true;
+ this.label47.Location = new System.Drawing.Point(23, 149);
+ this.label47.Name = "label47";
+ this.label47.Size = new System.Drawing.Size(29, 12);
+ this.label47.TabIndex = 33;
+ this.label47.Text = "使能";
+ //
+ // label48
+ //
+ this.label48.AutoSize = true;
+ this.label48.Location = new System.Drawing.Point(23, 89);
+ this.label48.Name = "label48";
+ this.label48.Size = new System.Drawing.Size(53, 12);
+ this.label48.TabIndex = 25;
+ this.label48.Text = "故障复位";
+ //
+ // label49
+ //
+ this.label49.AutoSize = true;
+ this.label49.Location = new System.Drawing.Point(23, 101);
+ this.label49.Name = "label49";
+ this.label49.Size = new System.Drawing.Size(53, 12);
+ this.label49.TabIndex = 26;
+ this.label49.Text = "外部停止";
+ //
+ // label50
+ //
+ this.label50.AutoSize = true;
+ this.label50.Location = new System.Drawing.Point(23, 137);
+ this.label50.Name = "label50";
+ this.label50.Size = new System.Drawing.Size(77, 12);
+ this.label50.TabIndex = 32;
+ this.label50.Text = "变频器轻故障";
+ //
+ // label51
+ //
+ this.label51.AutoSize = true;
+ this.label51.Location = new System.Drawing.Point(23, 17);
+ this.label51.Name = "label51";
+ this.label51.Size = new System.Drawing.Size(53, 12);
+ this.label51.TabIndex = 27;
+ this.label51.Text = "自动模式";
+ //
+ // label52
+ //
+ this.label52.AutoSize = true;
+ this.label52.Location = new System.Drawing.Point(23, 29);
+ this.label52.Name = "label52";
+ this.label52.Size = new System.Drawing.Size(53, 12);
+ this.label52.TabIndex = 28;
+ this.label52.Text = "手动模式";
+ //
+ // label53
+ //
+ this.label53.AutoSize = true;
+ this.label53.Location = new System.Drawing.Point(23, 125);
+ this.label53.Name = "label53";
+ this.label53.Size = new System.Drawing.Size(77, 12);
+ this.label53.TabIndex = 31;
+ this.label53.Text = "变频器重故障";
+ //
+ // label55
+ //
+ this.label55.AutoSize = true;
+ this.label55.Location = new System.Drawing.Point(23, 113);
+ this.label55.Name = "label55";
+ this.label55.Size = new System.Drawing.Size(89, 12);
+ this.label55.TabIndex = 30;
+ this.label55.Text = "变频器使能反馈";
+ //
+ // ACT_Speed_VFD
+ //
+ this.ACT_Speed_VFD.AutoSize = true;
+ this.ACT_Speed_VFD.Location = new System.Drawing.Point(6, 197);
+ this.ACT_Speed_VFD.Name = "ACT_Speed_VFD";
+ this.ACT_Speed_VFD.Size = new System.Drawing.Size(23, 12);
+ this.ACT_Speed_VFD.TabIndex = 18;
+ this.ACT_Speed_VFD.Text = "0.0";
+ //
+ // SetSpeed_M_VFD
+ //
+ this.SetSpeed_M_VFD.AutoSize = true;
+ this.SetSpeed_M_VFD.Location = new System.Drawing.Point(6, 185);
+ this.SetSpeed_M_VFD.Name = "SetSpeed_M_VFD";
+ this.SetSpeed_M_VFD.Size = new System.Drawing.Size(23, 12);
+ this.SetSpeed_M_VFD.TabIndex = 17;
+ this.SetSpeed_M_VFD.Text = "0.0";
+ //
+ // SetSpeed_A_VFD
+ //
+ this.SetSpeed_A_VFD.AutoSize = true;
+ this.SetSpeed_A_VFD.Location = new System.Drawing.Point(6, 173);
+ this.SetSpeed_A_VFD.Name = "SetSpeed_A_VFD";
+ this.SetSpeed_A_VFD.Size = new System.Drawing.Size(23, 12);
+ this.SetSpeed_A_VFD.TabIndex = 16;
+ this.SetSpeed_A_VFD.Text = "0.0";
+ //
+ // Start_A_VFD
+ //
+ this.Start_A_VFD.AutoSize = true;
+ this.Start_A_VFD.Location = new System.Drawing.Point(6, 41);
+ this.Start_A_VFD.Name = "Start_A_VFD";
+ this.Start_A_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Start_A_VFD.TabIndex = 2;
+ this.Start_A_VFD.Text = "0";
+ //
+ // Stop_A_VFD
+ //
+ this.Stop_A_VFD.AutoSize = true;
+ this.Stop_A_VFD.Location = new System.Drawing.Point(6, 53);
+ this.Stop_A_VFD.Name = "Stop_A_VFD";
+ this.Stop_A_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Stop_A_VFD.TabIndex = 3;
+ this.Stop_A_VFD.Text = "0";
+ //
+ // Polarity_VFD
+ //
+ this.Polarity_VFD.AutoSize = true;
+ this.Polarity_VFD.Location = new System.Drawing.Point(6, 161);
+ this.Polarity_VFD.Name = "Polarity_VFD";
+ this.Polarity_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Polarity_VFD.TabIndex = 15;
+ this.Polarity_VFD.Text = "0";
+ //
+ // Start_M_VFD
+ //
+ this.Start_M_VFD.AutoSize = true;
+ this.Start_M_VFD.Location = new System.Drawing.Point(6, 65);
+ this.Start_M_VFD.Name = "Start_M_VFD";
+ this.Start_M_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Start_M_VFD.TabIndex = 4;
+ this.Start_M_VFD.Text = "0";
+ //
+ // Stop_M_VFD
+ //
+ this.Stop_M_VFD.AutoSize = true;
+ this.Stop_M_VFD.Location = new System.Drawing.Point(6, 77);
+ this.Stop_M_VFD.Name = "Stop_M_VFD";
+ this.Stop_M_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Stop_M_VFD.TabIndex = 5;
+ this.Stop_M_VFD.Text = "0";
+ //
+ // Enable_VFD
+ //
+ this.Enable_VFD.AutoSize = true;
+ this.Enable_VFD.Location = new System.Drawing.Point(6, 149);
+ this.Enable_VFD.Name = "Enable_VFD";
+ this.Enable_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Enable_VFD.TabIndex = 14;
+ this.Enable_VFD.Text = "0";
+ //
+ // AlarmReset_VFD
+ //
+ this.AlarmReset_VFD.AutoSize = true;
+ this.AlarmReset_VFD.Location = new System.Drawing.Point(6, 89);
+ this.AlarmReset_VFD.Name = "AlarmReset_VFD";
+ this.AlarmReset_VFD.Size = new System.Drawing.Size(11, 12);
+ this.AlarmReset_VFD.TabIndex = 6;
+ this.AlarmReset_VFD.Text = "0";
+ //
+ // EXT_Estop_VFD
+ //
+ this.EXT_Estop_VFD.AutoSize = true;
+ this.EXT_Estop_VFD.Location = new System.Drawing.Point(6, 101);
+ this.EXT_Estop_VFD.Name = "EXT_Estop_VFD";
+ this.EXT_Estop_VFD.Size = new System.Drawing.Size(11, 12);
+ this.EXT_Estop_VFD.TabIndex = 7;
+ this.EXT_Estop_VFD.Text = "0";
+ //
+ // Error_VFD
+ //
+ this.Error_VFD.AutoSize = true;
+ this.Error_VFD.Location = new System.Drawing.Point(6, 137);
+ this.Error_VFD.Name = "Error_VFD";
+ this.Error_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Error_VFD.TabIndex = 13;
+ this.Error_VFD.Text = "0";
+ //
+ // AutoMode_VFD
+ //
+ this.AutoMode_VFD.AutoSize = true;
+ this.AutoMode_VFD.Location = new System.Drawing.Point(6, 17);
+ this.AutoMode_VFD.Name = "AutoMode_VFD";
+ this.AutoMode_VFD.Size = new System.Drawing.Size(11, 12);
+ this.AutoMode_VFD.TabIndex = 8;
+ this.AutoMode_VFD.Text = "0";
+ //
+ // ManMode_VFD
+ //
+ this.ManMode_VFD.AutoSize = true;
+ this.ManMode_VFD.Location = new System.Drawing.Point(6, 29);
+ this.ManMode_VFD.Name = "ManMode_VFD";
+ this.ManMode_VFD.Size = new System.Drawing.Size(11, 12);
+ this.ManMode_VFD.TabIndex = 9;
+ this.ManMode_VFD.Text = "0";
+ //
+ // Alarm_VFD
+ //
+ this.Alarm_VFD.AutoSize = true;
+ this.Alarm_VFD.Location = new System.Drawing.Point(6, 125);
+ this.Alarm_VFD.Name = "Alarm_VFD";
+ this.Alarm_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Alarm_VFD.TabIndex = 12;
+ this.Alarm_VFD.Text = "0";
+ //
+ // Running_VFD
+ //
+ this.Running_VFD.AutoSize = true;
+ this.Running_VFD.Location = new System.Drawing.Point(6, 113);
+ this.Running_VFD.Name = "Running_VFD";
+ this.Running_VFD.Size = new System.Drawing.Size(11, 12);
+ this.Running_VFD.TabIndex = 11;
+ this.Running_VFD.Text = "0";
+ //
+ // Refresh
+ //
+ this.Refresh.Location = new System.Drawing.Point(120, 377);
+ this.Refresh.Name = "Refresh";
+ this.Refresh.Size = new System.Drawing.Size(151, 35);
+ this.Refresh.TabIndex = 8;
+ this.Refresh.Text = "刷新";
+ this.Refresh.UseVisualStyleBackColor = true;
+ this.Refresh.Click += new System.EventHandler(this.Refresh_Click);
+ //
+ // MotorInitStateMonitor
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
+ this.ClientSize = new System.Drawing.Size(404, 422);
+ this.Controls.Add(this.Refresh);
+ this.Controls.Add(this.DmChange_FOR_MOTOR_VFD);
+ this.Controls.Add(this.FOR_MOTOR_VFD);
+ this.Controls.Add(this.DmChange_FOR_MOTOR);
+ this.Controls.Add(this.FOR_MOTOR);
+ this.Name = "MotorInitStateMonitor";
this.Text = "MotorInitStateMonitor";
+ this.FOR_MOTOR.ResumeLayout(false);
+ this.FOR_MOTOR.PerformLayout();
+ this.FOR_MOTOR_VFD.ResumeLayout(false);
+ this.FOR_MOTOR_VFD.PerformLayout();
+ this.ResumeLayout(false);
+
}
#endregion
+
+ private System.Windows.Forms.ListBox DmChange_FOR_MOTOR;
+ private System.Windows.Forms.GroupBox FOR_MOTOR;
+ private System.Windows.Forms.Label Alarm;
+ private System.Windows.Forms.Label Run;
+ private System.Windows.Forms.Label Running;
+ private System.Windows.Forms.Label AlarmReset;
+ private System.Windows.Forms.Label StopAuto;
+ private System.Windows.Forms.Label StartAuto;
+ private System.Windows.Forms.Label StopManual;
+ private System.Windows.Forms.Label StartManual;
+ private System.Windows.Forms.Label AutoMode;
+ private System.Windows.Forms.Label ManualMode;
+ private System.Windows.Forms.Label AlarmLable;
+ private System.Windows.Forms.Label RunLable;
+ private System.Windows.Forms.Label RunningLable;
+ private System.Windows.Forms.Label AlarmResetLable;
+ private System.Windows.Forms.Label StopAutoLable;
+ private System.Windows.Forms.Label StartAutoLable;
+ private System.Windows.Forms.Label StopManualLable;
+ private System.Windows.Forms.Label StartManualLable;
+ private System.Windows.Forms.Label AutoModeLable;
+ private System.Windows.Forms.Label ManualModeLable;
+ private System.Windows.Forms.ListBox DmChange_FOR_MOTOR_VFD;
+ private System.Windows.Forms.GroupBox FOR_MOTOR_VFD;
+ private System.Windows.Forms.Label label37;
+ private System.Windows.Forms.Label label38;
+ private System.Windows.Forms.Label label41;
+ private System.Windows.Forms.Label label42;
+ private System.Windows.Forms.Label label43;
+ private System.Windows.Forms.Label label44;
+ private System.Windows.Forms.Label label45;
+ private System.Windows.Forms.Label label46;
+ private System.Windows.Forms.Label label47;
+ private System.Windows.Forms.Label label48;
+ private System.Windows.Forms.Label label49;
+ private System.Windows.Forms.Label label50;
+ private System.Windows.Forms.Label label51;
+ private System.Windows.Forms.Label label52;
+ private System.Windows.Forms.Label label53;
+ private System.Windows.Forms.Label label55;
+ private System.Windows.Forms.Label ACT_Speed_VFD;
+ private System.Windows.Forms.Label SetSpeed_M_VFD;
+ private System.Windows.Forms.Label SetSpeed_A_VFD;
+ private System.Windows.Forms.Label Start_A_VFD;
+ private System.Windows.Forms.Label Stop_A_VFD;
+ private System.Windows.Forms.Label Polarity_VFD;
+ private System.Windows.Forms.Label Start_M_VFD;
+ private System.Windows.Forms.Label Stop_M_VFD;
+ private System.Windows.Forms.Label Enable_VFD;
+ private System.Windows.Forms.Label AlarmReset_VFD;
+ private System.Windows.Forms.Label EXT_Estop_VFD;
+ private System.Windows.Forms.Label Error_VFD;
+ private System.Windows.Forms.Label AutoMode_VFD;
+ private System.Windows.Forms.Label ManMode_VFD;
+ private System.Windows.Forms.Label Alarm_VFD;
+ private System.Windows.Forms.Label Running_VFD;
+ private System.Windows.Forms.Button Refresh;
}
}
\ 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
index 9fc767b..ab74dae 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.cs
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/EngineeringDebuggingMode/MotorInitStateMonitor/MotorInitStateMonitor.cs
@@ -1,4 +1,5 @@
-using System;
+using Mesnac.Action.ChemicalWeighing.Entity;
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -12,9 +13,166 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitState
{
public partial class MotorInitStateMonitor : Form
{
+
+ string DmName_FOR_MOTOR = "DM1GDP01";
+ string DmName_FOR_MOTOR_VFD = "DM1DSM01";
+
public MotorInitStateMonitor()
{
InitializeComponent();
+ StateMonitor_FOR_MOTOR(DmName_FOR_MOTOR);
+ StateMonitor_FOR_MOTOR_VFD(DmName_FOR_MOTOR_VFD);
+ }
+
+ private void DmChange_FOR_MOTOR_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ DmName_FOR_MOTOR = dmNameValue[DmChange_FOR_MOTOR_VFD.Text];
+ StateMonitor_FOR_MOTOR(DmName_FOR_MOTOR);
+ }
+
+ private void DmChange_FOR_MOTOR_VFD_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ DmName_FOR_MOTOR_VFD = dmNameValue[DmChange_FOR_MOTOR.Text];
+ StateMonitor_FOR_MOTOR_VFD(DmName_FOR_MOTOR_VFD);
+ }
+
+ private void Refresh_Click(object sender, EventArgs e)
+ {
+ StateMonitor_FOR_MOTOR(DmName_FOR_MOTOR);
+ StateMonitor_FOR_MOTOR_VFD(DmName_FOR_MOTOR_VFD);
+ }
+
+ ///
+ /// 根据属性名和现在选择的数据块名得到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 void StateMonitor_FOR_MOTOR(String dmName)
+ {
+ ManualMode.Text = GetDataToString(dmName, "_ManualMode");
+ AutoMode.Text = GetDataToString(dmName, "_AutoMode");
+ AlarmReset.Text = GetDataToString(dmName, "_AlarmReset");
+ StartManual.Text = GetDataToString(dmName, "_StartManual");
+ StopManual.Text = GetDataToString(dmName, "_StopManual");
+ StartAuto.Text = GetDataToString(dmName, "_StartAuto");
+ StopAuto.Text = GetDataToString(dmName, "_StopAuto");
+ Running.Text = GetDataToString(dmName, "_Running");
+ Run.Text = GetDataToString(dmName, "_Run");
+ Alarm.Text = GetDataToString(dmName, "_Alarm");
}
+
+ private void StateMonitor_FOR_MOTOR_VFD(string dmName)
+ {
+ AutoMode_VFD.Text = GetDataToString(dmName, "_AutoMode");
+ ManMode_VFD.Text = GetDataToString(dmName, "_ManMode");
+ Start_A_VFD.Text = GetDataToString(dmName, "_StartA");
+ Stop_A_VFD.Text = GetDataToString(dmName, "_StopA");
+ Start_M_VFD.Text = GetDataToString(dmName, "_StartM");
+ Stop_M_VFD.Text = GetDataToString(dmName, "_StopM");
+ AlarmReset_VFD.Text = GetDataToString(dmName, "_AlarmReset");
+ EXT_Estop_VFD.Text = GetDataToString(dmName, "_EXTEstop");
+ Running_VFD.Text = GetDataToString(dmName, "_Running");
+ Alarm_VFD.Text = GetDataToString(dmName, "_Alarm");
+ Error_VFD.Text = GetDataToString(dmName, "_Error");
+ Enable_VFD.Text = GetDataToString(dmName, "_Enable");
+ Polarity_VFD.Text = GetDataToString(dmName, "_Polarity");
+ SetSpeed_A_VFD.Text = GetDataToString(dmName, "_SetSpeedA");
+ SetSpeed_M_VFD.Text = GetDataToString(dmName, "_SetSpeedM");
+ ACT_Speed_VFD.Text = GetDataToString(dmName, "_ACTSpeed");
+ }
+
+ private IDictionary dmNameValue = new Dictionary()
+ {
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = "",
+ [""] = ""
+
+ };
}
}
diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj
index c9637e8..bcfacea 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj
@@ -218,6 +218,12 @@
ElectronicMachineryDataStateMonitor.cs
+
+ Form
+
+
+ MotorInitStateMonitor.cs
+
Form
@@ -717,6 +723,9 @@
ElectronicMachineryDataStateMonitor.cs
+
+ MotorInitStateMonitor.cs
+
ValveInitStateMonitor.cs
diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/TestAction.cs
index b8c9114..c514c0c 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.MotorInitStateMonitor;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.NewFolder1;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateControl;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateMonitor;
@@ -44,7 +45,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test
// dbHelper.CommandText = sql;
- ValveInitStateMonitor Form = new ValveInitStateMonitor();
+ MotorInitStateMonitor Form = new MotorInitStateMonitor();
Form.Show();