dep
杨威 5 months ago
parent ea89e4e276
commit 4779128fd2

@ -351,8 +351,8 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
} }
} }
var a1 = PlcConnect.Instance.ReadFloat("MD3312").Content; var a1 = PlcConnect.Instance.ReadFloat("DB211.92.0").Content;
var b1 = PlcConnect.Instance.ReadFloat("MD3316").Content; var b1 = PlcConnect.Instance.ReadFloat("DB2119.6.0").Content;
Other(HslLanternSimple3312, a1); Other(HslLanternSimple3312, a1);
Other(HslLanternSimple3316, b1); Other(HslLanternSimple3316, b1);
MCLabel3312.MCValue = a1.ToString("0.00") + " mg/m3"; MCLabel3312.MCValue = a1.ToString("0.00") + " mg/m3";

@ -1,6 +1,24 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MainDetail" children="Controls"> <Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MainDetail" children="Controls">
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="FeededGelM255" children="Controls"> <Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="FeededGelM255" children="Controls">
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue212" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="MCKey" />
<Property name="MCDataSourceID" />
<Property name="IsDbControl">False</Property>
<Property name="InitDataSource" />
<Property name="ActionDataSource" />
<Property name="BindDataSource" />
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="TextAlign">MiddleCenter</Property>
<Property name="BackColor">MintCream</Property>
<Property name="Location">1679, 75</Property>
<Property name="Name">SpecialLabelBlue212</Property>
<Property name="Size">136, 1</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Fish8" children="Controls"> <Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Fish8" children="Controls">
<Property name="Location">1817, 570</Property> <Property name="Location">1817, 570</Property>
<Property name="Name">Fish8</Property> <Property name="Name">Fish8</Property>
@ -42,7 +60,7 @@
<Property name="Size">7, 7</Property> <Property name="Size">7, 7</Property>
</Object> </Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslLanternSimple3316" children="Controls"> <Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslLanternSimple3316" children="Controls">
<Property name="Location">1906, 44</Property> <Property name="Location">1661, 79</Property>
<Property name="Name">HslLanternSimple3316</Property> <Property name="Name">HslLanternSimple3316</Property>
<Property name="Size">15, 17</Property> <Property name="Size">15, 17</Property>
</Object> </Object>
@ -62,7 +80,7 @@
<Property name="MCEnabled">True</Property> <Property name="MCEnabled">True</Property>
<Property name="Text">排风粉尘</Property> <Property name="Text">排风粉尘</Property>
<Property name="ForeColor">ButtonFace</Property> <Property name="ForeColor">ButtonFace</Property>
<Property name="Location">1850, 43</Property> <Property name="Location">1571, 77</Property>
<Property name="Name">MCLabel3316</Property> <Property name="Name">MCLabel3316</Property>
<Property name="Size">53, 12</Property> <Property name="Size">53, 12</Property>
</Object> </Object>
@ -82,12 +100,12 @@
<Property name="MCEnabled">True</Property> <Property name="MCEnabled">True</Property>
<Property name="Text">排风口温度</Property> <Property name="Text">排风口温度</Property>
<Property name="ForeColor">ButtonFace</Property> <Property name="ForeColor">ButtonFace</Property>
<Property name="Location">1784, 44</Property> <Property name="Location">1488, 77</Property>
<Property name="Name">MCLabel269</Property> <Property name="Name">MCLabel269</Property>
<Property name="Size">65, 12</Property> <Property name="Size">65, 12</Property>
</Object> </Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslLanternSimple3312" children="Controls"> <Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslLanternSimple3312" children="Controls">
<Property name="Location">1906, 15</Property> <Property name="Location">1661, 56</Property>
<Property name="Name">HslLanternSimple3312</Property> <Property name="Name">HslLanternSimple3312</Property>
<Property name="Size">15, 17</Property> <Property name="Size">15, 17</Property>
</Object> </Object>
@ -107,7 +125,7 @@
<Property name="MCEnabled">True</Property> <Property name="MCEnabled">True</Property>
<Property name="Text">排风粉尘</Property> <Property name="Text">排风粉尘</Property>
<Property name="ForeColor">ButtonFace</Property> <Property name="ForeColor">ButtonFace</Property>
<Property name="Location">1844, 17</Property> <Property name="Location">1571, 56</Property>
<Property name="Name">MCLabel3312</Property> <Property name="Name">MCLabel3312</Property>
<Property name="Size">53, 12</Property> <Property name="Size">53, 12</Property>
</Object> </Object>
@ -163,7 +181,7 @@
<Property name="MCEnabled">True</Property> <Property name="MCEnabled">True</Property>
<Property name="Text">排风粉尘</Property> <Property name="Text">排风粉尘</Property>
<Property name="ForeColor">ButtonFace</Property> <Property name="ForeColor">ButtonFace</Property>
<Property name="Location">1785, 16</Property> <Property name="Location">1499, 56</Property>
<Property name="Name">MCLabel267</Property> <Property name="Name">MCLabel267</Property>
<Property name="Size">53, 12</Property> <Property name="Size">53, 12</Property>
</Object> </Object>

Loading…
Cancel
Save