diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Dan/Class1.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Dan/Class1.cs new file mode 100644 index 0000000..c6c3585 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Dan/Class1.cs @@ -0,0 +1,87 @@ +using Mesnac.Action.Base; +using Mesnac.Controls.ChemicalWeighing; + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace Mesnac.Action.ChemicalWeighing.Dan +{ + public class Class1 : ChemicalWeighingAction, IAction + { + + Que que; + public void Run(RuntimeParameter runtime) + { + RunIni(runtime); + + que = new Que(); + + var controller = GetAllControls(); + + PropertyInfo[] sourcePropertyInfoList = que.GetType().GetProperties(); + foreach (PropertyInfo sourceProperty in sourcePropertyInfoList) + { + string name = sourceProperty.Name; + var pro = controller.FirstOrDefault(x => x.Name == name) as HslLanternSimple; + sourceProperty.SetValue(que, pro); + } + } + } + + public class Que + { + public HslLanternSimple HslAA { get; set; } + public HslLanternSimple HslAB { get; set; } + public HslLanternSimple HslAC { get; set; } + public HslLanternSimple HslAD { get; set; } + public HslLanternSimple HslAE { get; set; } + public HslLanternSimple HslAF { get; set; } + public HslLanternSimple HslAG { get; set; } + public HslLanternSimple HslAH { get; set; } + public HslLanternSimple HslAI { get; set; } + public HslLanternSimple HslAJ { get; set; } + public HslLanternSimple HslAK { get; set; } + public HslLanternSimple HslAL { get; set; } + public HslLanternSimple HslAM { get; set; } + public HslLanternSimple HslAN { get; set; } + public HslLanternSimple HslAO { get; set; } + + + public HslLanternSimple HslBA { get; set; } + public HslLanternSimple HslBB { get; set; } + public HslLanternSimple HslBC { get; set; } + public HslLanternSimple HslBD { get; set; } + public HslLanternSimple HslBE { get; set; } + public HslLanternSimple HslBF { get; set; } + public HslLanternSimple HslBG { get; set; } + public HslLanternSimple HslBH { get; set; } + public HslLanternSimple HslBI { get; set; } + public HslLanternSimple HslBJ { get; set; } + public HslLanternSimple HslBK { get; set; } + public HslLanternSimple HslBL { get; set; } + public HslLanternSimple HslBM { get; set; } + public HslLanternSimple HslBN { get; set; } + public HslLanternSimple HslBO { get; set; } + + public HslLanternSimple HslCA { get; set; } + public HslLanternSimple HslCB { get; set; } + public HslLanternSimple HslCC { get; set; } + public HslLanternSimple HslCD { get; set; } + public HslLanternSimple HslCE { get; set; } + public HslLanternSimple HslCF { get; set; } + public HslLanternSimple HslCG { get; set; } + public HslLanternSimple HslCH { get; set; } + public HslLanternSimple HslCI { get; set; } + public HslLanternSimple HslCJ { get; set; } + public HslLanternSimple HslCK { get; set; } + public HslLanternSimple HslCL { get; set; } + public HslLanternSimple HslCM { get; set; } + public HslLanternSimple HslCN { get; set; } + public HslLanternSimple HslCO { get; set; } + + } +} diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj index 3da9ba9..7308664 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -257,6 +257,7 @@ + diff --git a/Main/MCEdit/Data/EventConfig/小料称量/我叫锄头.xml b/Main/MCEdit/Data/EventConfig/小料称量/我叫锄头.xml index c9b826d..d1e0e7e 100644 --- a/Main/MCEdit/Data/EventConfig/小料称量/我叫锄头.xml +++ b/Main/MCEdit/Data/EventConfig/小料称量/我叫锄头.xml @@ -20,6 +20,11 @@ 氮气 氮气 + + + 大仓确认 + 大仓确认 + @@ -40,7 +45,11 @@ - + + + + + @@ -51,6 +60,8 @@ + + diff --git a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj index 72202ac..b684239 100644 --- a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj +++ b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj @@ -39,6 +39,7 @@ + diff --git a/Main/MCEdit/Data/MCProject/nodeForm/FormQuRenAnNue.xml b/Main/MCEdit/Data/MCProject/nodeForm/FormQuRenAnNue.xml new file mode 100644 index 0000000..facc796 --- /dev/null +++ b/Main/MCEdit/Data/MCProject/nodeForm/FormQuRenAnNue.xml @@ -0,0 +1,613 @@ + + + + 1332, 191 + HslCO + 39, 37 + + + 1243, 191 + HslCN + 39, 37 + + + 1154, 191 + HslCM + 39, 37 + + + 1066, 191 + HslCL + 39, 37 + + + 977, 191 + HslCK + 39, 37 + + + 795, 191 + HslCI + 39, 37 + + + 876, 191 + HslCJ + 39, 37 + + + 718, 191 + HslCH + 39, 37 + + + 644, 191 + HslCG + 39, 37 + + + 540, 191 + HslCF + 39, 37 + + + 451, 191 + HslCE + 39, 37 + + + 269, 191 + HslCC + 39, 37 + + + 350, 191 + HslCD + 39, 37 + + + 192, 191 + HslCB + 39, 37 + + + + + Red + DarkGray + + + False + + + + None + True + True + 输送C + 宋体, 12pt + 33, 200 + MCLabel18 + 48, 16 + + + 118, 191 + HslCA + 39, 37 + + + 1332, 133 + HslBO + 39, 37 + + + 1243, 133 + HslBN + 39, 37 + + + 1154, 133 + HslBM + 39, 37 + + + 1066, 133 + HslBL + 39, 37 + + + 977, 133 + HslBK + 39, 37 + + + 795, 133 + HslBI + 39, 37 + + + 876, 133 + HslBJ + 39, 37 + + + 718, 133 + HslBH + 39, 37 + + + 644, 133 + HslBG + 39, 37 + + + 540, 133 + HslBF + 39, 37 + + + 451, 133 + HslBE + 39, 37 + + + 269, 133 + HslBC + 39, 37 + + + 350, 133 + HslBD + 39, 37 + + + 192, 133 + HslBB + 39, 37 + + + + + Red + DarkGray + + + False + + + + None + True + True + 输送B + 宋体, 12pt + 33, 142 + MCLabel17 + 48, 16 + + + 118, 133 + HslBA + 39, 37 + + + 1332, 73 + HslAO + 39, 37 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓O(回收罐) + 宋体, 9pt + 1332, 22 + MCLabel16 + 83, 12 + + + 1243, 73 + HslAN + 39, 37 + + + 1154, 73 + HslAM + 39, 37 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓N(碳粉8) + 宋体, 9pt + 1243, 22 + MCLabel14 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓M(碳粉7) + 宋体, 9pt + 1154, 22 + MCLabel15 + 77, 12 + + + 1066, 73 + HslAL + 39, 37 + + + 977, 73 + HslAK + 39, 37 + + + 795, 73 + HslAI + 39, 37 + + + 876, 73 + HslAJ + 39, 37 + + + 718, 73 + HslAH + 39, 37 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓L(碳粉6) + 宋体, 9pt + 1066, 22 + MCLabel8 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓K(碳粉5) + 宋体, 9pt + 977, 22 + MCLabel9 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓J(碳粉4) + 宋体, 9pt + 876, 22 + MCLabel10 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓I(碳粉3) + 宋体, 9pt + 792, 22 + MCLabel11 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓H(碳粉2) + 宋体, 9pt + 710, 22 + MCLabel12 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓G(碳粉1) + 宋体, 9pt + 635, 22 + MCLabel13 + 77, 12 + + + 644, 73 + HslAG + 39, 37 + + + 540, 73 + HslAF + 39, 37 + + + 451, 73 + HslAE + 39, 37 + + + 269, 73 + HslAC + 39, 37 + + + 350, 73 + HslAD + 39, 37 + + + 192, 73 + HslAB + 39, 37 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓F(玉米粉) + 宋体, 9pt + 540, 22 + MCLabel7 + 83, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓E(木薯粉) + 宋体, 9pt + 451, 22 + MCLabel6 + 83, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓D(碳酸9) + 宋体, 9pt + 340, 22 + MCLabel5 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓C(木粉) + 宋体, 9pt + 266, 22 + MCLabel4 + 71, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓B(钙酸钙) + 宋体, 9pt + 184, 22 + MCLabel3 + 83, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 大仓A(小料1) + 宋体, 9pt + 109, 22 + MCLabel2 + 77, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 输送A + 宋体, 12pt + 33, 82 + MCLabel1 + 48, 16 + + + 118, 73 + HslAA + 39, 37 + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAACAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWx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kJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + False + False + False + Control + 1441, 596 + WindowsDefaultLocation + 输送大仓确认 + Normal + + Tile + 宋体, 9pt + ControlText + FormQuRenAnNue + diff --git a/Main/MCEdit/Data/MCProject/nodeForm/LjLogForm.xml b/Main/MCEdit/Data/MCProject/nodeForm/LjLogForm.xml index bf27a87..accf864 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/LjLogForm.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/LjLogForm.xml @@ -1,8 +1,7 @@ - - + Red DarkGray @@ -21,8 +20,7 @@ 77, 12 - - + Red DarkGray @@ -54,8 +52,7 @@ True True False - - + Red DarkGray