diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/InitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/InitAction.cs index af7b149..b562fe4 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/InitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/InitAction.cs @@ -1,10 +1,11 @@ -using Mesnac.Action.Base; +using DataBlockHelper; +using HslCommunication; +using Mesnac.Action.Base; using Mesnac.Controls.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; namespace Mesnac.Action.ChemicalWeighing.ManualControl @@ -13,15 +14,14 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl { List McControllist; - + OperateResult Read; + byte[] content; public void Run(RuntimeParameter runtime) { + base.RunIni(runtime); //必须要调用的 - List mcControllist = GetAllDbMCControlsByOption(DbOptionTypes.Query);//获取所有待初始化控件 - //IBaseControl startdate = mcControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey.ToLower() == "startdate").FirstOrDefault().BaseControl; - McControllist = GetAllDbMCControlsByOption(DbOptionTypes.InitData);//获取所有待初始化控件 IBaseControl WaterActualValue1 = GetBaseControl("WaterActualValue1"); @@ -33,7 +33,48 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl IBaseControl SpiralActValue3 = GetBaseControl("SpiralActValue3"); IBaseControl SpiralActValue4 = GetBaseControl("SpiralActValue4"); - MessageBox.Show("LoadingSuccess!"); + Read = PlcConnect.Instance.Read("DB2119.22.0", 2); + + content = Read.Content; + + WaterActualValue1.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + + Read = PlcConnect.Instance.Read("DB2119.2.0", 2); + + content = Read.Content; + + WaterActualValue2.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + + Read = PlcConnect.Instance.Read("DB2119.32.0", 2); + + content = Read.Content; + + WaterActualValue3.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + + Read = PlcConnect.Instance.Read("DB2119.12.0", 2); + + content = Read.Content; + + WaterActualValue4.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + + Read = PlcConnect.Instance.Read("DB2119.42.0", 2); + + content = Read.Content; + + SpiralActValue1.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + + Read = PlcConnect.Instance.Read("DB2119.64.0", 2); + + content = Read.Content; + + SpiralActValue2.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + + Read = PlcConnect.Instance.Read("DB2119.86.0", 2); + + content = Read.Content; + + SpiralActValue3.MCValue = PlcConnect.Instance.ByteTransform.TransInt16(content, 0); + } private IBaseControl GetBaseControl(string name) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/ManualControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/ManualControlAction.cs index bb36514..5e4f8fb 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/ManualControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/ManualControl/ManualControlAction.cs @@ -52,6 +52,10 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl IBaseControl SpiralOn2 = GetBaseControl("SpiralOn2"); IBaseControl SpiralOn3 = GetBaseControl("SpiralOn3"); IBaseControl SpiralOn4 = GetBaseControl("SpiralOn4"); + IBaseControl SpiralOff1 = GetBaseControl("SpiralOff1"); + IBaseControl SpiralOff2 = GetBaseControl("SpiralOff2"); + IBaseControl SpiralOff3 = GetBaseControl("SpiralOff3"); + IBaseControl SpiralOff4 = GetBaseControl("SpiralOff4"); IBaseControl Gel1 = GetBaseControl("Gel1"); IBaseControl Gel2 = GetBaseControl("Gel2"); @@ -78,6 +82,27 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl IBaseControl SetSpiralValue2 = GetBaseControl("SetSpiralValue2"); IBaseControl SetSpiralValue3 = GetBaseControl("SetSpiralValue3"); IBaseControl SetSpiralValue4 = GetBaseControl("SetSpiralValue4"); + IBaseControl FastSpiralValue1 = GetBaseControl("FastSpiralValue1"); + IBaseControl FastSpiralValue2 = GetBaseControl("FastSpiralValue2"); + IBaseControl FastSpiralValue3 = GetBaseControl("FastSpiralValue3"); + IBaseControl FastSpiralValue4 = GetBaseControl("FastSpiralValue4"); + IBaseControl PointSpiralValue1 = GetBaseControl("PointSpiralValue1"); + IBaseControl PointSpiralValue2 = GetBaseControl("PointSpiralValue2"); + IBaseControl PointSpiralValue3 = GetBaseControl("PointSpiralValue3"); + IBaseControl PointSpiralValue4 = GetBaseControl("PointSpiralValue4"); + IBaseControl FastSpeedSpiralValue1 = GetBaseControl("FastSpeedSpiralValue1"); + IBaseControl FastSpeedSpiralValue2 = GetBaseControl("FastSpeedSpiralValue2"); + IBaseControl FastSpeedSpiralValue3 = GetBaseControl("FastSpeedSpiralValue3"); + IBaseControl FastSpeedSpiralValue4 = GetBaseControl("FastSpeedSpiralValue4"); + IBaseControl LowSpeedSpiralValue1 = GetBaseControl("LowSpeedSpiralValue1"); + IBaseControl LowSpeedSpiralValue2 = GetBaseControl("LowSpeedSpiralValue2"); + IBaseControl LowSpeedSpiralValue3 = GetBaseControl("LowSpeedSpiralValue3"); + IBaseControl LowSpeedSpiralValue4 = GetBaseControl("LowSpeedSpiralValue4"); + IBaseControl PointSpeedSpiralValue1 = GetBaseControl("PointSpeedSpiralValue1"); + IBaseControl PointSpeedSpiralValue2 = GetBaseControl("PointSpeedSpiralValue2"); + IBaseControl PointSpeedSpiralValue3 = GetBaseControl("PointSpeedSpiralValue3"); + IBaseControl PointSpeedSpiralValue4 = GetBaseControl("PointSpeedSpiralValue4"); + #endregion @@ -289,8 +314,6 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl return; } - MesnacServiceManager.Instance.LoggingService.Info("冷水称A开始排水"); - switch (GelChooseA) { case 1: @@ -309,8 +332,13 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl PlcConnect.Instance.Write("DB2119.26.0", Convert.ToUInt16(4)); PlcConnect.Instance.Write("DB2119.28.4", true); break; - default: break; + default: + MessageBox.Show("请选择一个糊化锅!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("冷水称A开始排水"); + } if (WaterOut2 == runtime.Sender) @@ -320,8 +348,6 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl return; } - MesnacServiceManager.Instance.LoggingService.Info("热水称A开始排水"); - switch (GelChooseA) { case 1: @@ -340,8 +366,13 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl PlcConnect.Instance.Write("DB2119.6.0", Convert.ToUInt16(4)); PlcConnect.Instance.Write("DB2119.8.4", true); break; - default: break; + default: + MessageBox.Show("请选择一个糊化锅!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("热水称A开始排水"); + } if (WaterOut3 == runtime.Sender) @@ -351,8 +382,6 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl return; } - MesnacServiceManager.Instance.LoggingService.Info("冷水称B开始排水"); - switch (GelChooseB) { case 5: @@ -361,18 +390,23 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl break; case 6: PlcConnect.Instance.Write("DB2119.36.0", Convert.ToUInt16(2)); - PlcConnect.Instance.Write("DB2119.8.4", true); + PlcConnect.Instance.Write("DB2119.38.4", true); break; case 7: PlcConnect.Instance.Write("DB2119.36.0", Convert.ToUInt16(3)); - PlcConnect.Instance.Write("DB2119.8.4", true); + PlcConnect.Instance.Write("DB2119.38.4", true); break; case 8: PlcConnect.Instance.Write("DB2119.36.0", Convert.ToUInt16(4)); - PlcConnect.Instance.Write("DB2119.8.4", true); + PlcConnect.Instance.Write("DB2119.38.4", true); break; - default: break; + default: + MessageBox.Show("请选择一个糊化锅!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("冷水称B开始排水"); + } if (WaterOut4 == runtime.Sender) @@ -382,8 +416,6 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl return; } - MesnacServiceManager.Instance.LoggingService.Info("热水称B开始排水"); - switch (GelChooseB) { case 5: @@ -402,20 +434,34 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl PlcConnect.Instance.Write("DB2119.16.0", Convert.ToUInt16(4)); PlcConnect.Instance.Write("DB2119.18.4", true); break; - default: break; + default: + MessageBox.Show("请选择一个糊化锅!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("热水称B开始排水"); + } if (SpiralOn1 == runtime.Sender) { - float value; - if (float.TryParse(Convert.ToString(SetSpiralValue1.MCValue), out value)) + float valueSet; + float valueFast; + float valuePoint; + float valueSpeedFast; + float valueSpeedLow; + float valueSpeedPoint; + if (float.TryParse(Convert.ToString(SetSpiralValue1.MCValue), out valueSet) && + float.TryParse(Convert.ToString(FastSpiralValue1.MCValue), out valueFast) && + float.TryParse(Convert.ToString(PointSpiralValue1.MCValue), out valuePoint) && + float.TryParse(Convert.ToString(FastSpeedSpiralValue1.MCValue), out valueSpeedFast) && + float.TryParse(Convert.ToString(LowSpeedSpiralValue1.MCValue), out valueSpeedLow) && + float.TryParse(Convert.ToString(PointSpeedSpiralValue1.MCValue), out valueSpeedPoint)) { if (MessageBox.Show("螺旋1确认启动?", "螺旋启动确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { return; } - MesnacServiceManager.Instance.LoggingService.Info("螺旋1启动"); } else { @@ -427,25 +473,53 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl switch (WetChoose1) { case 1: - + PlcConnect.Instance.Write("DB2119.40.0", Convert.ToUInt16(valueSet)); + PlcConnect.Instance.Write("DB2119.44.0", Convert.ToUInt16(valueFast)); + PlcConnect.Instance.Write("DB2119.46.0", Convert.ToUInt16(valuePoint)); + PlcConnect.Instance.Write("DB2119.50.0", Convert.ToUInt16(valueSpeedFast)); + PlcConnect.Instance.Write("DB2119.52.0", Convert.ToUInt16(valueSpeedLow)); + PlcConnect.Instance.Write("DB2119.54.0", Convert.ToUInt16(valueSpeedPoint)); + PlcConnect.Instance.Write("DB2119.58.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write("DB2119.60.0", true); break; case 2: - + PlcConnect.Instance.Write("DB2119.40.0", Convert.ToUInt16(valueSet)); + PlcConnect.Instance.Write("DB2119.44.0", Convert.ToUInt16(valueFast)); + PlcConnect.Instance.Write("DB2119.46.0", Convert.ToUInt16(valuePoint)); + PlcConnect.Instance.Write("DB2119.50.0", Convert.ToUInt16(valueSpeedFast)); + PlcConnect.Instance.Write("DB2119.52.0", Convert.ToUInt16(valueSpeedLow)); + PlcConnect.Instance.Write("DB2119.54.0", Convert.ToUInt16(valueSpeedPoint)); + PlcConnect.Instance.Write("DB2119.58.0", Convert.ToUInt16(2)); + PlcConnect.Instance.Write("DB2119.60.0", true); break; - default: break; + default: + MessageBox.Show("请选择一个湿混机!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("螺旋1启动"); + } if (SpiralOn2 == runtime.Sender) { - float value; - if (float.TryParse(Convert.ToString(SetSpiralValue2.MCValue), out value)) + float valueSet; + float valueFast; + float valuePoint; + float valueSpeedFast; + float valueSpeedLow; + float valueSpeedPoint; + if (float.TryParse(Convert.ToString(SetSpiralValue2.MCValue), out valueSet) && + float.TryParse(Convert.ToString(FastSpiralValue2.MCValue), out valueFast) && + float.TryParse(Convert.ToString(PointSpiralValue2.MCValue), out valuePoint) && + float.TryParse(Convert.ToString(FastSpeedSpiralValue2.MCValue), out valueSpeedFast) && + float.TryParse(Convert.ToString(LowSpeedSpiralValue2.MCValue), out valueSpeedLow) && + float.TryParse(Convert.ToString(PointSpeedSpiralValue2.MCValue), out valueSpeedPoint)) { if (MessageBox.Show("螺旋2确认启动?", "螺旋启动确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { return; } - MesnacServiceManager.Instance.LoggingService.Info("螺旋2启动"); } else { @@ -457,25 +531,53 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl switch (WetChoose2) { case 3: - + PlcConnect.Instance.Write("DB2119.62.0", Convert.ToUInt16(valueSet)); + PlcConnect.Instance.Write("DB2119.66.0", Convert.ToUInt16(valueFast)); + PlcConnect.Instance.Write("DB2119.68.0", Convert.ToUInt16(valuePoint)); + PlcConnect.Instance.Write("DB2119.72.0", Convert.ToUInt16(valueSpeedFast)); + PlcConnect.Instance.Write("DB2119.74.0", Convert.ToUInt16(valueSpeedLow)); + PlcConnect.Instance.Write("DB2119.76.0", Convert.ToUInt16(valueSpeedPoint)); + PlcConnect.Instance.Write("DB2119.80.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write("DB2119.82.0", true); break; case 4: - + PlcConnect.Instance.Write("DB2119.62.0", Convert.ToUInt16(valueSet)); + PlcConnect.Instance.Write("DB2119.66.0", Convert.ToUInt16(valueFast)); + PlcConnect.Instance.Write("DB2119.68.0", Convert.ToUInt16(valuePoint)); + PlcConnect.Instance.Write("DB2119.72.0", Convert.ToUInt16(valueSpeedFast)); + PlcConnect.Instance.Write("DB2119.74.0", Convert.ToUInt16(valueSpeedLow)); + PlcConnect.Instance.Write("DB2119.76.0", Convert.ToUInt16(valueSpeedPoint)); + PlcConnect.Instance.Write("DB2119.80.0", Convert.ToUInt16(2)); + PlcConnect.Instance.Write("DB2119.82.0", true); break; - default: break; + default: + MessageBox.Show("请选择一个湿混机!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("螺旋2启动"); + } if (SpiralOn3 == runtime.Sender) { - float value; - if (float.TryParse(Convert.ToString(SetSpiralValue3.MCValue), out value)) + float valueSet; + float valueFast; + float valuePoint; + float valueSpeedFast; + float valueSpeedLow; + float valueSpeedPoint; + if (float.TryParse(Convert.ToString(SetSpiralValue3.MCValue), out valueSet) && + float.TryParse(Convert.ToString(FastSpiralValue3.MCValue), out valueFast) && + float.TryParse(Convert.ToString(PointSpiralValue3.MCValue), out valuePoint) && + float.TryParse(Convert.ToString(FastSpeedSpiralValue3.MCValue), out valueSpeedFast) && + float.TryParse(Convert.ToString(LowSpeedSpiralValue3.MCValue), out valueSpeedLow) && + float.TryParse(Convert.ToString(PointSpeedSpiralValue3.MCValue), out valueSpeedPoint)) { if (MessageBox.Show("螺旋3确认启动?", "螺旋启动确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { return; } - MesnacServiceManager.Instance.LoggingService.Info("螺旋3启动"); } else { @@ -487,49 +589,119 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl switch (WetChoose3) { case 5: - + PlcConnect.Instance.Write("DB2119.84.0", Convert.ToUInt16(valueSet)); + PlcConnect.Instance.Write("DB2119.88.0", Convert.ToUInt16(valueFast)); + PlcConnect.Instance.Write("DB2119.90.0", Convert.ToUInt16(valuePoint)); + PlcConnect.Instance.Write("DB2119.94.0", Convert.ToUInt16(valueSpeedFast)); + PlcConnect.Instance.Write("DB2119.96.0", Convert.ToUInt16(valueSpeedLow)); + PlcConnect.Instance.Write("DB2119.98.0", Convert.ToUInt16(valueSpeedPoint)); + PlcConnect.Instance.Write("DB2119.102.0", Convert.ToUInt16(1)); + PlcConnect.Instance.Write("DB2119.104.0", true); break; case 6: - + PlcConnect.Instance.Write("DB2119.84.0", Convert.ToUInt16(valueSet)); + PlcConnect.Instance.Write("DB2119.88.0", Convert.ToUInt16(valueFast)); + PlcConnect.Instance.Write("DB2119.90.0", Convert.ToUInt16(valuePoint)); + PlcConnect.Instance.Write("DB2119.94.0", Convert.ToUInt16(valueSpeedFast)); + PlcConnect.Instance.Write("DB2119.96.0", Convert.ToUInt16(valueSpeedLow)); + PlcConnect.Instance.Write("DB2119.98.0", Convert.ToUInt16(valueSpeedPoint)); + PlcConnect.Instance.Write("DB2119.102.0", Convert.ToUInt16(2)); + PlcConnect.Instance.Write("DB2119.104.0", true); break; - default: break; + default: + MessageBox.Show("请选择一个湿混机!"); + return; } + + MesnacServiceManager.Instance.LoggingService.Info("螺旋3启动"); + } if (SpiralOn4 == runtime.Sender) { MessageBox.Show("二期工程,敬请期待!"); - //float value; - //if (float.TryParse(Convert.ToString(SetSpiralValue4.MCValue), out value)) + //float valueSet; + //float valueFast; + //float valuePoint; + //float valueSpeedFast; + //float valueSpeedLow; + //float valueSpeedPoint; + //if (float.TryParse(Convert.ToString(SetSpiralValue4.MCValue), out valueSet) && + // float.TryParse(Convert.ToString(FastSpiralValue4.MCValue), out valueFast) && + // float.TryParse(Convert.ToString(PointSpiralValue4.MCValue), out valuePoint) && + // float.TryParse(Convert.ToString(FastSpeedSpiralValue4.MCValue), out valueSpeedFast) && + // float.TryParse(Convert.ToString(LowSpeedSpiralValue4.MCValue), out valueSpeedLow) && + // float.TryParse(Convert.ToString(PointSpeedSpiralValue4.MCValue), out valueSpeedPoint)) //{ - // if (MessageBox.Show("螺旋4确认启动?", "螺旋启动确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) - // { - // return; - // } - // MesnacServiceManager.Instance.LoggingService.Info("螺旋4启动"); + // if (MessageBox.Show("螺旋4确认启动?", "螺旋启动确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) + // { + // return; + // } + // MesnacServiceManager.Instance.LoggingService.Info("螺旋4启动"); //} //else //{ - // MesnacServiceManager.Instance.LoggingService.Info("螺旋4输入数值的格式有误"); - // MessageBox.Show("输入数值的格式有误!"); - // return; + // MesnacServiceManager.Instance.LoggingService.Info("螺旋4输入数值的格式有误"); + // MessageBox.Show("输入数值的格式有误!"); + // return; //} //switch (WetChoose4) //{ - // case 7: + // case 7: + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSet)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueFast)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valuePoint)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSpeedFast)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSpeedLow)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSpeedPoint)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(1)); + // PlcConnect.Instance.Write("DB2119..0", true); + // break; + // case 8: + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSet)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueFast)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valuePoint)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSpeedFast)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSpeedLow)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(valueSpeedPoint)); + // PlcConnect.Instance.Write("DB2119..0", Convert.ToUInt16(2)); + // PlcConnect.Instance.Write("DB2119..0", true); + // break; + // default: return; + //} + } - // break; - // case 8: + if (SpiralOff1 == runtime.Sender) + { + PlcConnect.Instance.Write("DB2119.60.1", true); + MesnacServiceManager.Instance.LoggingService.Info("螺旋1已手动停止"); + MessageBox.Show("螺旋1已停止!"); + } - // break; - // default: break; - //} + if (SpiralOff2 == runtime.Sender) + { + PlcConnect.Instance.Write("DB2119.82.1", true); + MesnacServiceManager.Instance.LoggingService.Info("螺旋2已手动停止"); + MessageBox.Show("螺旋2已停止!"); } - #endregion + if (SpiralOff3 == runtime.Sender) + { + PlcConnect.Instance.Write("DB2119.104.1", true); + MesnacServiceManager.Instance.LoggingService.Info("螺旋3已手动停止"); + MessageBox.Show("螺旋3已停止!"); + } + if (SpiralOff4 == runtime.Sender) + { + MessageBox.Show("二期工程,敬请期待!"); + //PlcConnect.Instance.Write("DB2119..1", true); + //MesnacServiceManager.Instance.LoggingService.Info("螺旋4已手动停止"); + //MessageBox.Show("螺旋4已停止!"); + } + #endregion diff --git a/Main/MCEdit/Data/MCProject/nodeForm/ManualWaterControl.xml b/Main/MCEdit/Data/MCProject/nodeForm/ManualWaterControl.xml index aed8c9b..2d8cb40 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/ManualWaterControl.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/ManualWaterControl.xml @@ -1,5 +1,31 @@ + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAEAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIEFEQTI3NUNERUFEODQwREY4NkZFMDBCNjIzOEU0M0Q3BgYAAAAP56qX5L2T5Yid5aeL5YyWBgcAAAAP56qX5L2T5Yid5aeL5YyWCw== + + Refresh + + False + + + + None + True + True + False + + + Red + DarkGray + System + 刷新 + 宋体, 19pt + 12, 12 + MCButton9 + 678, 53 + 26 + @@ -43,7 +69,7 @@ Red DarkGray System - 螺旋1启动 + 螺旋2停止 85, 248 MCButton6 74, 38 @@ -385,7 +411,7 @@ False 湿混机螺旋2 - 183, 349 + 183, 408 GroupBox6 165, 291 25 @@ -605,7 +631,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAEAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDhBNkE3NzM4OTg2NDRFQjlBQ0FGQkRDOEZENjZERjNDBgYAAAAM5oyJ6ZKu5LqL5Lu2BgcAAAAM5oyJ6ZKu5LqL5Lu2Cw== - SpiralOff2 + SpiralOff3 False @@ -620,7 +646,7 @@ Red DarkGray System - 螺旋1启动 + 螺旋3停止 85, 248 MCButton7 74, 38 @@ -775,7 +801,7 @@ False 湿混机螺旋3 - 354, 349 + 354, 408 GroupBox7 165, 291 25 @@ -995,7 +1021,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAEAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDhBNkE3NzM4OTg2NDRFQjlBQ0FGQkRDOEZENjZERjNDBgYAAAAM5oyJ6ZKu5LqL5Lu2BgcAAAAM5oyJ6ZKu5LqL5Lu2Cw== - SpiralOff2 + SpiralOff4 False @@ -1010,7 +1036,7 @@ Red DarkGray System - 螺旋1启动 + 螺旋4停止 85, 248 MCButton8 74, 38 @@ -1165,7 +1191,7 @@ False 湿混机螺旋4 - 525, 349 + 525, 408 GroupBox8 165, 291 25 @@ -1400,7 +1426,7 @@ Red DarkGray System - 螺旋1启动 + 螺旋1停止 85, 247 MCButton5 74, 38 @@ -1555,7 +1581,7 @@ False 湿混机螺旋1 - 12, 349 + 12, 408 GroupBox5 165, 291 15 @@ -2011,7 +2037,7 @@ False B组水称控制 - 354, 12 + 354, 71 GroupBox2 336, 331 14 @@ -2485,7 +2511,7 @@ False A组水称控制 - 12, 12 + 12, 71 GroupBox1 336, 331 13 @@ -2506,7 +2532,7 @@ False False Control - 719, 689 + 719, 749 WindowsDefaultLocation 手动控制 Normal