diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index b855d81..2fb2d35 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -351,12 +351,12 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl } } - var a1 = PlcConnect.Instance.ReadFloat("MD3312").Content; - var b1 = PlcConnect.Instance.ReadFloat("MD3316").Content; + var a1 = PlcConnect.Instance.ReadFloat("DB211.92.0").Content; + var b1 = PlcConnect.Instance.ReadFloat("DB2119.6.0").Content; Other(HslLanternSimple3312, a1); Other(HslLanternSimple3316, b1); MCLabel3312.MCValue = a1.ToString("0.00") + " mg/m3"; - MCLabel3316.MCValue = b1.ToString("0.00") + "℃"; + MCLabel3316.MCValue = b1.ToString("0.00") + " ℃"; LineKindFlag += 1; if (LineKindFlag >= 300) diff --git a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml index 99454b0..c67666e 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml @@ -1,6 +1,24 @@ + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 1679, 75 + SpecialLabelBlue212 + 136, 1 + 1817, 570 Fish8 @@ -42,7 +60,7 @@ 7, 7 - 1906, 44 + 1661, 79 HslLanternSimple3316 15, 17 @@ -62,7 +80,7 @@ True 排风粉尘 ButtonFace - 1850, 43 + 1571, 77 MCLabel3316 53, 12 @@ -82,12 +100,12 @@ True 排风口温度 ButtonFace - 1784, 44 + 1488, 77 MCLabel269 65, 12 - 1906, 15 + 1661, 56 HslLanternSimple3312 15, 17 @@ -107,7 +125,7 @@ True 排风粉尘 ButtonFace - 1844, 17 + 1571, 56 MCLabel3312 53, 12 @@ -163,7 +181,7 @@ True 排风粉尘 ButtonFace - 1785, 16 + 1499, 56 MCLabel267 53, 12