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 @@
- 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