add - MotorinitStateMonitor 结束

master
wangsr 1 year ago
parent af10a16d38
commit 4eb0084239

@ -14,8 +14,8 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitState
public partial class MotorInitStateMonitor : Form
{
string DmName_FOR_MOTOR = "DM1GDP01";
string DmName_FOR_MOTOR_VFD = "DM1DSM01";
string DmName_FOR_MOTOR = "DM1ASI01";
string DmName_FOR_MOTOR_VFD = "24T11A-D";
public MotorInitStateMonitor()
{
@ -26,13 +26,13 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitState
private void DmChange_FOR_MOTOR_SelectedIndexChanged(object sender, EventArgs e)
{
DmName_FOR_MOTOR = dmNameValue[DmChange_FOR_MOTOR_VFD.Text];
DmName_FOR_MOTOR = dmNameValue[DmChange_FOR_MOTOR.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];
DmName_FOR_MOTOR_VFD = dmNameValue[DmChange_FOR_MOTOR_VFD.Text];
StateMonitor_FOR_MOTOR_VFD(DmName_FOR_MOTOR_VFD);
}
@ -79,99 +79,100 @@ namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitState
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");
ManMode_VFD.Text = GetDataToString(dmName, "_ManualMode");
Start_A_VFD.Text = GetDataToString(dmName, "_Start_A");
Stop_A_VFD.Text = GetDataToString(dmName, "_Stop_A");
Start_M_VFD.Text = GetDataToString(dmName, "_Start_M");
Stop_M_VFD.Text = GetDataToString(dmName, "_Stop_M");
AlarmReset_VFD.Text = GetDataToString(dmName, "_AlarmReset");
EXT_Estop_VFD.Text = GetDataToString(dmName, "_EXTEstop");
EXT_Estop_VFD.Text = GetDataToString(dmName, "_EXT_Estop");
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");
SetSpeed_A_VFD.Text = GetDataToString(dmName, "_SetSpeed_A");
SetSpeed_M_VFD.Text = GetDataToString(dmName, "_SetSpeed_M");
ACT_Speed_VFD.Text = GetDataToString(dmName, "_ACT_Speed");
}
private IDictionary<string, string> dmNameValue = new Dictionary<string, string>()
{
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = "",
[""] = ""
["大储仓A活化料斗振动电机"] = "DM1ASI01",
["大储仓B活化料斗振动电机"] = "DM1BSI01",
["大储仓C活化料斗振动电机"] = "DM1CSI01",
["大储仓D活化料斗振动电机"] = "DM1DSI01",
["大储仓E活化料斗振动电机"] = "DM1ESI01",
["大储仓F活化料斗振动电机"] = "DM1FSI01",
["大储仓G活化料斗振动电机"] = "DM1GSI01",
["大储仓H活化料斗振动电机"] = "DM1HSI01",
["大储仓I活化料斗振动电机"] = "DM1ISI01",
["大储仓J活化料斗振动电机"] = "DM1JSI01",
["大储仓K活化料斗振动电机"] = "DM1KSI01",
["大储仓L活化料斗振动电机"] = "DM1LSI01",
["大储仓M活化料斗振动电机"] = "DM1MSI01",
["大储仓N活化料斗振动电机"] = "DM1NSI01",
["大储仓O活化料斗振动电机"] = "DM1OSI01",
["缓存仓1A出料旋转阀电机"] = "DM1ADB01",
["缓存仓1B出料旋转阀电机"] = "DM1BDB01",
["缓存仓1C出料旋转阀电机"] = "DM1CDB01",
["缓存仓1D出料旋转阀电机"] = "DM1DDB01",
["缓存仓1E出料旋转阀电机"] = "DM1EDB01",
["缓存仓1F出料旋转阀电机"] = "DM1FDB01",
["缓存仓1G出料旋转阀电机"] = "DM1GDB01",
["缓存仓1H出料旋转阀电机"] = "DM1HDB01",
["缓存仓1I出料旋转阀电机"] = "DM1IDB01",
["缓存仓1J出料旋转阀电机"] = "DM1JDB01",
["缓存仓1K出料旋转阀电机"] = "DM1KDB01",
["缓存仓1L出料旋转阀电机"] = "DM1LDB01",
["日储仓除尘器1A除尘风机电机"] = "DM1ADF01",
["日储仓除尘器1B除尘风机电机"] = "DM1BDF01",
["日储仓除尘器1C除尘风机电机"] = "DM1CDF01",
["日储仓除尘器1D除尘风机电机"] = "DM1DDF01",
["日储仓除尘器1E除尘风机电机"] = "DM1EDF01",
["日储仓除尘器1F除尘风机电机"] = "DM1FDF01",
["日储仓除尘器1G除尘风机电机"] = "DM1GDF01",
["日储仓除尘器1H除尘风机电机"] = "DM1HDF01",
["日储仓除尘器1I除尘风机电机"] = "DM1IDF01",
["日储仓除尘器1J除尘风机电机"] = "DM1JDF01",
["日储仓除尘器1K除尘风机电机"] = "DM1KDF01",
["日储仓除尘器1L除尘风机电机"] = "DM1LDF01",
["主除尘风机"] = "DMFILTER",
["螺旋输送机1A减速机电机"] = "DM1ASF01",
["螺旋输送机1B减速机电机"] = "DM1BSF01",
["螺旋输送机1C减速机电机"] = "DM1CSF01",
["螺旋输送机1D减速机电机"] = "DM1DSF01",
["螺旋输送机1E减速机电机"] = "DM1ESF01",
["螺旋输送机1F减速机电机"] = "DM1FSF01",
["螺旋输送机1G减速机电机"] = "DM1GSF01",
["螺旋输送机1H减速机电机"] = "DM1HSF01",
["螺旋输送机1I减速机电机"] = "DM1ISF01",
["螺旋输送机1J减速机电机"] = "DM1JSF01",
["螺旋输送机1K减速机电机"] = "DM1KSF01",
["螺旋输送机1L减速机电机"] = "DM1LSF01",
["螺旋输送机1M减速机电机"] = "DM1MSF01",
["螺旋输送机1N减速机电机"] = "DM1NSF01",
["螺旋A-D变频共用"] = "24T11A-D",
["螺旋G-J变频共用"] = "64T01G-J",
["螺旋E-F变频共用"] = "64T61E-F",
["螺旋K-N变频共用"] = "DM1K-NSF01",
["螺旋输送机1O减速机电机"] = "DM1OSF01",
["双向螺旋电机01"] = "DM2ASF01",
["双向螺旋电机02"] = "DM2BSF01",
["双向螺旋电机03"] = "DM2CSF01",
["双向螺旋电机04"] = "DM2DSF01",
["干混主电机D1"] = "DM1DRY1",
["干混主电机D2"] = "DM1DRY2",
["干混主电机D3"] = "DM1DRY3",
["干混主电机D4"] = "DM1DRY4",
["糊化锅A"] = "DM1GEM",
["糊化锅B"] = "DM2GEM",
["糊化锅C"] = "DM3GEM",
["糊化锅D"] = "DM4GEM",
["糊化锅E"] = "DM5GEM",
["糊化锅F"] = "DM6GEM",
["糊化锅G"] = "DM7GEM",
["糊化锅H"] = "DM8GEM"
};
}

@ -26,7 +26,7 @@
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="DoubleClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAARAAAABwMAAAAA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4BgYAAAAM5oql6KGo5piO57uGBgcAAAAM5oql6KGo5piO57uGCw==</Binary>
</Property>
<Property name="SelectionChangedActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAADAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAANBAs=</Binary>

Loading…
Cancel
Save